direct-debit-collection-failed

Summary

The Direct Debit payment collection for a client has failed

Context

In the event that a Direct Debit payment collection fails for a client, the case manager needs to be notified to review the client’s payment method.

Trigger

A Direct Debit payment collection fails for a client.

Effect

Sirius Supervision creates a task for the case manager to review the client’s payment method.

Examples

{
  "clientId": 1
}

Schema

{
  "$id": "https://opg.service.justice.gov.uk/opg.supervision.sirius/direct-debit-collection-failed.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "opg.supervision.sirius/direct-debit-collection-failed",
  "type": "object",
  "properties": {
    "clientId": {
      "type": "integer",
      "description": "The client's ID"
    }
  },
  "required": [
    "clientId"
  ]
}

Event Flow