a1pay
  • Introduction
  • Request Authentication
  • User Login
  • User Signup
  • List User's Transactions
  • Initialize Payment
  • List User's Cards
  • Query a Transaction
  • Requery a Transaction
  • Charge Card
  • OTP Validation
  • Accept Payment Using A1Pay
    • Introduction
    • Initialize Payment
    • Query Status With Your Reference
    • Query Status With A1Pay Reference
    • Sample Integration Codes
Powered by GitBook
On this page

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"

PreviousIntroductionNextUser Login

Last updated 5 years ago