Fiat -> Crypto

Let’s do an NGN (fiat) deposit to POLYGON_USDT (crypto) payout. First, call Get available currencies and assume you receive:

We see NGN supports deposit via bank/airtime/mobile money, and payout via bank/mobile money. POLYGON_USDT supports both deposit and payout. So we can do Fiat → Crypto (NGN → POLYGON_USDT).

Next, call Get order limits with the next query params:

  • depositPaymentChannel: "bank"

  • depositCurrencyType: "fiat"

  • depositCurrencyCode: "NGN"

  • depositCountryIsoCode: "NG"

  • payoutPaymentChannel: "crypto"

  • payoutCurrencyType: "crypto"

  • payoutCurrencyCode: "POLYGON_USDT"

Assume the user wants to receive 100 POLYGON_USDT. Validate their tier using the KYC requirements flow.

Then Create quote:

To receive 100 POLYGON_USDT, user must deposit 153128 NGN. Collect these fields:

  • phoneNumber

  • bankCode (from enum options)

  • bankAccountNumber

  • blockchainWalletAddress

Create the order via Create order:

A user makes the transfer with the exact amount and reference. Then call Confirm order if no extra fields are required:

The system validates the deposit and processes payout. Use Get order to track status until "payout_successful".

Last updated