Basic Request Structure
- Method: POST
- Data format: JSON
- Encoding: UTF-8
- Signature: base64( ed25519_sign( data, PRIVATE_KEY ) )
Signature Types
ED25519 (Recommended)
- Create a payload object:
id, delivered_at, event - JSON.stringify(payload)
- Encode the JSON string to Base64
- Sign using ED25519 (ed25519.signAsync)
- Encode the signature to Base64
Legacy (Deprecated)
- Create a payload object:
id, delivered_at, event - JSON.stringify(payload)
- Encode the JSON string to Base64
- SHA256 hash (privateKey + data)
- Encode the hash to Base64
External Link for Exchange Rates
URL:https://rates.crypto-cash.world/api/v1/market/rates/export/xml
URL: https://rates.crypto-cash.world/api/v1/market/rates/export/json
Transaction Statuses in API Responses
- Queued
- New
- Waiting
- Paid
- Underpaid
- Overpaid
- Canceled
- AMLFrozen
- CurrencyMismatch
- CanceledButPaid
- CanceledButOverpaid
- CanceledButUnderpaid
Errors
If an error occurs, the response will return a list of error codes. Example error response:Error list:
- 1000 - Invalid request
- 2010 - Data decoding error
- 2011 - Signature decoding error
- 2020 - Invalid signature
- 3000 - Company not found
- 3001 - Order not found
- 3002 - Transaction not found
- 4003 - Account not activated
Crypto API
Main requests