Void

Overview

The void method cancels an authorized payment before funds are captured. This releases held funds back to the customer.

Business Use Case: A customer cancels their order before it ships. Void the authorization to release funds.

Purpose

Scenario
Benefit

Order cancellation

Release funds

Fulfillment failure

Clean up authorization

Request Fields

Field
Type
Required
Description

merchantTransactionId

string

Yes

Your unique transaction reference

connectorTransactionId

string

Yes

The connector's transaction ID

voidReason

string

No

Reason for voiding

Response Fields

Field
Type
Description

merchantTransactionId

string

Your reference

connectorTransactionId

string

Connector's transaction ID

status

PaymentStatus

VOIDED

statusCode

int

HTTP status code

Example

SDK Setup

Request

Response

Next Steps

Last updated

Was this helpful?