Exchanges a store's client_id and client_secret for its API key, which can then be used as the Bearer token for authenticated requests.
Security
ApiKey
- Developmenthttps://docs.xmoney.com/_mock/crypto_api/reference/stores/session
- Production server (live)https://merchants.api.crypto.xmoney.com/api/stores/session
- Sandbox server (test)https://merchants.api.sandbox.crypto.xmoney.com/api/stores/session
curl -i -X POST \
https://docs.xmoney.com/_mock/crypto_api/reference/stores/session \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/vnd.api+json' \
-d '{}'Response
{ "data": { "type": "session", "id": "string", "attributes": { … } } }