direct-debit-schedule-failed

Summary

An error occurred when attempting to schedule a Direct Debit payment for a client

Context

If an error occurs when attempting to schedule a Direct Debit payment for a client, the case manager needs to be notified to review the client’s payment method.

Trigger

A Direct Debit payment schedule attempt 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-schedule-failed.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "opg.supervision.sirius/direct-debit-schedule-failed",
  "type": "object",
  "properties": {
    "clientId": {
      "type": "integer",
      "description": "The client's ID"
    }
  },
  "required": [
    "clientId"
  ]
}

Event Flow