Question

I'm building a application that enables ACH payments, and will need to use webhooks to be notified when debits have transitioned between different statuses. I understand I can create a callback either programmatically or via the dashboard, which will set the URL at which the payload will be posted (or via whatever HTTP method is set).

Is it possible to register callbacks for specific events only (ex. POST to /foo with only debit.failed events)?

Or by registering a callback, am I setting it so that all events are sent to that URL, at which point I parse the payload and handle each event separately?

Was it helpful?

Solution

You may only create one callback URL and that's where all Balanced events will be sent. In your event handler, just listen for the event types you care about and disregard the others.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top