refund-added

Summary

A refund has been added for the client

Context

When a refund is added for a client in the Finance service, it requires approval from a manager in order to be issued.

Trigger

A refund is added for a client.

Effect

A task is created in Sirius for a manager to review and approve the refund.

Examples

{
  "clientId": 1
}

Schema

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

Event Flow