Request Authentication
Every request sent to the A1Pay API must carry the following in the request header
Header Parameters
APIKey: This is the API Key from the developer section in your A1Pay dashboard
Hash: This is a SHA256 representation of your APIKey concatenated with your SecretKey also found in your A1Pay dashboard. So you would have something like:
var MyHash = SHA256(APIKey + SecretKey);
token: This is the Token provided after successful user login
All requests to the A1Pay API endpoint must carry these authentication parameters or they will be returned with the error message: "Unauthorized Request"
Last updated