See also the Transaction response object.

Java
Transaction transaction = gateway.transaction().find("the_transaction_id");

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

Escrow status on Braintree Marketplace transactions

Use the transaction's id to find the escrowStatus on Braintree Marketplace transactions:

Java
Transaction transaction = gateway.transaction().find("the_transaction_id");
transaction.getEscrowStatus();
// "held"
Arguments
transactionId required, string

The unique transaction identifier.