From a5f21c5f11cded50911f0121dc2b23a9a9d31224 Mon Sep 17 00:00:00 2001 From: Remi Jannel Date: Fri, 5 Jul 2019 10:19:41 -0700 Subject: [PATCH] Add support for SetupFutureUsage on Checkout Session --- checkout_session.go | 1 + 1 file changed, 1 insertion(+) diff --git a/checkout_session.go b/checkout_session.go index 7613c75359..bdf14b032f 100644 --- a/checkout_session.go +++ b/checkout_session.go @@ -52,6 +52,7 @@ type CheckoutSessionPaymentIntentDataParams struct { Description *string `form:"description"` OnBehalfOf *string `form:"on_behalf_of"` ReceiptEmail *string `form:"receipt_email"` + SetupFutureUsage *string `form:"setup_future_usage"` Shipping *ShippingDetailsParams `form:"shipping"` StatementDescriptor *string `form:"statement_descriptor"` TransferData *CheckoutSessionPaymentIntentDataTransferDataParams `form:"transfer_data"`