From 0d7096b68cf94f78330c207744d5a1b687ce3c04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Cedr=C3=B3n?= Date: Fri, 23 Aug 2024 13:02:48 -0300 Subject: [PATCH] [CRD-526] - Add canceled reason to subscription --- _build/api.yaml | 5 +++++ schemas/subscriptions/subscription_response.yml | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/_build/api.yaml b/_build/api.yaml index 89099d5..6a995d3 100644 --- a/_build/api.yaml +++ b/_build/api.yaml @@ -13138,6 +13138,11 @@ components: format: int64 nullable: true type: integer + canceled_reason: + description: Reason for cancellation. This field appears when the subscription + status is 'canceled'. + example: user_cancelation + type: string card_id: example: src_2tKcHxhTz7xU5SymL type: string diff --git a/schemas/subscriptions/subscription_response.yml b/schemas/subscriptions/subscription_response.yml index a760ba4..c20ac84 100644 --- a/schemas/subscriptions/subscription_response.yml +++ b/schemas/subscriptions/subscription_response.yml @@ -17,6 +17,10 @@ properties: example: 1678258162 format: int64 nullable: true + canceled_reason: + type: string + example: "user_cancelation" + description: "Reason for cancellation. This field appears when the subscription status is 'canceled'." card_id: type: string example: "src_2tKcHxhTz7xU5SymL"