See also the Transaction response object.

This functionality is specific to Braintree Marketplace merchants.

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

You can only hold a transaction in escrow if its status is authorized or submitted_for_settlement.

Arguments
transaction_id required, String

The id of the transaction you want to hold in escrow.

Still have questions?

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