From 9949a7d9bf5ad59b6e905209a4e2c5c8368f76df Mon Sep 17 00:00:00 2001 From: Remi Jannel Date: Wed, 4 Mar 2020 18:56:53 -0800 Subject: [PATCH] Codegen for openapi 23ae7d8 --- types/2020-03-02/WebhookEndpoints.d.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/types/2020-03-02/WebhookEndpoints.d.ts b/types/2020-03-02/WebhookEndpoints.d.ts index fd937484be..6f3412b535 100644 --- a/types/2020-03-02/WebhookEndpoints.d.ts +++ b/types/2020-03-02/WebhookEndpoints.d.ts @@ -41,6 +41,11 @@ declare module 'stripe' { */ livemode: boolean; + /** + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + */ + metadata: Metadata; + /** * The endpoint's secret, used to generate [webhook signatures](https://stripe.com/docs/webhooks/signatures). Only returned at creation. */ @@ -102,6 +107,11 @@ declare module 'stripe' { * Specifies which fields in the response should be expanded. */ expand?: Array; + + /** + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. + */ + metadata?: MetadataParam; } namespace WebhookEndpointCreateParams { @@ -381,6 +391,11 @@ declare module 'stripe' { */ expand?: Array; + /** + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. + */ + metadata?: MetadataParam | null; + /** * The URL of the webhook endpoint. */