Skip to content

Commit

Permalink
add credit card option when requesting snap token
Browse files Browse the repository at this point in the history
  • Loading branch information
ngurajeka committed Nov 11, 2017
1 parent 6c8f1bf commit bcfb90c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions request.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ type SnapReq struct {
EnabledPayments []PaymentType `json:"enabled_payments"`
Items *[]ItemDetail `json:"item_details,omitempty"`
CustomerDetail *CustDetail `json:"customer_details,omitempty"`
CreditCard *CreditCardDetail `json:"credit_card,omitempty"`
CustomField1 string `json:"custom_field1"`
CustomField2 string `json:"custom_field2"`
CustomField3 string `json:"custom_field3"`
Expand Down

0 comments on commit bcfb90c

Please sign in to comment.