Transaction
Transaction: Find
See also the Transaction response object.
- Ruby
transaction = gateway.transaction.find("the_transaction_id")
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
transaction = gateway.transaction.find("the_transaction_id")
transaction.status
# "settled"
transaction.escrow_status
# "held"
Arguments
transaction_id
required, StringThe unique transaction identifier.