πTransaction Status
This allows a merchant to check for the current status of a transaction by providing a transaction identifier. A query to this endpoint returns the status of a mobile money or an online checkout transaction along with extra transaction data
GET https://api.pay.tapngogh.com/payment/check_transaction
Query Parameters
Name
Type
Description
reference*
String
Reference of the transaction
Headers
Name
Type
Description
Authorization*
String
Merchant Authorization key
{
"_id": "6378df8e7c21742154328cb6",
"amount": 1,
"fees": 0.01,
"status": "success",
"requestType": "direct",
"merchant": "62c1ad1e5793ac631fc58ef3",
"description": "test-description",
"reference": "test-reference-4787823576",
"callBackUrl": "https://api.hyper.itmsgh.com/api/payment/callback/test",
"customerEmail": "",
"customerName": "",
"customerPhone": "0548215801",
"requestInfo": {
"Message": "Transaction pending. Expect callback request for final state.",
"ResponseCode": "0001",
"Data": {
"TransactionId": "8dcdfc7a64c040e4ad5be610323d3993",
"Description": "test-description",
"ClientReference": "test-reference-4787823576",
"Amount": 1.01,
"Charges": 0.02,
"AmountAfterCharges": 0.99,
"AmountCharged": 1.01,
"DeliveryFee": 0
}
},
"createdAt": "2022-11-19T13:52:14.883Z",
"updatedAt": "2022-11-19T14:02:43.836Z",
"__v": 0,
"callBackInfo": {
"ResponseCode": "0000",
"Message": "success",
"Data": {
"Amount": 1.01,
"Charges": 0.02,
"AmountAfterCharges": 0.99,
"Description": "The MTN Mobile Money payment has been approved and processed successfully.",
"ClientReference": "test-reference-4787823576",
"TransactionId": "8dcdfc7a64c040e4ad5be610323d3993",
"ExternalTransactionId": "20424693259",
"AmountCharged": 1.01,
"OrderId": "8dcdfc7a64c040e4ad5be610323d3993"
}
},
"callBackTime": "2022-11-19T14:02:43.836Z"
}Last updated
Was this helpful?