Skip to main content
This guide pays 10 USDC to a Kenyan M-Pesa number, then covers Nigerian bank payouts. Prerequisites:
  • An API key with off-ramp enabled. See getting access.
  • A wallet with USDC on Base.
1

Quote the payout

Include the recipient to verify the account and get its registered name in the same call.
recipient_amount is what the recipient receives. deposit_submission_required is false, so this is an automatic order: the fee is added to what you send.
2

Create the order

Send an Idempotency-Key unique to this payout so a retry never creates a second order.
An invalid recipient account returns 422 and no order is created.
3

Send USDC on Base

Transfer exactly total_deposit_usdc USDC on Base to deposit_address before expires_at.
Automatic orders expire within minutes, and a short deposit is returned to refund_address. Create the order when you’re ready to send. Send-and-confirm orders allow 30 minutes.
4

Confirm your transfer (only if asked)

Skip this step when deposit_submission_required is false. When it’s true, submit the transaction hash:
200 with "status": "settling" means the payout started. 422 means the transfer couldn’t be verified. Check the amount, network, and hash, then retry.
5

Check it's done

Wait for the webhook, or get the order:
On payout, status is completed and offramp.completed is sent. See off-ramp webhooks.

NGN payouts

NGN orders pay out to bank accounts. The recipient takes an institution code and an account_number. See recipients. Get codes from GET /api/offramp/institutions rather than hard-coding them.
Automatic orders fix the rate at creation and expire within minutes. If an order expires, create a new one. If a payout fails after you send, the USDC is returned to refund_address.