diff --git a/types/2020-03-02/Issuing/Authorizations.d.ts b/types/2020-03-02/Issuing/Authorizations.d.ts index 9a33bdaa71..a40af3b5a0 100644 --- a/types/2020-03-02/Issuing/Authorizations.d.ts +++ b/types/2020-03-02/Issuing/Authorizations.d.ts @@ -190,9 +190,9 @@ declare module 'stripe' { state: string | null; /** - * The url an online purchase was made from + * URL provided by the merchant on a 3DS request */ - url: string | null; + url?: string | null; } interface PendingRequest { @@ -366,9 +366,9 @@ declare module 'stripe' { expiry_check: VerificationData.ExpiryCheck; /** - * 3D Secure details on this authorization. + * 3D Secure details. */ - three_d_secure: VerificationData.ThreeDSecure | null; + three_d_secure?: VerificationData.ThreeDSecure | null; } namespace VerificationData { @@ -516,7 +516,7 @@ declare module 'stripe' { ): ApiListPromise; /** - * Approves a pending Issuing Authorization object. This request should be made within the timeout window of the [real time authorization](https://stripe.com/docs/issuing/controls/real-time-authorizations) flow. + * Approves a pending Issuing Authorization object. This request should be made within the timeout window of the [real-time authorization](https://stripe.com/docs/issuing/controls/real-time-authorizations) flow. */ approve( id: string, diff --git a/types/2020-03-02/Issuing/Cards.d.ts b/types/2020-03-02/Issuing/Cards.d.ts index f6378cae36..1f7bfa1466 100644 --- a/types/2020-03-02/Issuing/Cards.d.ts +++ b/types/2020-03-02/Issuing/Cards.d.ts @@ -77,7 +77,7 @@ declare module 'stripe' { /** * Metadata about the PIN on the card. */ - pin: Card.Pin | null; + pin?: Card.Pin | null; /** * The latest card that replaces this card, if any. diff --git a/types/2020-03-02/Issuing/Transactions.d.ts b/types/2020-03-02/Issuing/Transactions.d.ts index d08608d9c2..14bd9a5218 100644 --- a/types/2020-03-02/Issuing/Transactions.d.ts +++ b/types/2020-03-02/Issuing/Transactions.d.ts @@ -121,9 +121,9 @@ declare module 'stripe' { state: string | null; /** - * The url an online purchase was made from + * URL provided by the merchant on a 3DS request */ - url: string | null; + url?: string | null; } type Type = diff --git a/types/2020-03-02/Payouts.d.ts b/types/2020-03-02/Payouts.d.ts index b9220e727e..290b99e9ff 100644 --- a/types/2020-03-02/Payouts.d.ts +++ b/types/2020-03-02/Payouts.d.ts @@ -101,7 +101,7 @@ declare module 'stripe' { statement_descriptor: string | null; /** - * Current status of the payout (`paid`, `pending`, `in_transit`, `canceled` or `failed`). A payout will be `pending` until it is submitted to the bank, at which point it becomes `in_transit`. It will then change to `paid` if the transaction goes through. If it does not go through successfully, its status will change to `failed` or `canceled`. + * Current status of the payout: `paid`, `pending`, `in_transit`, `canceled` or `failed`. A payout is `pending` until it is submitted to the bank, when it becomes `in_transit`. The status then changes to `paid` if the transaction goes through, or to `failed` or `canceled` (within 5 business days). Some failed payouts may initially show as `paid` but then change to `failed`. */ status: string; diff --git a/types/2020-03-02/SubscriptionSchedules.d.ts b/types/2020-03-02/SubscriptionSchedules.d.ts index 9ac0268343..1d81639c4e 100644 --- a/types/2020-03-02/SubscriptionSchedules.d.ts +++ b/types/2020-03-02/SubscriptionSchedules.d.ts @@ -250,7 +250,7 @@ declare module 'stripe' { /** * Quantity of the plan to which the customer should be subscribed. */ - quantity: number | null; + quantity?: number; /** * The tax rates which apply to this `phase_item`. When set, the `default_tax_rates` on the phase do not apply to this `phase_item`. diff --git a/types/2020-03-02/WebhookEndpoints.d.ts b/types/2020-03-02/WebhookEndpoints.d.ts index ba830c9cb2..9cd2492f39 100644 --- a/types/2020-03-02/WebhookEndpoints.d.ts +++ b/types/2020-03-02/WebhookEndpoints.d.ts @@ -31,6 +31,11 @@ declare module 'stripe' { deleted?: void; + /** + * An optional description of what the wehbook is used for. + */ + description: string | null; + /** * The list of events to enable for this endpoint. `['*']` indicates that all events are enabled, except those that require explicit selection. */ @@ -103,6 +108,11 @@ declare module 'stripe' { */ connect?: boolean; + /** + * An optional description of what the wehbook is used for. + */ + description?: string; + /** * Specifies which fields in the response should be expanded. */ @@ -376,6 +386,11 @@ declare module 'stripe' { } interface WebhookEndpointUpdateParams { + /** + * An optional description of what the wehbook is used for. + */ + description?: string; + /** * Disable the webhook endpoint if set to true. */