Response Parameters | Payment Result (payment_result)

Modified on Thu, Mar 16, 2023 at 7:11 PM

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/Namepayment_result
JSON Example
    "payment_result": {
        "response_status": "A",
        "response_code": "G29717",
        "response_message": "Authorised",
        "transaction_time": "2022-12-14T14:55:17Z"
    }
Data TypeObject 
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 -


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article