Paytabs provides you with a collection of API endpoints which used to process all payments, regardless of if they are through either your own payment pages, the managed payment pages, or if you are using the hosted payment pages.
Payment Result (payment_result) is the parameter that Indicates the Transaction results details including the status, the code, the message, and the transaction time.
There is a document with all cases of the status and messages that can be found on Response_code vs Response_status.
Specifications
The Parameter Tag/Name | payment_result |
JSON Example | "payment_result": { "response_status": "A", "response_code": "G29717", "response_message": "Authorised", "transaction_time": "2022-12-14T14:55:17Z" } |
Data Type | Object |
Nullable | ❌ |
Samples | "payment_result": { "response_status": "A", "response_code": "G29717", "response_message": "Authorised", "transaction_time": "2022-12-14T14:55:17Z" } "payment_result": { "response_status": "D", "response_code": "504", "response_message": "Declined", "transaction_time": "2022-12-14T14:41:15Z" }, "payment_result": { "response_status": "P", "response_code": "7108122700", "response_message": "Pending", "cvv_result": " ", "avs_result": " ", "transaction_time": "2022-12-15T12:13:48Z" } "payment_result": { "response_status": "A", "response_code": "081222286551821", "response_message": "Authorised", "acquirer_message": "SUCCESS", "acquirer_rrn": "CL081222929169", "cvv_result": " ", "avs_result": " ", "transaction_time": "2022-12-08T06:46:49Z" } |
Max Length | - |