Skip to main content
POST
/
payout
/
accounts
/
quote
Get a payment quote (MXN → USD)
curl --request POST \
  --url http://localhost:4000/v1/payout/accounts/quote \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "source_currency": "mxn",
  "destination_currency": "usd",
  "source_amount": "10000.00",
  "destination_amount": "50.00"
}
'

Authorizations

Authorization
string
header
required

Use this format: ApiKey <your_api_key>

Body

application/json
source_currency
enum<string>
required

Source currency code

Available options:
usd,
eur,
mxn,
brl,
gbp
Example:

"mxn"

destination_currency
enum<string>
required

Destination currency code

Available options:
usd,
eur,
mxn,
brl,
gbp
Example:

"usd"

source_amount
string

Amount in source currency as a decimal string. Provide this OR destination_amount, not both.

Example:

"10000.00"

destination_amount
string

Desired amount in destination currency as a decimal string. Provide this OR source_amount, not both.

Example:

"50.00"

Response

200

Quote returned successfully