Request Authorization

Authorization header

To authorize each API request, you will need to transmit your API KEY in the Authorization header as follows:

Authorization: Token <API KEY>

Example of request with a token

An example of using the Authorization header in an API request:

curl -X POST https://api.cryptocloud.plus/v1/invoice/create \
-header "Authorization: Token eyJ0eXAi1iJKV1QiLCJhbGciOiJIAcI1NiJ9.eyJpZCI6MTMsImV4cCI6MTYzMTc4NjQyNn0.HQavV3z8dFnk56bX3MSY5X9lR6qVa9YhAoeTEH"

Possible errors

Response codeError keyError description

401

Unauthenticated

Incorrect API KEY

Example of response with an error

{
  "message": "Unauthenticated."
}

Last updated