From 2b65868802c6d300c0fe23707b2aedd5ab2a67fc Mon Sep 17 00:00:00 2001 From: Jack Flintermann Date: Sun, 25 Nov 2018 15:13:45 -0800 Subject: [PATCH 1/2] add IssuingCard param value to ephemeral_key.go --- ephemeralkey.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ephemeralkey.go b/ephemeralkey.go index 597c40e061..47b717ade0 100644 --- a/ephemeralkey.go +++ b/ephemeralkey.go @@ -7,7 +7,8 @@ import "encoding/json" // For more details see https://stripe.com/docs/api#ephemeral_keys. type EphemeralKeyParams struct { Params `form:"*"` - Customer *string `form:"customer"` + Customer *string `form:"customer"` + IssuingCard *string `form:"issuing_card"` StripeVersion *string `form:"-"` // This goes in the `Stripe-Version` header } From 107d07dc9a0dc3e475916112f232c905fd4eab4c Mon Sep 17 00:00:00 2001 From: Jack Flintermann Date: Sun, 25 Nov 2018 15:15:51 -0800 Subject: [PATCH 2/2] go fmt --- ephemeralkey.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ephemeralkey.go b/ephemeralkey.go index 47b717ade0..355acc7368 100644 --- a/ephemeralkey.go +++ b/ephemeralkey.go @@ -7,8 +7,8 @@ import "encoding/json" // For more details see https://stripe.com/docs/api#ephemeral_keys. type EphemeralKeyParams struct { Params `form:"*"` - Customer *string `form:"customer"` - IssuingCard *string `form:"issuing_card"` + Customer *string `form:"customer"` + IssuingCard *string `form:"issuing_card"` StripeVersion *string `form:"-"` // This goes in the `Stripe-Version` header }