CryptoExchange API :: Cancelling a transaction

Cancelling a transaction

Use this API to cancel an ongoing escrow transaction.

Cancel a transaction

Cancelling a request is as simple as making a patch request to https://cryptoexchange.com/api/v1/escrow/partner/transaction/id and setting the action field to rejected. You can optionally specify a cancellation reason by populating the reason.

If both the buyer and seller have agreed to the transaction then only the listed partner can cancel. If the transaction has already been completed or cancelled, then the cancel operation will fail.

If the API call is successful, it will return the updated transaction object.

Example Response