From 21d2839422ae4e425f6d5d55fda6650dcbe643e3 Mon Sep 17 00:00:00 2001 From: Remi Jannel Date: Thu, 16 Jan 2020 16:45:40 -0800 Subject: [PATCH] Add `Metadata` support on Checkout `Session` --- checkout_session.go | 1 + 1 file changed, 1 insertion(+) diff --git a/checkout_session.go b/checkout_session.go index f983446920..7a28e20785 100644 --- a/checkout_session.go +++ b/checkout_session.go @@ -145,6 +145,7 @@ type CheckoutSession struct { ID string `json:"id"` Livemode bool `json:"livemode"` Locale string `json:"locale"` + Metadata map[string]string `json:"metadata"` Mode CheckoutSessionMode `json:"mode"` Object string `json:"object"` PaymentIntent *PaymentIntent `json:"payment_intent"`