Skip to content

Commit

Permalink
Merge pull request #1014 from stripe/remi-add-session-metadata
Browse files Browse the repository at this point in the history
Add `Metadata` support on Checkout `Session`
  • Loading branch information
remi-stripe authored Jan 17, 2020
2 parents 5dea16c + 21d2839 commit 30286e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions checkout_session.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down

0 comments on commit 30286e3

Please sign in to comment.