Creates a short-lived (60 second) exchange-rate quote between two currencies. For crypto quotes, from must be a crypto currency the store accepts and to must be a supported settlement currency.
Security
ApiKey
- Developmenthttps://docs.xmoney.com/_mock/crypto_api/reference/stores/exchange_rates
- Production server (live)https://merchants.api.crypto.xmoney.com/api/stores/exchange_rates
- Sandbox server (test)https://merchants.api.sandbox.crypto.xmoney.com/api/stores/exchange_rates
curl -i -X POST \
https://docs.xmoney.com/_mock/crypto_api/reference/stores/exchange_rates \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/vnd.api+json' \
-d '{}'Response
{ "data": { "type": "exchange_rates", "id": "c8d65cc2-0c82-429a-95ea-3f65011fc2cc", "attributes": { … } } }