Cancel a transaction

Cancel a transaction request before processing begins.

PUT /api/transactionRequests/{id}

For full request and response schemas, see Cancels the transaction request.

📘

After the transaction enters the processing phase, you can no longer cancel it. For information about transaction phases, see Transaction Processing Phases.

Example request

PUT /api/transactionRequests/747101ce-2d0c-41bd-ae4a-ba5a0c267c70

Request body:

{
  "Status": "Cancelled"
}

Example response

HTTP/1.1 202 Accepted

Status codeDescription
200 OKThe transaction was already in a state where the cancellation was not applied. Retrieve the transaction to determine its current status.
202 AcceptedThe cancellation request was accepted. The transaction status updates to Cancelled.

Next steps

After cancelling a transaction, you can retrieve the transaction to see its status.



Did this page help you?