stable · event · 0.2.0
Recurring payment cancellation outcome
Payload for payments.recurring.cancellation.succeeded or payments.recurring.cancellation.failed.
Capability Domain: payments
Reference identifier: payment-recurring-cancellation-outcome
Schema ID: https://minicenter.otus.tw/events/payments.recurring.cancellation.outcome.v1.schema.json
Delivery: At least once; deduplicate with the Domain Event envelope id.
Event schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://minicenter.otus.tw/events/payments.recurring.cancellation.outcome.v1.schema.json",
"title": "Recurring payment cancellation outcome",
"description": "Payload for payments.recurring.cancellation.succeeded or payments.recurring.cancellation.failed.",
"type": "object",
"additionalProperties": false,
"required": [
"recurring_payment_id",
"cancellation_id",
"project_order_reference"
],
"properties": {
"recurring_payment_id": {
"type": "string",
"format": "uuid"
},
"cancellation_id": {
"type": "string",
"format": "uuid"
},
"project_order_reference": {
"type": "string",
"maxLength": 180
}
},
"x-documentation": true,
"x-reference-id": "payment-recurring-cancellation-outcome",
"x-domain": "payments",
"x-stability": "stable",
"x-delivery": "At least once; deduplicate with the Domain Event envelope id.",
"example": {
"recurring_payment_id": "71000000-0000-4000-8000-000000000007",
"cancellation_id": "71200000-0000-4000-8000-000000000007",
"project_order_reference": "sandbox-order-1001"
}
}
Example
{
"recurring_payment_id": "71000000-0000-4000-8000-000000000007",
"cancellation_id": "71200000-0000-4000-8000-000000000007",
"project_order_reference": "sandbox-order-1001"
}