v1
latestOpenAPI 3.1.02026-07-263644911022.4 KBTransactions API
Cancel a Pending Transaction
Use this endpoint to cancel a pending transaction that was previously created and placed on hold. Only transactions in PENDING status can be cancelled; cancelling a transaction in any other status returns 422 (ErrCommitTransactionNotPending, code 0099).
post/v1/organizations/{organization_id}/ledgers/{ledger_id}/transactions/{transaction_id}/cancel
Path parameters
organization_idstring uuid required
The unique identifier of the Organization associated with the Ledger.
ledger_idstring uuid required
The unique identifier of the associated Ledger.
transaction_idstring uuid required
The unique identifier of the transaction you want to retrieve.
Response
Indicates that the request was successful and the response contains the expected data.