get
https://api.durianpay.id/v1.0/global/rates
The following endpoint retrieves the indicative rates of the destination currencies.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
- A rate is a preview only. The rate has no
expiresAt. - This call does not create a quote and does not lock the price.
rateis 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,datadoes not include a currency that has no current rate. - If you send
destinationCurrencyand Durianpay cannot give a rate for it now, the API returnsRATE_UNAVAILABLE(4030026). The error has noretriablefield. Call the API withoutdestinationCurrencyto see the currencies that have a rate now. See Response Code Handling. - The response has every item in
data, with no pagination.
