Payment Authorization Reversal
Overview
Payment Autorization Reversal will void a previously authorized transaction.
Prerequisites
There is one prerequisite resource that must be created before requesting a payment refund.
| Object | Definition |
|---|---|
| Chargent Transaction | Transactions record the results of the requests made to the payment gateway on the Chargent Order. Transactions are also used to make additional requests in the payments lifecycle. |
Create Payment Authorization Reversal
Resource URL
| HTTP Request | URL |
|---|---|
| POST | /services/apexrest/ChargentBase/payments/authorizations/{{transactionId}}/reversals |
Request
JSON Example
{}
Response
JSON Example
{
"logs": [
{
"interactionStatus": "APPROVED",
"id": "{{logId}}",
"gatewayResultCode": "100",
"gatewayId": "{{gatewayId}}",
"createdDate": "2023-12-06T20:32:20.000Z"
}
],
"gatewayResponse": {
"gatewayToken": "{{token}}",
"gatewayResultCodeDescription": "ACCEPT",
"gatewayResultCode": "100",
"gatewayMessage": "ACCEPT",
"gatewayDate": "2023-12-06T20:32:21.036Z",
"gatewayAuthorizationCode": ""
},
"paymentAuthAdjustment": {
"status": "Approved",
"requestDate": "2023-12-06T20:32:21.036Z",
"paymentAuthAdjustmentNumber": "",
"id": "{{transactionId}}",
"effectiveDate": "2023-12-06T20:32:21.036Z"
}
}
Learn More
Learn more about Payment Reversals.