Auth Transactions and Earn
Last updated
Last updated
At Criptan, we prioritize security, and our API is no exception. To make authenticated API requests, you'll need to utilize (JSON Web Token) authentication. Here's how it works:
Authentication Header:
Include the Authentication
header in your API requests. The header should contain the value Bearer
followed by your unique id_token
.
Obtaining the id_token:
To obtain the necessary id_token
for authentication, follow the steps outlined in our authentication API, as described .
Handling Authentication Failures:
In the event of authentication failure, our API will respond with a JSON object containing an error message. The HTTP status code will be 401, indicating an unauthorized request.
By implementing JWT authentication, we ensure the highest level of security for your API interactions with Criptan. Your data and transactions are protected, providing peace of mind as you navigate the world of cryptocurrency.