Fetch Indicative Rates

The following endpoint retrieves the indicative rates of the destination currencies.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
  • A rate is a preview only. The rate has no expiresAt.
  • This call does not create a quote and does not lock the price.
  • rate is the IDR amount for one unit of the destination currency. It includes the FX margin. It does not include the fee.
  • The rate does not use the country, the payout rail or the beneficiary type. A quote uses them. So the price of a quote can be different from the preview.
  • To get the final price and the fee, call the Create Quote API.
  • If you do not send destinationCurrency, data does not include a currency that has no current rate.
  • If you send destinationCurrency and Durianpay cannot give a rate for it now, the API returns RATE_UNAVAILABLE (4030026). The error has no retriable field. Call the API without destinationCurrency to see the currencies that have a rate now. See Response Code Handling.
  • The response has every item in data, with no pagination.
Query Params
string

Default IDR. V1 accepts only IDR.

string

Get the rate of this currency only. Without it, you get one rate for each currency of the corridors in the corridor list.

Headers
string
required

The request time, RFC 3339 with an offset.

string
required

HMAC-SHA512 of the string to sign, with your client secret as the key, in standard base64.

string
required

Your SNAP client key. It must match the token.

string
required

Required. Use a unique ID for each request. It is not an idempotency key: see Idempotency.

string
required

Required. Any non-empty value is accepted, for example 95221.

Responses

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