Skip to main content
POST
/
v1
/
quotes
Get an FX quote
curl --request POST \
  --url http://localhost:8080/v1/quotes \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "source_currency": "USD",
  "dest_currency": "EUR",
  "amount": "1000.00",
  "method": "bank_transfer"
}
'
{
  "exchange_rate": "<string>",
  "source_amount": "<string>",
  "dest_amount": "<string>",
  "fee": "<string>",
  "fee_currency": "<string>",
  "expires_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Merchant API key: ak_live_... or ak_test_...

Body

application/json
source_currency
string
required
Example:

"USD"

dest_currency
string
required
Example:

"EUR"

amount
string
required

Decimal amount

Example:

"1000.00"

method
string
Example:

"bank_transfer"

Response

200 - application/json

Quote details

exchange_rate
string
source_amount
string
dest_amount
string
fee
string
fee_currency
string
expires_at
string<date-time>