Skip to content

Commit

Permalink
Add support for Amount in `CheckoutSessionPaymentIntentDataTransfer…
Browse files Browse the repository at this point in the history
…DataParams`
  • Loading branch information
remi-stripe committed Feb 12, 2020
1 parent 522a17c commit 8dd02ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions checkout_session.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ type CheckoutSessionLineItemParams struct {
// CheckoutSessionPaymentIntentDataTransferDataParams is the set of parameters allowed for the
// transfer_data hash.
type CheckoutSessionPaymentIntentDataTransferDataParams struct {
Amount *int64 `form:"amount"`
Destination *string `form:"destination"`
}

Expand Down

0 comments on commit 8dd02ea

Please sign in to comment.