Fiat Off-Ramp: Withdraw USDC to Your Bank Account

Turn the USDC in your BXNK balance into money in your own bank account, in a local currency such as EUR, GBP or AED. This is the bank-transfer off-ramp: USDC out, fiat into your bank.

All of it runs server to server with your Product API token. There is no email code or authenticator step. Instead, payouts are protected in other ways:

  • You can only pay out to bank accounts that BXNK has approved.
  • Every payout needs an Idempotency-Key, so a retry never pays twice.
  • Your API key's mode must match the environment: a TEST key in sandbox, a LIVE key in production.

The flow at a glance

  1. Check currencies: see which currencies you can be paid out in.
  2. Get the bank form: find out which bank details are needed for that currency.
  3. Pick your bank (some countries only): choose it from a list.
  4. Register your bank account. It starts as pending.
  5. BXNK approves the account. This happens on BXNK's side, not through the API.
  6. Find the approved account and its id.
  7. Optional estimate: get an FX quote.
  8. Create the payout.
  9. Track the payout until it is completed.

Steps 1 to 6 are done once per bank account. After that, each withdrawal is just steps 7 to 9.

Before you start

  • Product API credentials. Use the same access key and secret as for payments. Get a token with POST /api/v1/product-apis/auth/token and send it as Authorization: Bearer <accessToken> on every call below. See Authentication.
  • Payout currencies switched on. Ask your BXNK contact to switch on the currencies you want to be paid out in.
  • A USDC balance. You need USDC in your BXNK balance; you can check it with GET /api/v1/product-apis/psp/balances/assets.

Step 1. Check which currencies you can be paid out in

GET /api/v1/product-apis/account-currencies?type=withdraw
Authorization: Bearer <accessToken>

Use a currency only when its entry has isWithdrawalEnabled: true. See List account currencies.

Step 2. Get the bank details form for the currency

GET /api/v1/product-apis/recipient-schemas?currency=EUR
Authorization: Bearer <accessToken>

The response lists one or more schemas. A schema is a type of bank account, for example bank_sepa for a euro IBAN or bank_swift for an international SWIFT account. Each schema has a list of fields.

  • Let the user pick a schema if there is more than one.
  • Build your form from that schema's fields.
  • Read List recipient schemas for how to read required, requiredIf, excludedUnless and oneOf.

Step 3 (some countries only). Pick the bank

If the schema has a field of type financial_institution (usually called financialInstitutionId), the user must pick their bank from a list:

GET /api/v1/product-apis/financial-institutions?country=NGA&schema=bank_africa&search=access
Authorization: Bearer <accessToken>

Send the chosen bank's id as details.financialInstitutionId in Step 4. See List financial institutions.

Step 4. Register your bank account

POST /api/v1/product-apis/recipients
Authorization: Bearer <accessToken>
Content-Type: application/json
{
  "name": "Acme Payments GmbH",
  "currencyOut": "EUR",
  "details": {
    "schema": "bank_sepa",
    "accountType": "business",
    "companyName": "Acme Payments GmbH",
    "IBAN": "DE89370400440532013000"
  }
}

The bank account is checked straight away. If something is missing or wrong, you get a 400 that lists every problem. If it passes, it is saved with status: "pending". Sending the same bank account again returns the same record instead of creating a duplicate. See Register a bank account.

Step 5. Wait for BXNK to approve it

BXNK reviews every new bank account; you don't call anything for this. Once it is reviewed, the account's status changes:

  • approved: you can pay out to it.
  • rejected: you can't use it. rejectionReason says why. Correct the details and register the account again (Step 4).

Step 6. Find the approved bank account

GET /api/v1/product-apis/recipients?status=approved&currency=EUR
Authorization: Bearer <accessToken>

Keep the id of the account you want to pay out to. See List bank accounts.

Step 7 (optional). Estimate how much fiat you'll receive

POST /api/v1/product-apis/fx/quote
Authorization: Bearer <accessToken>
Content-Type: application/json
{
  "currencyIn": "USDC",
  "currencyOut": "EUR",
  "amountIn": "250"
}

This is an estimate only. The payout itself is converted at the rate in effect when the USDC is received, so the final amount can be slightly different. You see the final amount in the payout's amountOut once it is completed.

Step 8. Create the payout

POST /api/v1/product-apis/payouts
Authorization: Bearer <accessToken>
Content-Type: application/json
Idempotency-Key: payout-2026-11-04-0001
{
  "recipientId": 17,
  "amount": "250"
}
  • amount is in USDC, as a decimal string. The minimum is 1.
  • The USDC is taken from your balance immediately.
  • Idempotency-Key is required. Use a new, unique key for each payout. If the request fails or times out, send it again with the same key and the same body: you get the same payout back, and you are never paid twice.

See Create a payout.

Step 9. Track the payout

GET /api/v1/product-apis/payouts/{payoutId}
Authorization: Bearer <accessToken>

Each call returns the payout's current status, refreshed at most once every 30 seconds. There are no payout webhooks yet, so check every few minutes, increasing the wait between checks, until the status is completed, failed or manual_review.

StatusWhat it meansFinal?
pendingYour balance was debited and the USDC transfer is being created.No
sentThe USDC is on its way.No
processingThe money is being paid into your bank account.No
completedThe fiat has been paid. amountOut shows how much was paid.Yes
failedThe USDC was never sent and your balance has been restored. You can try again with a new Idempotency-Key.Yes
manual_reviewThe bank payment did not complete. BXNK will contact you; do not create the payout again.Yes, until BXNK resolves it

See Get a payout.

Errors

StatusWhen it happensWhat to do
400Idempotency-Key header missing.Send a unique key with every payout.
400The bank account is not approved yet, or was rejected.Wait for approval (Step 5), or register it again.
400amount is below the minimum of 1 USDC, has too many decimals, or is more than your available balance.Fix the amount; check your balance first.
400The currency is no longer switched on for payouts.Ask your BXNK contact.
400Bank details don't fit the schema when registering an account. The message lists every problem.Fix the fields named in the message.
401The access token is missing or has expired.Get a new token.
401The API key was revoked or has expired (checked on every payout and bank-account registration).Use an active key.
403Your API key's mode (TEST or LIVE) doesn't match the environment.Use a TEST key in sandbox and a LIVE key in production.
404The bank account id isn't one of yours, or the payout doesn't exist.Check the id (Step 6).
409The same Idempotency-Key was used with a different body, or the same request is still being processed.Use a new key for a new payout; for a retry, send exactly the same body.
409The bank account is approved but not ready for payouts yet.Try again shortly or contact BXNK support.
409When registering: the same bank account is already registered for another currency, schema or rail.Use the existing account, or register it with the same currency and schema.
503Our banking partner is temporarily unreachable.Try again later with the same Idempotency-Key.

Sandbox and live

  • Sandbox (https://sandbox-api.bxnk.com, TEST API key) runs the whole flow against test banking.
  • Production uses a LIVE API key and moves real money.
  • Using a key of the wrong mode for registering a bank account or creating a payout returns 403.