Initialize Payment
Once user is ready to make payment on your website or app, follow the instructions here to redirect user with payment payload to A1Pay for payment processing.
Start Payment
POST https://a1pay.net/api/merchantapi/initialize-payment
Make a call to the endpoint above and pass the payload below in the request body
Request Headers
Request Body
transType
string
Short description of the type of transaction e.g School Fees
customerName
string
User's full name concatenated as firstName + space + lastName
paymentReference
string
Your unique transaction reference.
phoneNumber
string
User's Phone number
emailAddress
string
User's email address
amount
number
How much the user is expected to pay for the goods or service in Naira not Kobo. Ensure the value is formatted as currency having two decimal points.
Always ensure to call the A1Pay Query secure endpoint to confirm the transaction status received by the ReturnURL, this is the recommended practice to prevent malicious users from circumventing your system.
Last updated