v1

latestOpenAPI 3.0.22026-07-26123510445.2 KB
Conversion

List Conversion Dates

List one week of available conversion dates for the specified from_currency and token_currency.

get/v1/conversion/conversion_dates

Query parameters

currency_fromstring required
Example:USD

The currency being sold in the conversion. This is the source currency that will be exchanged. Currency codes follow the ISO 4217 standard.

currency_tostring required
Example:SGD

The currency being purchased in the conversion. This is the target currency that will be received after the exchange. Currency codes follow the ISO 4217 standard.

Headers

x-on-behalf-ofstring

Specifies the sub-account on whose behalf the request is made. This should be set to the account_id, which can be retrieved via the List Connected Accounts API. If omitted or empty, the request is executed using the master account. More information at Connected Accounts.

Response

OK - Successfully listed available conversion date.

datestring required

The available conversion date. This represents a specific date when a currency conversion can be executed.

validboolean required

Whether this date is available for conversion.

Example response

[
  {
    "date": "2024-08-26",
    "valid": true
  }
]