See also the Transaction response object.

This functionality is specific to Braintree Marketplace merchants.

PHP
Copy
Copied
$result = $gateway->transaction()->cancelRelease("transaction_id");
This code snippet now uses gateway instance methods instead of class-level methods. Learn more.

If the transaction can't be found, you'll receive a Braintree_Exception_NotFound exception.

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

Arguments
transactionId required, string

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

Still have questions?

If you can’t find an answer, contact our Support team