Skip to main content
Quotes are valid for 3 minutes from creation. After that, they expire and transfers can no longer be created from them. Create the transfer before the quote expires. The quoted rate is honoured for the remainder of the same 3-minute quote validity window; creating a transfer does not restart it. For transfers involving deposits, ensure the deposit is received within the same quote validity window. Deposits received outside that window are settled at the market rate. Check the quote’s expires_at before creating the transfer. The transfer does not start a new quote validity window.
This example shows you how to buy and sell USD with either fiat currency or cryptocurrency using Busha’s API.

Use Cases

  • Convert local currency to USD
  • Convert stablecoins to USD
  • Convert USD to local currency
  • International payments
  • USD savings and liquidity management

Buy USD

Buy USD with Fiat

Buy USD with 50,000 NGN via Bank Transfer

1

Get a Quote

Create a quote with temporary bank account funding:
2

Create the Transfer

Use the quote ID to get temporary bank details:
Important: Transfer exactly ₦50,000 to the provided bank account and ensure the deposit is received before the quote’s 3-minute validity window ends to honour the quoted rate. Deposits received outside that window are settled at the market rate. The USD will be credited to your balance once payment is confirmed.
3

Check Transfer Status

Monitor the transfer to confirm the purchase completed successfully:

Other Examples

Buy USD with NGN from Balance

Buy USD with Crypto

Convert 100 USDT to USD from Balance

1

Get a Quote

Create a quote to see the exchange rate:
2

Create the Transfer

Use the quote ID to finalize the conversion:
3

Check Transfer Status

Monitor the transfer to confirm completion:

Other Examples

Buy USD with USDC from Balance

Sell USD

Sell USD for Fiat

Convert 50 USD to NGN

1

Get a Quote

Create a quote to see the exchange rate:
2

Create the Transfer

Use the quote ID to finalize the conversion:
3

Check Transfer Status

Monitor the transfer to confirm completion:

Sell USD for Crypto

Convert 50 USD to USDT

1

Get a Quote

Create a quote to see the exchange rate:
2

Create the Transfer

Use the quote ID to finalize the conversion:
3

Check Transfer Status

Monitor the transfer to confirm completion:

Learn More