See also the Transaction response object.

This functionality is specific to Braintree Marketplace merchants.

Java
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.

Arguments
transactionId required, string

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