See also the Transaction response object.

Ruby
Copy
Copied
transaction = gateway.transaction.find("the_transaction_id")
This code snippet now uses gateway instance methods instead of class-level methods. Learn more.

If the transaction can't be found, it will raise a Braintree::NotFoundError.

Escrow status on Braintree Marketplace transactions

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

Ruby
Copy
Copied
transaction = gateway.transaction.find("the_transaction_id")
transaction.status
# "settled"
transaction.escrow_status
# "held"
This code snippet now uses gateway instance methods instead of class-level methods. Learn more.
Arguments
transaction_id required, String

The unique transaction identifier.

Still have questions?

If you can’t find an answer, contact our Support team