#keithm
1 messages · Page 1 of 1 (latest)
you can retrieve the /v1/accounts endpoint with the secret key, it will return the Account object that the key belongs to
we get an error: "message": "You cannot access the connected accounts of your platform's connected accounts.",
but in this error the url has the account id we're looking for
so thank you, this will work for us just checking a few accounts manually
you're fetching an account like /v1/accounts/acct_123
I'm saying just fetch /v1/accounts
yup, we get back
{
"error": {
"message": "You cannot access the connected accounts of your platform's connected accounts.",
"request_log_url": "https://dashboard.stripe.com/acct_1BC5EZDIHc0kZqFw/logs/req_auoLALXSrNLAZo?t=1682092393",
"type": "invalid_request_error"
}
}
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
when calling /v1/accounts
this is because the key we're using is the Connected Accounts key
thankfully the url there gives us the id of the account we were looking for
ah I see
thanks for your help with this, really appreciate it