Payment Details
To make this request, send an authenticated request to the fetchtrans endpoint.
Get details of a transaction
GET
https://api.oneappgo.com/v1/business/fetchtrans
Path Parameters
Name
Type
Description
reference*
String
Take a look at how you might do this:
curl --location --request GET 'https://api.oneappgo.com/v1/business/fetchtrans?reference=63490b1643370903287' \
--header 'Authorization: Bearer YOUR_SECRET_KEY'
Sample response
{
"status": true,
"message": "Successful",
"transtatus": "Completed",
"transid": "1000865",
"ownerid": "63490",
"amount": "300.00",
"amount_settled": "292.80",
"transfee": "7.20",
"prevbal": "5118.75",
"newbal": "5411.55",
"currency": "NGN",
"reference": "63490b1643370903287",
"customer_reference": "2910_1643370902",
"transaction_token": "cfda35a0d3a970fd47c57eda6c230ba1",
"customer_email": "[email protected]",
"customer_phone": "",
"customer_name": " ",
"payment_channel": "rave",
"paid_through": "api",
"mode": "test",
"attempt": 1,
"cardtype": "",
"country": "",
"cardnumber": "",
"bankname": "",
"errors": 0,
"payment_time": "28, Fri. Jan. 2022",
"gateway": "Flutterwave",
"gatewaylogo": "https://business.1app.online/app/img/flutter.png",
"statustext": "Completed",
"time_elapsed": "00:58"
}
Last updated
Was this helpful?