From b47f49172d2a6a63c08b08d90453cc032ea926f7 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Thu, 29 Jun 2023 20:07:43 +0000 Subject: [PATCH] Update OpenAPI specification --- openapi/spec3.beta.sdk.json | 9 +++++++++ openapi/spec3.beta.sdk.yaml | 11 +++++++++++ 2 files changed, 20 insertions(+) diff --git a/openapi/spec3.beta.sdk.json b/openapi/spec3.beta.sdk.json index 0c1d59a1..2e77a5ed 100644 --- a/openapi/spec3.beta.sdk.json +++ b/openapi/spec3.beta.sdk.json @@ -48761,6 +48761,15 @@ "subscription_details_data": { "description": "", "properties": { + "metadata": { + "additionalProperties": { + "maxLength": 500, + "type": "string" + }, + "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that will reflect the metadata of the subscription at the time of invoice creation. *Note: This attribute is populated only for invoices created on or after June 28, 2023.*", + "nullable": true, + "type": "object" + }, "pause_collection": { "anyOf": [ { diff --git a/openapi/spec3.beta.sdk.yaml b/openapi/spec3.beta.sdk.yaml index c4eca2fd..282656ee 100644 --- a/openapi/spec3.beta.sdk.yaml +++ b/openapi/spec3.beta.sdk.yaml @@ -44306,6 +44306,17 @@ components: subscription_details_data: description: '' properties: + metadata: + additionalProperties: + maxLength: 500 + type: string + description: >- + Set of [key-value pairs](https://stripe.com/docs/api/metadata) that + will reflect the metadata of the subscription at the time of invoice + creation. *Note: This attribute is populated only for invoices + created on or after June 28, 2023.* + nullable: true + type: object pause_collection: anyOf: - $ref: '#/components/schemas/invoices_resource_pause_collection'