Create a conversion
{baseUrl}/api/conversionsConverts funds between two of your currency balances. The source amount is debited immediately and the conversion completes in the background.
Authentication
Send your API key and a request signature on every call. Requests must also come from an IP address on your allowlist — see Authentication.
Headers
application/json, or multipart/form-data when the endpoint accepts a file.Body parameters
ngn, usd, gbp.ngn, usd, gbp.fromCurrency, in major units (e.g. 1600000 or "1600000.50").Behaviour
Your business must have completed KYC verification.
The response returns straight away with status processing. Poll Get a conversion until it is completed — the converted amount is then in your toCurrency balance. If a conversion fails, the debited amount is refunded.
This endpoint has no idempotency key. If a request times out, check List conversions before retrying, or you may convert twice.
Response
data confirms the conversion was accepted. Every response is wrapped in the standard envelope.
processing when accepted.Errors
Errors specific to this endpoint:
data.errors lists each problem.fromCurrency balance is lower than amount.quoteCode doesn't exist.expiresAt.fromCurrency/toCurrency.Plus the errors every endpoint can return — authentication, signing, rate limiting and server errors. See Responses & errors.
