Skip to content

Commit

Permalink
Merge pull request #983 from stripe/remi-pm-cloning
Browse files Browse the repository at this point in the history
Add support for cloning saved PaymentMethods
  • Loading branch information
remi-stripe authored Nov 4, 2019
2 parents de3692c + 84a778f commit 96da996
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 96da996

Please sign in to comment.