Void transaction
Cancel a transaction that hasn’t been settled yet. Voiding non-captured authorizations prevents future captures. This is the v2 version of the api/MoneyIn/void/{transId} endpoint, and returns the unified response format. See Pay In unified response codes reference for more information.
Authentication
requestTokenstring
API Key authentication via header
Path parameters
transId
ReferenceId for the transaction (PaymentId).
Response
Ok
code
Payabli’s unified response code. Starts with A (Approved) or D (Declined) followed by a four-digit code that provides specific details about the transaction result. See Pay In unified response codes reference for more information.
reason
Human-readable reason corresponding to the response code.
explanation
Detailed description of the response code.
action
Recommended resolution approach or next steps based on the response.
data
Complete transaction details returned by v2 Money In endpoints. This matches the structure of the transaction details previously returned by the v1 details endpoint.
token
Pagination token (equivalent to pageIdentifier in v1 APIs). Returns null when pagination is not applicable.