Check FX Rate

Check current foreign exchange rates by hitting this endpoint. It is particularly useful for international payouts where currency conversion is necessary.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

The "rate" parameter in the Check Foreign Exchange API response indicates the conversion rate from the source currency to the destination currency. For example, a rate of "7.1026254" means that 1 unit of USD converts to 7.1026254 units of CNY.

Body Params
string
required
Defaults to USD

the type of currency to be converted.

string
Defaults to CNY

the converted currency

string
required
Defaults to 202570

Merchant ID in Pockyt's system. A unique value generated by Pockyt during the onboarding process.

string
required
Defaults to 301945

Store Number in Pockyt's system. A unique value created and assigned by Pockyt's systems when a new store is created under a merchant

string
required
Defaults to 2023-02-13T11:50:58Z

Current UTC time, correct format should be "yyyy-mm-ddTHH:MM:SSZ"

string
required
Defaults to {{current_time}}

The parameter signature. It is the calculated MD5 hash value of the API token used to encrypt the request message and authorize transaction requests. For more information, visit Signing API Parameters

Response

Language
LoadingLoading…
Response
Choose an example:
application/json