Post Auth

Use this API to record the result of the authorization.

Perform a post auth

POST https://<PayEngine-host>/transaction-monitoring/post-auth

Body

Name
Type
Description

transaction_id*

string

PayEngine transaction ID. This typically is obtained through /pre-auth request before authorizing a payment

status*

string

Authorization status succeeded|failed

data

object

Authorization response returned by payment gateway/processor. Mandatory if status is "succeeded"

data.auth_code

string

Auth code from processor

data.response_code

string

Authorization response code. Generally a value in authorization response provided by gateways

data.response_message

string

Authorization response message

data.host_reference_number

string

A reference number from gateway/processor

data.host_response_code

string

If there's a response code provided by gateway

data.host_transaction_id

string

Transaction ID provided by processing host or gateway

data.address_verification_code

string

AVS result

data.cardholder_verification_code

string

CVV result

Field Name
Type
Description

processing_status*

string

Overall processing status allow|decline. This is generally the final result of the configured post-auth rules and partners can decide to void the transaction or keep it for settlement.

transaction_status*

string

The transaction status. If all rules pass it will be the status which was sent in the request

transaction_id*

string

PayEngine generated unique transaction ID

triggered_rules*

array

List of configured rules and decisions

Sample Request / Response

Example Sale Request

Last updated