Get FX Quote

This endpoint generates a secure currency exchange quote, locking in the FX rate, validity time frame, and a unique token for payment processing. By default, quotes refresh every 60 seconds, but custom frequencies from one minute to one day are available upon request to match your operational needs.

Supported use cases:
- Payin (DCC) : lock the rate before collecting a payment from your user.
- Payout (DCC) : lock the rate before sending a payment to a beneficiary.
- Bulk Exchange : lock the rate before converting funds between your own accounts.
For a full explanation of when and why to use each option, see FX Overview.

Path Params
string
enum
required

Transaction type.

Allowed:
Query Params
string
required

Currency you want to convert from. Currency codes. Stablecoins USDC and USDT are supported.

string
required

Currency you want to convert to. Currency codes.

string
required

Your Localpayment account that holds the source currency (the account to be debited). Must be different from quoteAccountNumber.

string
required

Your Localpayment account that holds the target currency (the account to be credited). Must be different from accountNumber.

Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json