Void Credit Authorization

Void an existing credit card authorization before capture

POST https://<PayEngine-host>/api/payment/void

Request

Request Body

Name
Type
Description

id*

string

Transaction ID (Authorization transaction)

description

String

Transaction description. Character limit is 255

Field Name
Type
Description
Required?

ID

string

PayEngine system ID for the void request

Required

TransactionID

String

Unique transaction ID

Required

MerchantID

string

Merchant ID

Required

Description

string

Transaction description

Optional

VoidResponse.status

string

Transaction execution status. Allowed values PASS | FAIL

Required

VoidResponse.responseCode

string

The code representing the status of the processed request

Required

VoidResponse.responseMessage

string

The corresponding message for the response code

Required

VoidResponse.authCode

string

Authorization code received for the transaction

Optional

VoidResponse.hostReferenceNumber

string

A unique reference number by the acquiring processor for each transaction

Optional

VoidResponse.hostResponseCode

string

Response code indicating the status of the authorization request

Optional

VoidResponse.taskID

string

Task identification number from acquiring processor

Required

VoidResponse.transactionID

string

Transaction Identifier

Optional

VoidResponse.transactionTimestamp

string

Transaction timestamp in merchant's timezone

Required

VoidResponse.transactionAmount

string

Total amount requested in this transaction

Optional

VoidResponse.processedAmount

string

Total amount processed in this transaction

Optional

VoidResponse.totalAmount

string

Total amount of this transaction

Optional

VoidResponse.cardHolderVerificationCode

string

Optional

VoidResponse.cardType

string

Card Type - visa, mastercard, american express, discover, dinersclub, ebt

Required

VoidResponse.maskedCardNumber

string

The truncated card number displaying the last four digits

Required

VoidResponse.customerReceipt

string

Printable customer receipt

Required

VoidResponse.merchantReceipt

string

Printable merchant receipt

Required

Sample Request / Response

Example Request

{
    "id": "a447b0b8-0dbb-4e07-bfc2-c35bba8d71e8",
    "description": "Payment for the service"
}

Last updated