Skip to main content
Scenario: Ada wants to buy USDC with ₦50,000. She’ll pay by bank transfer and receive USDC on Solana.
1

Onboard Ada (once)

Save id (for example cus_4hT9pL2mQx8VnR3tY7wZ1cB5dE). Skip this step if Ada is already a customer.
2

Get a quote

Show Ada quote.target_amount (how much USDC she gets). When she confirms, go straight to the next step: the quote lasts about 20 seconds.
3

Create the onramp

If you get quote_expired, refresh the quote and try again.
4

Show Ada where to pay

From the response, show:
  • payment.deposit.details.bank_name
  • payment.deposit.details.account_number
  • payment.deposit.details.account_name
  • payment.deposit.amount_expected: the exact amount to send
Tell her to pay within 30 minutes.
5

Handle the webhooks

6

Show the blockchain receipt

After completed, call Get a payment and show Ada the transaction_hash.

Using USDT or another network

Change target_currency to USDT, and network to any supported network. The wallet’s currency and network must match.
Last modified on October 29, 2026