Skip to content

Commit

Permalink
Codegen for openapi 7a9733e (#1348)
Browse files Browse the repository at this point in the history
  • Loading branch information
yejia-stripe committed Feb 9, 2022
1 parent d321251 commit 0453534
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions types/2020-08-27/Issuing/Cards.d.ts
Expand Up @@ -2218,6 +2218,11 @@ declare module 'stripe' {
*/
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;

/**
* 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.
*/
Expand All @@ -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`.
Expand Down

0 comments on commit 0453534

Please sign in to comment.