Skip to main content

Overview

POST /partner/wallets/xaf-usd-conversion debits amount (in the source wallet’s currency) from the source wallet’s payin_balance, and credits the converted amount — minus any destination fee — to your USD wallet’s balance. Unlike the dashboard’s internal wallet-transfer flow, this endpoint takes only the amount: the exchange rate and fee are computed and applied entirely server-side, from your company’s configured rate and fee tables. There is nothing for you to calculate or pass in beyond the amount. Currently this is the only supported conversion corridor: XAF or XOF → USD. Other currency pairs are not available through this endpoint.

When to use it

  • Phase “fund your USD wallet” in an integration: convert local-currency float (XAF/XOF) into USD to fund card issuance.

Prerequisites

  • An active wallet in XAF or XOF with sufficient payin_balance, and an active USD wallet, both belonging to your company.
  • An exchange rate configured for your company.

Request

Headers

Body

Response

200 — Conversion successful

Error responses

Code examples

cURL
Node.js (axios)