curl --request GET \
--url https://sandbox.dollarpe.xyz/pos/api/v1/payout/fetch-rate \
--header 'X-API-KEY: <api-key>' \
--header 'X-SIGNATURE: <api-key>' \
--header 'X-TIMESTAMP: <api-key>'{
"status": true,
"message": "Success",
"data": {
"asset": "USDT",
"fiat": "INR",
"rate": 87.2
}
}Fetch exchange rate in fiat for a given asset
curl --request GET \
--url https://sandbox.dollarpe.xyz/pos/api/v1/payout/fetch-rate \
--header 'X-API-KEY: <api-key>' \
--header 'X-SIGNATURE: <api-key>' \
--header 'X-TIMESTAMP: <api-key>'{
"status": true,
"message": "Success",
"data": {
"asset": "USDT",
"fiat": "INR",
"rate": 87.2
}
}| API Status Code | Response | Reason |
|---|---|---|
| 500 | Internal Server Error. | Internal Server Error |
API Key for authentication
Current timestamp in seconds since epoch
HMAC SHA256 signature of the request encoded in Base64
The crypto asset for which quotation is requested
"USDT"
The fiat currency in which the quotation is requested
"INR"