Header | Description |
---|---|
Authorization | API key obtained on the Copper Platform |
X-Signature | Signature of your request |
X-Timestamp | Timestamp of your request in UNIX Timestamp format (in milliseconds) |
Concatenate the following strings:
X-Timestamp
headerplatform
prefix and all additional parameters (e.g., /platform/orders?limit=1000
)"$timestamp${req.method.value.toUpperCase}${req.uri}${body.data.utf8}"
For example:
1730482675607POST/platform/orders{"orderType":"withdraw","amount":"1.0"}
Sign the concatenated string with your API Secret using the HMAC SHA256 method
Encode the generated signature in hexadecimal format