curl --request POST \
--url https://test.digitaltermination.com/api/transaction/status \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data transaction_id=22869{
"transaction": {
"id": 27,
"merchant_id": "5",
"type": "Cr",
"medium": "Card",
"reference": "1-2438378-0998",
"zeepay_id": null,
"gateway_id": null,
"amount": 1.01,
"amount_details": {
"cc": 0.02,
"send": 1.01,
"receive": 1
},
"medium_details": null,
"status": "2",
"status_message": "Request Sent, pending processing",
"sender_details": {
"no": null,
"name": "Kwesi Appiah",
"type": 5,
"email": "[email protected]",
"card_number": "12***********7889"
},
"recipient_details": {
"no": 5,
"name": "MS",
"type": 8
},
"reason": null,
"description": "Payment",
"extra": null,
"api": 1,
"callback_url": "https://your-domain.com/webhook/payment-status",
"created_at": "2020-04-14 16:18:31",
"updated_at": "2020-04-14 16:18:31"
},
"type": "Success",
"message": "Transaction Retrieval Successful"
}Gets the Transaction Status
curl --request POST \
--url https://test.digitaltermination.com/api/transaction/status \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data transaction_id=22869{
"transaction": {
"id": 27,
"merchant_id": "5",
"type": "Cr",
"medium": "Card",
"reference": "1-2438378-0998",
"zeepay_id": null,
"gateway_id": null,
"amount": 1.01,
"amount_details": {
"cc": 0.02,
"send": 1.01,
"receive": 1
},
"medium_details": null,
"status": "2",
"status_message": "Request Sent, pending processing",
"sender_details": {
"no": null,
"name": "Kwesi Appiah",
"type": 5,
"email": "[email protected]",
"card_number": "12***********7889"
},
"recipient_details": {
"no": 5,
"name": "MS",
"type": 8
},
"reason": null,
"description": "Payment",
"extra": null,
"api": 1,
"callback_url": "https://your-domain.com/webhook/payment-status",
"created_at": "2020-04-14 16:18:31",
"updated_at": "2020-04-14 16:18:31"
},
"type": "Success",
"message": "Transaction Retrieval Successful"
}"22869"
Ths status of the transaction.
Show child attributes
27
"5"
"Cr"
"Card"
"1-2438378-0998"
null
null
1.01
null
"2"
"Request Sent, pending processing"
Show child attributes
null
"Payment"
null
1
"https://your-domain.com/webhook/payment-status"
"2020-04-14 16:18:31"
"2020-04-14 16:18:31"
"Success"
"Transaction Retrieval Successful"