See also the Transaction response object.

This functionality is specific to Braintree Marketplace merchants.

Node.js
gateway.transaction.cancelRelease("transaction_id", function(err, result) {
});

If the transaction can't be found, it will return a notFoundError.

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.