πAuth Token
POST https://api.agilizepay.com/auth/token
How use your Auth Token in requests http
Before making any request to the integration APIs, you need to include the Client ID in the request header using the client_id parameter and cert_client. The cert_client key should be encoded in base64 format.
SUMMARY:
CERT_CLIENT = Your certificate public key encoded in base64
CLIENT_ID = Your client_id can be found within the dashboard.
const cert_client = 'cert_client' + Buffer.from('cert_client').toString('base64');Here is an example of how to use your API Key in a CURL command, which demonstrates including the API Key in the header. You can also use this example for making requests via Postman.
1. CURL
curl --request POST \
--url https://api.agilizepay.com/auth/token
--header 'Accept: application/json' \
--header 'client_id: {CLIENT_ID}'
--header 'cert_client: {cert_client}' -- toBase64ATTENTION: Monitor the requests and try making new token requests every 3600 SECONDS.
Finally, if the API Key is not informed and/or is invalid, requests will issue a 403 error with the return:
Last updated