#haltetothewood - issuing card
1 messages ยท Page 1 of 1 (latest)
Hey, thank you. What would be the request ID? I have the card id?
The stripe event id is: ipi_1KK2zLQaFntjgR7RCXyPrppG
I should also mention the card is issued within a connected account if that makes a difference.
When querying for a card id using issuing.card.retrieve
This should be an API request, and if you get an error I can inspect that
like a. req_123
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Hmm. I was using the node SDK.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Hmm I checked out the developer logs and I see that the requests aren't being associated with the connected account
Even though when creating the client we pass that in ๐คทโโ๏ธ . There doesn't seem to be an option to pass in a connected account to the retrieve card request according to the docs.
Can you share a snippet of code for this retrieve request?
const {
metadata: { requestId },
} = await stripe.issuing.cards.retrieve(cardId,
{
stripeAccount: getStripeConnectedAccountId(),
});
That's terrible formatting sorry
getStripeConnectedAccountId() basically returns our test connected account
I also tried: const card = await stripe.issuing.cards.retrieve(cardId) and got the same error
I think everything is fine
OK thats a good start, and makes sense why i don't see errors fitting this pattern (i was filtering only to API error responses)
The error message comes from an internal service
NP!
Glad you got it figured out!
I am but a humble rubber duck, a giant one though
โญ