Integration Flows
End-to-end sequence diagrams for Wallet, Onramp (Checkout), and Payout. Jump to a product:
Prerequisites
- Contact the BLOX team to enable API key access for sandbox and production
- Register a signer public key when your API key is created
- Use sandbox until your flow is verified
Auth: blox-api-key on every request; RFC 9421 signature on POST/PUT/PATCH/DELETE. See Authentication · Environments.
Wallet: transfer MYRC
Move MYRC from your BLOX wallet to an external address.
Loading diagram...
Steps
- Resolve
tokenIdfromGET /v1/wallet/networks. - Call
POST /v1/wallet/token/withdrawalswithtokenId,addressTo,amount(sen), optionalreference. See Create Token Transfer. - Monitor with
GET /v1/wallet/token/withdrawals/{id}; use the transaction list later for reconciliation.
Amount range: 1,000–100,000,000 sen (RM 10 – RM 1,000,000).
Wallet: fiat withdrawal
Withdraw MYR from your BLOX wallet to a linked bank account.
Loading diagram...
Steps
- List bank accounts with
GET /v1/wallet/bank-accounts. - Call
POST /v1/wallet/fiat/withdrawalswithbankAccountId,amount, optionalreference. See Create Fiat Withdrawal. - Monitor with
GET /v1/wallet/fiat/withdrawals/{id}; use the transaction list later for reconciliation.
Amount range: 1,000–100,000,000 sen (RM 10 – RM 1,000,000).
Onramp (Checkout)
Collect MYR via a BLOX checkout link and deliver MYRC to a destination address.
Loading diagram...
Steps
- Create checkout —
POST /v1/checkoutwithtype,addressTo,amount(sen, RM10–RM1M),tokenId,redirectUrl,title, optionaldescription. See Create checkout.typeis required:BLOX_ACCOUNT(no fee),FPX_HOSTED(addfeeMode; the buyer picks their bank on the BLOX page), orFPX_DIRECT(addfeeMode,buyerName,bank,bankType). - Send the customer to
checkoutUrlfrom the response. - Track status — poll
GET /v1/checkout/:idand/or handle the per-request checkout webhook.
Amount range: 1,000–100,000,000 sen (RM 10 – RM 1,000,000).
Payout API
Send bank payouts from a prefunded balance, on the same /v1 surface as Wallet and Onramp.
Loading diagram...
Steps
- Confirm prefund with
GET /v1/payout/prefund/balance. - Create a payout with
POST /v1/payouts(amountRM1–RM100k,feeMode, anIdempotency-Keyheader, exactly one ofbeneficiaryIdor inlinebeneficiary). See Create Payout. - Handle payout webhooks and/or poll
GET /v1/payouts/:id.
Amount range: 100–10,000,000 sen (RM 1 – RM 100,000).