Skip to main content
POST
Void Transaction

Authorizations

Authorization
string
header
required

Payaza {{Public API Key in Base 64}}

Body

application/json
authorization_reference
string
required

The reference of the authorization to be voided.

Example:

"AUTH-ABCD1234EFGH5678IJKL"

void_reference
string
required

A unique reference for this void transaction generated by the merchant.

Example:

"VOID-001"

void_reason
string | null

Reason for voiding the transaction.

Example:

"Customer cancellation"

Response

Void Transaction

status
string

Status of the void operation (e.g., VOIDED, ERROR).

Example:

"VOIDED"

message
string

Descriptive message about the operation status.

Example:

"Void successful"

void_reference
string | null

Unique reference for the void transaction (present on success).

Example:

"VOID-1705123456-WXYZ5678"

voided_amount
number | null

The amount successfully voided.

Example:

100

remaining_amount
number | null

Any remaining amount on the authorization (usually 0 after a full void).

Example:

0