#krista2780
1 messages ยท Page 1 of 1 (latest)
Hi there ๐ what error are you running into? If it includes a request ID (req_), could you share that as well so I can take a closer look?
tripe.error.InvalidRequestError: Request req_BE2MqMyCvA8HqK: Received unknown parameter: stripe_account_id
stripe*
You're passing Stripe-Account ID in request body, you should pass it in the header instead
https://stripe.com/docs/api/connected_accounts?lang=node
interesting -- we (i'm working with Krista) are using the stripe python library and some calls just allow us to pass in the connected account_id, do you know if we need to manually set that header or if the python library has a way of setting it for us?
for python, stripe_account_id isn't really a valid field.
its only stripe_account afaik
https://stripe.com/docs/api/connected_accounts?lang=python
that also doesnt work. we get "no sush coupon exists"
can you share the new request ID?
stripe.error.InvalidRequestError: Request req_hhRFHsiolUqCc9: No such coupon: ****
Oh that coupon doesn't belong to the connected account
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
it was created by the platform on the platform account
I see, you're right that is an old coupon. I am testing the change you recommended to do stripe_account
It's difficult because sometimes the requets require stripe_account_id and sometimes its stripe_account and it seems inconsistent.
๐ stepping in as hanzo needs to step away
When passing the Stripe Account header it should not be a different key
Should be the same each time so not exactly sure what you mean by:
It's difficult because sometimes the requets require stripe_account_id and sometimes its stripe_account and it seems inconsistent.
you're correct, all requests take stripe_account. sorry about that
it looks like we can delete the coupon now thank you
Glad you figured it out!
thx all!