diff --git a/openapi/api.yaml b/openapi/api.yaml index 08c63a4d..29d475d6 100644 --- a/openapi/api.yaml +++ b/openapi/api.yaml @@ -19877,6 +19877,11 @@ components: maximum: 999 address: "$ref": "#/components/schemas/InvoiceAddress" + gateway_code: + type: string + description: An alphanumeric code shown per gateway on your site's payment + gateways page. Set this code to ensure that a given invoice targets a + given gateway. InvoiceMini: type: object title: Invoice mini details @@ -24309,8 +24314,8 @@ components: minimum: 0 state: type: string - description: External subscriptions can be active, canceled, expired, or - past_due. + description: External subscriptions can be active, canceled, expired, past_due, + voided, revoked, or paused. default: active activated_at: type: string @@ -25626,6 +25631,7 @@ components: - wire_transfer - braintree_v_zero - boleto + - cash_app CardTypeEnum: type: string enum: diff --git a/recurly/resources.py b/recurly/resources.py index 0114b70a..5668e3ac 100644 --- a/recurly/resources.py +++ b/recurly/resources.py @@ -1320,7 +1320,7 @@ class ExternalSubscription(Resource): quantity : int An indication of the quantity of a subscribed item's quantity. state : str - External subscriptions can be active, canceled, expired, or past_due. + External subscriptions can be active, canceled, expired, past_due, voided, revoked, or paused. test : bool An indication of whether or not the external subscription was purchased in a sandbox environment. trial_ends_at : datetime