#console-logger_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1273390778822950984
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
What specifically are you looking for? What request are you making to get it?
Please be specific and post code from your API call(s)
I'm looking for card information. I'm using the Node.js SDK to retrieve payment methods for a given setup intent:
const stripePaymentMethod = await stripe.paymentMethods.retrieve(
setupIntent.payment_method,
{
stripeAccount: stripeAccountId,
}
);
If you console log setupIntent, does it show a Payment Method?
Okay, so you can successfully retrieve the ID from setupIntent.payment_method? So what's going wrong from there?
Yes I successfully retrieve the payment method. But the payment method doesn't have any card information
It has a "link" object, but the link object just has the email. No card information
That's to be expected. Link acts as it's own payment method type. There's no Card object to get card info from.
So there is no way for me to access the card information for somebody who's using a link payment method?
Correct.