Skip to content

Commit

Permalink
Payment Intent works with cards and sources so we need PaymentSource
Browse files Browse the repository at this point in the history
  • Loading branch information
remi-stripe committed Jul 5, 2018
1 parent 1171f3f commit d7746cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paymentintent.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ type PaymentIntent struct {
ReceiptEmail string `json:"receipt_email"`
ReturnURL string `json:"return_url"`
Shipping ShippingDetails `json:"shipping"`
Source *Source `json:"source"`
Source *PaymentSource `json:"source"`
StatementDescriptor string `json:"statement_descriptor"`
Status PaymentIntentStatus `json:"status"`
TransferData *PaymentIntentTransferData `json:"transfer_data"`
Expand Down

0 comments on commit d7746cd

Please sign in to comment.