#smileydev-apikey
1 messages · Page 1 of 1 (latest)
I am using standard account
looks like you're missing an API key when instantiating Stripe? What does your code look like (pls don't paste any API keys, redact any private info)
const stripeClient = new Stripe(STRIPE_API_KEY_V2, "2019-02-11");
You mean this? I was wondering if I am missing a header like const invoiceOfItems = await stripeInvoiceClient.invoices.retrieve( invoiceData.invoiceId, { stripeAccount: invoiceData.stripeConnectedId } );
log out STRIPE_API_KEY_V2 in your code before to make sure you are retrieving the API key as expected as a string and it is being passed in (again don't share it here, that is your secret key)