- 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 An invalid recipient account returns
Idempotency-Key unique to this payout so a retry never creates a second order.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.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 aninstitution 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.
