Flow examples
End-to-end walkthroughs of the order shapes the API supports.
Every order has a deposit leg (what comes in) and a payout leg (what goes out). The pair you pick decides the flow. Each walkthrough below runs the same core calls — currencies, limits, KYC, quote, order, confirm — with the values for that pair filled in.
crypto
fiat
A user sends crypto and receives local currency in their bank or mobile money account.
fiat
merchant_balance
A user pays local currency and you are credited in USD. Collections.
merchant_balance
fiat
You spend your USD balance to pay a user in local currency. Payouts and disbursements.
There is a sixth legal pair, merchant balance to crypto — spending your USD balance to send a user crypto. It works the same way as the others and has no walkthrough of its own yet; follow Merchant balance to Fiat and swap the payout leg for a crypto one.
Which pairs are legal is not guesswork: every entry from Get available currencies carries a pairs array listing the currency types it can be matched with.
Before you follow one of these, read Integration guide for the call sequence and Transfer types explanation for what the user has to do once the order exists.

