See also the Transaction response object.
This functionality is specific to Braintree Marketplace merchants.
C♯
Result<Transaction> result = gateway.Transaction.CancelRelease("transaction_id");
If the transaction can't be found, it will throw a NotFoundException
.
If you previously released an escrowed Braintree Marketplace transaction, you can cancel the release while the EscrowStatus
is ReleasePending
.