Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for transfer_data[destination] on PaymentIntent #724

Merged
merged 1 commit into from
Nov 15, 2018

Conversation

remi-stripe
Copy link
Contributor

r? @ob-stripe
cc @stripe/api-libraries

Copy link
Contributor

@ob-stripe ob-stripe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

paymentintent.go Outdated
@@ -80,7 +80,8 @@ type PaymentIntentConfirmParams struct {

// PaymentIntentTransferDataParams is the set of parameters allowed for the transfer hash.
type PaymentIntentTransferDataParams struct {
Amount *int64 `form:"amount"`
Amount *int64 `form:"amount"`
Destination *string `form:destination`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Destination *string `form:destination`
Destination *string `form:"destination"`

@remi-stripe remi-stripe force-pushed the remi-pi-transfer-data-fix branch from 3d363b4 to b75f5d8 Compare November 15, 2018 09:28
@remi-stripe remi-stripe merged commit b6f1aed into master Nov 15, 2018
@remi-stripe remi-stripe deleted the remi-pi-transfer-data-fix branch November 15, 2018 09:34
nadaismail-stripe pushed a commit that referenced this pull request Oct 18, 2024
* added if

* cop

* fixed tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants