可以用 Braintree API 搜索 'escrow_status' 的交易吗?

Possible to search for transactions by 'escrow_status' with Braintree API?

我想 search for transactions 与我的 merchant_id 相关联,它们具有特定的托管状态。沿着这些线的东西:

collection = braintree.Transaction.search(
    braintree.TransactionSearch.escrow_status == 'hold_pending'
)

有办法做到这一点吗?

完全披露:我在 Braintree 工作。如果您有任何其他问题,请随时联系我们的 support 团队。

我们的 api 目前不支持搜索基于 escrow_status 的交易。解决方法是收集特定时间段内的所有交易并根据托管状态手动过滤这些交易。