client-made-inactive

Summary

A client has been made inactive in Sirius

Context

When a client is made inactive in Sirius, any active Direct Debit mandates associated with that client must also be deactivated in the Supervision Finance system.

Trigger

A client is made inactive.

Effect

Active Direct Debit mandates associated with the client are cancelled.

Examples

{
  "clientId": 1,
  "courtRef": "12345678",
  "surname": "Smith"
}

Schema

{
  "$id": "https://opg.service.justice.gov.uk/opg.supervision.sirius/client-made-inactive.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "opg.supervision.sirius/client-made-inactive",
  "type": "object",
  "properties": {
    "clientId": {
      "type": "integer",
      "description": "The client's ID"
    },
    "courtRef": {
      "type": "string",
      "description": "The client's court reference number"
    },
    "surname": {
      "type": "string",
      "description": "The client's surname"
    }
  },
  "required": [
    "clientId",
    "courtRef",
    "surname"
  ]
}

Event Flow