Here you can find example callback for GHS deposit and withdrawal
GHS Deposit Pending Notification
{
"account_id": 7,
"order_id": "9ae3a7b1-66ac-411b-8337-75d82957be87",
"transaction_id": "229be46d-4fc9-4c1b-82d9-1b1c76a3deb0",
"currency": "GHS",
"amount": 1000,
"amount_net": 0,
"amount_paid": 0,
"status": "PENDING",
"type": "DEPOSIT",
"event": {
"code": "BD1000",
"message": "Waiting for credit!"
},
"transaction_specific": {
"payer_email": "NA",
"payer_mobile_number": "NA"
},
"hash": "1F5E7C3E9A271DA9B74064BD68F6D515E01AE2D1D5126773A3B67BE4D7B6D3553CCE92B346D96E9991C505A90EB54BF4D2A12CC9FE003ADD5FD69C9DAE77ED9E"
}GHS Deposit Success Notification
{
"account_id": 7,
"order_id": "9ae3a7b1-66ac-411b-8337-75d82957be87",
"transaction_id": "229be46d-4fc9-4c1b-82d9-1b1c76a3deb0",
"currency": "GHS",
"amount": 1000,
"amount_net": 1000,
"amount_paid": 1000,
"status": "SUCCESS",
"type": "DEPOSIT",
"event": {
"code": "DST1008",
"message": "Deposit successfull."
},
"transaction_specific": {
"payer_email": "[email protected]",
"payer_mobile_number": "+233205251353"
},
"hash": "68792BC6EE58C32BB467C46975E6BA6C912F97BA25680570DE34783F6F57BD8E247706CB0D2A54AC0528819C3682D6ABBC5B3D6DDBCCE938F487D7E34C9093DC"
}GHS Withdrawal Pending Notification
{
"account_id": 7,
"order_id": "07f251b8-665b-4a47-ae15-13814c4cd781",
"transaction_id": "56b92bb9-7b3f-4e56-949f-ab73d7ec9ceb",
"currency": "GHS",
"amount": 1000,
"amount_net": 1000,
"amount_paid": 1000,
"status": "PENDING",
"type": "WITHDRAW",
"event": {
"code": "WD1000",
"message": "Waiting to process payment!"
},
"transaction_specific": {
"reference": "NA",
"payer_email": "NA",
"payer_mobile_number": "NA"
},
"hash": "18ED0F5C493A3017B71A5FBA8BE8866B69A285420FAA3FC5B7892D8B2FB347AC3CD044E322AFD415041AB0958A2E61C057FB3B39F54CFD67C1D40CCAC27B7648"
}GHS Withdrawal Processing Notification
{
"account_id": 7,
"order_id": "07f251b8-665b-4a47-ae15-13814c4cd781",
"transaction_id": "56b92bb9-7b3f-4e56-949f-ab73d7ec9ceb",
"currency": "GHS",
"amount": 1000,
"amount_net": 1000,
"amount_paid": 1000,
"status": "PROCESSING",
"type": "WITHDRAW",
"event": {
"code": "WD1001",
"message": "We are currently processing your payout!"
},
"transaction_specific": {
"reference": "NA",
"payer_email": "NA",
"payer_mobile_number": "NA"
},
"hash": "4D62A75BF6229A0A72C742C68027DAE97C885DBC8BB4DD5327D88ADE3F84A20B7EAB69A94807DBD9101A28E9AE30DFA06C263A8C915AEC57642EF3C5866331DF"
}GHS Withdrawal Success Notification
{
"account_id": 7,
"order_id": "07f251b8-665b-4a47-ae15-13814c4cd781",
"transaction_id": "56b92bb9-7b3f-4e56-949f-ab73d7ec9ceb",
"currency": "GHS",
"amount": 1000,
"amount_net": 1000,
"amount_paid": 1000,
"status": "SUCCESS",
"type": "WITHDRAW",
"event": {
"code": "WST1009",
"message": "Withdraw successfull."
},
"transaction_specific": {
"reference": "016944422599823787107264115053",
"payer_email": "[email protected]",
"payer_mobile_number": "+233205251353"
},
"hash": "8010C09CB681CDAF52A683BEA8A62E3C8027C67ABBB37C9106145A1283F5A61E16DEBCB4C101AEEC47D812527E6603A26E5C1A5640C3BE976848234AE1F6FACF"
}GHS Withdrawal Failed Notification
{
"account_id": 7,
"order_id": "07f251b8-665b-4a47-ae15-13814c4cd781",
"transaction_id": "56b92bb9-7b3f-4e56-949f-ab73d7ec9ceb",
"currency": "GHS",
"amount": 1000,
"amount_net": 1000,
"amount_paid": 1000,
"status": "FAILED",
"type": "WITHDRAW",
"event": {
"code": "BT1008",
"message": "Transaction has been failed!"
},
"transaction_specific": {
"reference": "NA",
"payer_email": "NA",
"payer_mobile_number": "NA"
},
"hash": "8010C09CB681CDAF52A683BEA8A62E3C8027C67ABBB37C9106145A1283F5A61E16DEBCB4C101AEEC47D812527E6603A26E5C1A5640C3BE976848234AE1F6FACF"
}