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 passing Bank for P24 on PaymentIntent or PaymentMethod #1217

Merged
merged 1 commit into from
Oct 23, 2020

Conversation

remi-stripe
Copy link
Contributor

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

@@ -329,6 +330,7 @@ type PaymentMethodOXXO struct {

// PaymentMethodP24 represents the P24 properties.
type PaymentMethodP24 struct {
Bank string `json:"bank"`
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Technically bank is an enum so it should have a list of constants but we haven't done that for other bank properties on PaymentMethod yet so I want to stay consistent (easier for code examples and such) and we can fix with codegen later (or manually if needed).

@remi-stripe remi-stripe merged commit 4aa5f51 into master Oct 23, 2020
@remi-stripe remi-stripe deleted the remi-p24-bank branch October 23, 2020 19:17
nadaismail-stripe pushed a commit that referenced this pull request Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants