Top up with Midtrans (IDR)
Midtrans is an additional hosted checkout method when enabled. `POST /v1/billing/top-ups` with `{"method":"midtrans","currency":"IDR","amount":"400000"}` records an immutable personal invoice and retu
Midtrans is an additional hosted checkout method when enabled. POST /v1/billing/top-ups with {"method":"midtrans","currency":"IDR","amount":"400000"} records an immutable personal invoice and returns checkout_url (201), or the same saved invoice with unknown checkout submission (202). Native IDR payments add the exact whole-Rupiah amount to IDR credit; USDC funds a separate USD balance. Omitted currency preserves the legacy USD-credit checkout for compatible clients; its rate and promised credit remain fixed. Layerbeat absorbs processing fees. Solana remains the primary configured method.
Open the trusted hosted checkout URL to pay. Poll the stored payment or use POST /v1/billing/payments/{id}/refresh to verify/recover its original order. A browser return or signed callback alone never proves payment: authenticated gateway status must match the original order, merchant, IDR amount and successful settlement or accepted card capture. Duplicate callbacks cannot credit twice. Verified reversals require manual review and pause new personal purchases. Gateway details and safe retry states are described in the MidtransPayment schema.
Top up with Doit (IDR)
Doit is the primary configured Rupiah gateway. Use `POST /v1/billing/top-ups` with `{"method":"doit","currency":"IDR","amount":"400000"}`. Hosted checkout lets the payer select an available payment me
Asynchronous operations
Buying, deleting and power actions return `202 Accepted` with an operation. Poll `GET /v1/operations/{id}` until `status` is `succeeded` or `failed`. A failed operation has an `error` with a stable `c