Authorization
Last updated
Was this helpful?
Last updated
Was this helpful?
Authentication is done using an API key and a secret key. To generate this pair, read .
As an example, we will use the "/payment/v1/requestPaymentAddress" endpoint to show how to authenticate. This can be used for all endpoints that requires authentication.
These are encoded as HTTP headers named:
x-nonce
x-api-key
x-signature
HTTP401 usually happens when invalid auth credentials are in the request auth headers. You will also receive 401 when nonce
in calculating auth credentials are outdated.
HTTP403 usually happens when a request is blocked by IP whitelist or an incorrect URL/HTTP method.