Server Response
Various parameters are returned as response after a GET request by WebPAY. Kindly take note of the following key parameters:-
Parameter | Field Description | Expected Values |
---|---|---|
ResponseCode | Alphanumeric Code indicating the status of the transaction. Refer to the Response Codes for a list of possible responses. | alphanumeric |
ResponseDescription | Brief description of result | text |
Amount | Approved amount | numeric |
MerchantReference | The transaction reference | alphanumeric |
TransactionDate | Date and time transaction took place | datetime |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
{ "Amount": 120000, "CardNumber": "0095", "MerchantReference": "1485998442-70", "PaymentReference": "FBN|WEB|WDM|2-02-2017|278803", "RetrievalReferenceNumber": "000517627463", "LeadBankCbnCode": null, "LeadBankName": null, "SplitAccounts": [], "TransactionDate": "2017-02-02T02:21:00.893", "ResponseCode": "00", "ResponseDescription": "Approved Successful" } |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
{ "Amount": 0, "CardNumber": null, "MerchantReference": "", "PaymentReference": null, "RetrievalReferenceNumber": null, "LeadBankCbnCode": null, "LeadBankName": null, "SplitAccounts": [], "TransactionDate": "0001-01-01T00:00:00", "ResponseCode": "56", "ResponseDescription": "No Card Record" } |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
{ "Amount": 0, "CardNumber": null, "MerchantReference": "", "PaymentReference": null, "RetrievalReferenceNumber": null, "LeadBankCbnCode": null, "LeadBankName": null, "SplitAccounts": [], "TransactionDate": "0001-01-01T00:00:00", "ResponseCode": "Z1", "ResponseDescription": "Transaction error" } |