Verify Payment
To make this request, send an authenticated request to the verify endpoint.
Verify a transaction
POST
https://api.oneappgo.com/v1/business/verifytrans
Request Body
Name
Type
Description
reference*
String
Transaction reference
Your secret keys are to be kept secret and only stored on your servers. Do not pass your secret key to front end language where it can be exploited.
Take a look at how you might do this:
curl --location --request POST 'https://api.oneappgo.com/v1/business/verifytrans' \
--header 'Authorization: Bearer YOUR_SECRET_KEY' \
--form 'reference="634967hg599287"'
Sample response
{
"status": true,
"message": "Successful",
"reference": ""
"data": {
"responsecode": "01",
"trans_status": "Successful",
"amount": "150000.00",
"charged_amount": "150000.00",
"amount_settled": "150000.00",
"fee":"0.00",
"mode": "live environment",
"env":"live",
"payment_timestamp": "1694387652",
"currency": "NGN",
"reference": "63490b1f59287",
"customer_reference": "2913_1643371498",
"transaction_token": "c31f54f3b7986a92d04d1699f51227b3",
"customer_email": "[email protected]",
"customer_name": "",
"payment_channel": "paystack",
"paid_through": "api",
"payment_time": "28 Jan 2022 01:04"
}
}
Last updated
Was this helpful?