Skip to content

Commit

Permalink
Merge pull request #1581 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 17, 2019
2 parents d2b4d43 + 3f01375 commit a703a9d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Stripe.net/Services/Customers/CustomerCreateOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ public class CustomerCreateOptions : BaseOptions
[JsonProperty("metadata")]
public Dictionary<string, string> Metadata { get; set; }

[JsonProperty("payment_method")]
public string PaymentMethodId { get; set; }

[JsonProperty("plan")]
public string PlanId { get; set; }

Expand Down

0 comments on commit a703a9d

Please sign in to comment.