#_kevinx
1 messages · Page 1 of 1 (latest)
Hi 👋
Can you share the API request ID for this error? It will start with req_
Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Here is the code I use
const session = await stripe.checkout.sessions.create(
{
mode: "payment",
line_items: [
{
price_data: {
currency: "usd",
unit_amount: 222,
},
quantity: 1,
},
],
payment_intent_data: {
application_fee_amount: 11,
setup_future_usage: "off_session",
},
success_url: `${req.headers.origin}/account&success=true&session_id={CHECKOUT_SESSION_ID}`,
cancel_url: `${req.headers.origin}/?canceled=true`,
},
{
stripeAccount: "{{CONNECTED_ACCOUNT_ID}}",
}
);
We are using Connect Standard Account with Checkout btw
If you could provide the request ID that would be useful