From 2c8bb271e6bd6cd1553f74df6fa9b66a480cbf30 Mon Sep 17 00:00:00 2001 From: Yejia Chen Date: Tue, 8 Feb 2022 14:15:16 -0500 Subject: [PATCH] Codegen for openapi 7a9733e --- types/2020-08-27/Issuing/Cards.d.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/types/2020-08-27/Issuing/Cards.d.ts b/types/2020-08-27/Issuing/Cards.d.ts index 6469055810..06b81d6eb0 100644 --- a/types/2020-08-27/Issuing/Cards.d.ts +++ b/types/2020-08-27/Issuing/Cards.d.ts @@ -2218,6 +2218,11 @@ declare module 'stripe' { */ metadata?: Stripe.Emptyable; + /** + * The desired new PIN for this card. + */ + pin?: CardUpdateParams.Pin; + /** * Rules that control spending for this card. Refer to our [documentation](https://stripe.com/docs/issuing/controls/spending-controls) for more details. */ @@ -2232,6 +2237,13 @@ declare module 'stripe' { namespace CardUpdateParams { type CancellationReason = 'lost' | 'stolen'; + interface Pin { + /** + * The card's desired new PIN, encrypted under Stripe's public key. + */ + encrypted_number?: string; + } + interface SpendingControls { /** * Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) of authorizations to allow. All other categories will be blocked. Cannot be set with `blocked_categories`.