#lakshmi_bankaccount-verify
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1248734271871389739
đ Have more to share? Add details, code, screenshots, videos, etc. below.
Stripe Account Id - acct_19o4IFJv9j0DyntJ
Hi, taking a look here
I'm certain the reason why you're seeing this error, https://dashboard.stripe.com/test/logs/req_rknnV1uQnUkz3e is because that object belongs to
account ending in ...ntJ but you made the request on account ending in ...eCLj. You could want to use the Stripe Account Header, https://docs.stripe.com/connect/authentication#api-keys.
Can you try this?
lakshmi_bankaccount-verify
Okay,
Now I am creating a bank account object
Original-Request -> req_NE2fQ4PdEEZ3D5
Customer is created with the same account and same header version
Original-Request -> req_em9vUK23H1sopp
And try to verify the bank account and facing this error
{
"error": {
"code": "resource_missing",
"doc_url": "https://stripe.com/docs/error-codes/resource-missing",
"message": "No such customer: 'cus_QFf0tgoRmTJhlr'",
"param": "customer",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_0rDfGLZGAaufTK?t=1717793314",
"type": "invalid_request_error"
}
}
@median olive you really are just making the request on the wrong account. Can you share your exact code? (no API keys please)
Do you mean to say
req_NE2fQ4PdEEZ3D5
req_em9vUK23H1sopp
are from one account and
req_0rDfGLZGAaufTK is directed towards a different account?
You are a platform, let's say acct_A
You have a connected account, lets say acct_B.
The first 2 requests, you use the Secret API key from acct_A (normal) and used the Stripe-Account header set to acct_B to make the request on acct_B.
The 3rd request, you forgot to put the Stripe-Account header so it made the request on your platform account acct_A. It errors since that Customer only exists on acct_B