payment-method-changed
v0.0.1

The client's payment method have changed

Context

When the client's payment method has been changed in the finance hub, this triggers an event for Sirius to produce a timeline event.

Trigger

The client's payment method is changed.

Effect

Sirius Supervision creates a timeline event.

Consumer / Producer Diagram

Examples

1{
2  "clientId": 1,
3  "paymentMethod": "DEMANDED"
4}
5
payment-method-changed Schema (json)
{
  "$id": "https://opg.service.justice.gov.uk/opg.supervision.sirius/payment-method-changed.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "opg.supervision.sirius/payment-method-changed",
  "type": "object",
  "properties": {
    "clientId": {
      "type": "integer",
      "description": "The client's ID"
    },
    "paymentMethod": {
      "type": "string",
      "description": "The client's payment method"
    }
  },
  "required": [
    "clientId",
    "paymentMethod"
  ]
}
Edit this pageLast updated on 2025/4/11