From 032802f36e17b85e656d4e35225063f098f2d1d5 Mon Sep 17 00:00:00 2001 From: Drazke Date: Thu, 8 Aug 2019 17:58:06 +0200 Subject: [PATCH] Fix stripe cancellation_reason mispelling (#37465) --- types/stripe/index.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/types/stripe/index.d.ts b/types/stripe/index.d.ts index b11f6e22e0..05d41adbf1 100644 --- a/types/stripe/index.d.ts +++ b/types/stripe/index.d.ts @@ -4328,7 +4328,7 @@ declare namespace Stripe { } namespace paymentIntents { - type PaymentIntentCancelationReason = 'duplicate' | 'fraudulent' | 'requested_by_customer' | 'failed_invoice'; + type PaymentIntentCancellationReason = 'duplicate' | 'fraudulent' | 'requested_by_customer' | 'failed_invoice'; type PaymentIntentFutureUsageType = 'on_session' | 'off_session'; @@ -4372,7 +4372,7 @@ declare namespace Stripe { /** * User-given reason for cancellation of this PaymentIntent. */ - cancelation_reason: PaymentIntentCancelationReason | null; + cancellation_reason: PaymentIntentCancellationReason | null; /** * Capture method of this PaymentIntent. @@ -9437,7 +9437,7 @@ declare namespace Stripe { cancel( paymentIntentId: string, data: { - cancellation_reason?: paymentIntents.PaymentIntentCancelationReason, + cancellation_reason?: paymentIntents.PaymentIntentCancellationReason, }, options: HeaderOptions, response?: IResponseFn, @@ -9450,7 +9450,7 @@ declare namespace Stripe { cancel( paymentIntentId: string, data: { - cancellation_reason?: paymentIntents.PaymentIntentCancelationReason, + cancellation_reason?: paymentIntents.PaymentIntentCancellationReason, }, response?: IResponseFn, ): Promise;