Skip to content

Commit

Permalink
Merge pull request #835 from stripe/remi-add-customer-pm
Browse files Browse the repository at this point in the history
Add support for passing a PaymentMethod id on Customer creation
  • Loading branch information
remi-stripe authored Apr 16, 2019
2 parents 49dd303 + d3f4185 commit 349e59e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions customer.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ type CustomerParams struct {
Email *string `form:"email"`
InvoicePrefix *string `form:"invoice_prefix"`
InvoiceSettings *CustomerInvoiceSettingsParams `form:"invoice_settings"`
PaymentMethod *string `form:"payment_method"`
Plan *string `form:"plan"`
Quantity *int64 `form:"quantity"`
Shipping *CustomerShippingDetailsParams `form:"shipping"`
Expand Down

0 comments on commit 349e59e

Please sign in to comment.