See also the Transaction response object.

This functionality is specific to Braintree Marketplace merchants.

Result<Transaction> result = gateway.Transaction.ReleaseFromEscrow("transaction_id");

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

When you release a Braintree Marketplace transaction's funds from escrow, we'll disburse the service fee less any processing fees to the master merchant account and the remaining funds to the sub-merchant. This occurs on the business day after you submit the release request.

The EscrowStatus of a transaction must be Held before its funds can be released from escrow.

TransactionId required, string

The Id of the transaction you want to release from escrow.