Skip to content

Commit

Permalink
Add support for cloning saved PaymentMethods
Browse files Browse the repository at this point in the history
  • Loading branch information
remi-stripe committed Nov 4, 2019
1 parent de3692c commit 84a778f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion paymentmethod.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,11 @@ type PaymentMethodParams struct {
BillingDetails *BillingDetailsParams `form:"billing_details"`
Card *PaymentMethodCardParams `form:"card"`
FPX *PaymentMethodFPXParams `form:"fpx"`
PaymentMethod *string `form:"payment_method"`
Type *string `form:"type"`

// The following parameters are used when cloning a PaymentMethod to the connected account
Customer *string `form:"customer"`
PaymentMethod *string `form:"payment_method"`
}

// PaymentMethodAttachParams is the set of parameters that can be used when attaching a
Expand Down

0 comments on commit 84a778f

Please sign in to comment.