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

display_brand type missing in PaymentMethods.Card #2013

Open
BitWonka opened this issue Feb 1, 2024 · 2 comments
Open

display_brand type missing in PaymentMethods.Card #2013

BitWonka opened this issue Feb 1, 2024 · 2 comments
Assignees

Comments

@BitWonka
Copy link

BitWonka commented Feb 1, 2024

Describe the bug

display_brand type is missing in the PaymentMethods.Card but it is sent by the api

display_brand: {
        label = "Visa"
        logo_url = "https://b.stripecdn.com/cards-metadata/logos/card-visa.svg"
        type = "visa"
}

To Reproduce

retrieve the payment for a card
stripe.paymentMethods.retrieve(<Payment Method Id>);

display_brand are inside the card object but display_brand are not on the type

Expected behavior

display_brand should be on the card

Code snippets

No response

OS

macOS

Node version

Node v20.6.1

Library version

stripe-node v14.14.0

API version

2023-10-16

Additional context

No response

@BitWonka BitWonka added the bug label Feb 1, 2024
@BitWonka BitWonka changed the title brand_details type missing in PaymentMethods.Card display_brand type missing in PaymentMethods.Card Feb 1, 2024
@richardm-stripe
Copy link
Contributor

richardm-stripe commented Feb 2, 2024

Hello @BitWonka. Thanks for reporting this. This field is part of new functionality that hasn't been fully released. Please don't rely on this field just yet.

@BitWonka
Copy link
Author

BitWonka commented Feb 2, 2024

looks like it just got removed from the API response 🥹

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

No branches or pull requests

3 participants