payment-method-changed

Summary

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.

Examples

{
  "clientId": 1,
  "paymentMethod": "DEMANDED"
}

Schema

{
  "$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"
  ]
}

Event Flow