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-ba5a0c267c70Request body:
{
"Status": "Cancelled"
}Example response
HTTP/1.1 202 Accepted
| Status code | Description |
|---|---|
200 OK | The transaction was already in a state where the cancellation was not applied. Retrieve the transaction to determine its current status. |
202 Accepted | The 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.
Updated 29 days ago
Related information
Did this page help you?