#cole-caccamise_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/1359584873404432486
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
another example that I have both request ids for:
works from the dashboard: req_5qdfDmmqfG5Ceb
"account": "acct_1RBzC5PO2hY68Qv4",
"collect": "currently_due",
"refresh_url": "http://localhost:3000/bank_accounts/refresh_stripe_link?account_id=acct_1RBzC5PO2hY68Qv4&club_id=168",
"return_url": "http://localhost:3000/stripe/authorize/callback_custom?state=eyJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50X2lkIjoiYWNjdF8xUkJ6QzVQTzJoWTY4UXY0IiwiY2x1Yl9pZCI6MTY4fQ.moOo92I8NkwHRkkQWMQirRNWIxLA_WeA6STiBBk8PWo",
"type": "account_onboarding"
}
Fails via the api: req_GeDgKEQZqAIKZK
{
"account": "acct_1RBzC5PO2hY68Qv4",
"refresh_url": "http://localhost:3000/bank_accounts/refresh_stripe_link?account_id=acct_1RBzC5PO2hY68Qv4&club_id=168",
"return_url": "http://localhost:3000/stripe/authorize/callback_custom?state=eyJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50X2lkIjoiYWNjdF8xUkJ6QzVQTzJoWTY4UXY0IiwiY2x1Yl9pZCI6MTY4fQ.moOo92I8NkwHRkkQWMQirRNWIxLA_WeA6STiBBk8PWo",
"type": "account_onboarding"
}
uses the same account_id acct_1RBzC5PO2hY68Qv4
Hi, taking a look here
If you look at this request, https://dashboard.stripe.com/test/logs/req_5qdfDmmqfG5Ceb you can see that the request was made on this account,
acct_1Q5WlhPARUqHhY7s.
However, on this request, https://dashboard.stripe.com/test/logs/req_GeDgKEQZqAIKZK it looks like you're passing the Stripe Account Header: https://docs.stripe.com/connect/authentication
You do need that. Can you try making the same request without the Header and see if that works?
missed that, all good now. thanks!