With webhooks, your app can know when something happens in Decisionly, such as a chargeback being filed for a case.Documentation Index
Fetch the complete documentation index at: https://docs.decisionly.com/llms.txt
Use this file to discover all available pages before exploring further.
Registering Webhooks
To register a new webhook, you need to have a URL that Decisionly can call. You can configure a new webhook from your dashboard settings. Add your URL and pick the events you want to listen for.Consuming Webhooks
When you receive a webhook request from Decisionly, check thetype attribute to see what event caused it.
Case Lifecycle Events
case.created- Triggered when a case is createdcase.chargeback_filed- Triggered when a chargeback is filed with the card networkcase.chargeback_represented- Triggered when merchant responds with evidencecase.prearb_filed- Triggered when a pre-arbitration case is filed with the card networkcase.won- Triggered when a cardholder wins a casecase.lost- Triggered when a merchant wins a casecase.accepted- Triggered when issuer accepts liabilitycase.rejected- Triggered when a case is rejectedcase.expired- Triggered when a case expirescase.withdrawn- Triggered when a case is withdrawn by the cardholdercase.merchant_credited- Triggered when a case is closed due to merchant credit
Case Needs Review Events
case.chargeback_needs_review- Triggered when a chargeback requires manual reviewcase.representment_needs_review- Triggered when a representment requires manual review
Case Deadline Events
case.resolution_deadline_approaching- Triggered 12 hours before the Reg E or Reg Z resolution deadline if one applies to the case
Webhook Payload
Webhooks do not contain any sensitive information. They only contain the IDs of the objects that were affected by the event. So for case events, thedata attribute will contain the case_id. You should then call the API to fetch the case and verify the event.
Example Webhook Payload
Responding to Webhooks
You should return a
200 status code to acknowledge the webhook. If you return a different status code, Decisionly will retry the webhook in 30 minutes, up to 24 times (12 hours of retries).