MauriceNino
MauriceNino

Reputation: 6747

How do you get information on the transaction status in braintree asynchonously?

So when I submit a braintree order for settlement, there will/can be multiple state changes until I get my money. It can settle, stay in settling, get declined, and so on.

How can I get this information without having to call their API constantly? Is there some kind of webhook for that? Because in my tests, I only get updates for disbursements, which is (if I understood it correctly) basically the last step of the whole transaction.

Upvotes: 0

Views: 607

Answers (1)

hollabaq
hollabaq

Reputation: 617

There are webhooks for some events, but not for specifically when a transaction changes status.

You can, however, use the Search API to create a script or cron job that checks for status changes over a period of time.

If you have additional questions about webhooks or using the API, contact Support.

Upvotes: 1

Related Questions