See also the Transaction response object.

This functionality is specific to Braintree Marketplace merchants.

Python
result = gateway.transaction.cancel_release("transaction_id")
This code snippet now uses gateway instance methods instead of class-level methods. Learn more.

If the transaction can't be found, it will throw a NotFoundError exception.

If you previously released an escrowed Braintree Marketplace transaction, you can cancel the release while the escrow_status is release_pending.

Arguments
transaction_id required, str

The id of the transaction you want to cancel release of escrow for.