sandbox. test money only
Protocol

Payment simulator

Pretend Midtrans sent a notification for one of your sandbox orders. Protocol builds a genuinely-signed Midtrans notification and runs it through the exact pipeline a real payment takes, so the webhook your server receives is a real one, produced by the real code. If it works here, it works in production.

Get an order_id by calling POST /v1/charge with your sandbox API key.

Transitions are forward-only: an order that is already paid cannot be moved again. Simulate the outcome you want first time.