You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@dbarzdys Sorry about the confusion here. You're right that this parameter does not work in the API. You have to create the PaymentMethod and then separately attach it to a Customer
While programming I found that
PaymentMethodParams
struct containsCustomer
stripe-go/paymentmethod.go
Line 69 in 405d49f
But API documentation does not list it under allowed arguments
https://stripe.com/docs/api/payment_methods/create?lang=go
How does it work? Does it automatically attaches customer to new payment method or is it not even used for creating new payment methods?
The text was updated successfully, but these errors were encountered: