Skip to main content
POST
cURL

Headers

Authorization
string
required

Bearer token for authentication.

Example:

"Bearer <token>"

accountId
string
required

The parent accountId of the business.

Example:

"890022ce-bae0-45c1-9b9d-ee7872e6ca27"

Body

application/json

Currency conversion payload

amount
number
required
Example:

15

currency
string
required

ISO 4217 source currency code.

Example:

"USD"

destinationCurrency
string
required

ISO 4217 destination currency code.

Example:

"EUR"

transactionType
string
required
Example:

"EXCHANGE"

Response

200 - application/json

Conversion calculated successfully.

code
string
Example:

"00"

description
string
Example:

"Successful"

data
object