Authenticate with confidence.
Axiron uses a Bearer token to identify your integration and an HMAC-SHA256 signature to verify the request.
Your credentials#
AuthorizationSend Bearer YOUR_TOKEN in the Authorization header. Keep credentials on your server.
signatureUse the lowercase signature header for the hexadecimal HMAC-SHA256 digest computed with your secret key.
Sign the exact payload#
Serialize once
Create a compact JSON body without additional spaces.
Calculate the digest
Use HMAC-SHA256 with your secret key and the serialized body.
Send the same bytes
Send that exact body with your token and signature. Changing the body after signing invalidates the signature.
Follow the balance endpoint’s example for signing a GET request. Do not infer its signing input from POST requests. View the balance example →
If you receive 401#
Check the token, merchant activation, signature header and exact serialized payload. Never expose the secret key in browser code or logs.