direct-debit-mandate-review

Summary

A client with an existing Direct Debit mandate has a new order created in Sirius

Context

When a client has an order closed for non-termination reasons, the Direct Debit mandate is left active in case there is
a replacement order. If a new order is received for the client, the case manager needs to review the existing Direct Debit
mandate to ensure the payment details are still valid.

Trigger

A new order is created for a client.

Effect

If the client’s payment method is still set to Direct Debit, the Finance service will send an event to Sirius to create
a review task.

Examples

{
  "clientId": 1
}

Schema

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

Event Flow