#olush - api error
1 messages ยท Page 1 of 1 (latest)
Hi ๐
Can you share the request ID that triggers this response?
Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
olush - api error
Any API call that returns an error object should show up in the logs. Did you clear all the applied filters? (Some are set by default)
And this customer exists on your account?
Yes it is, still i can see it on my account
evt_1Lz2rhFBwz2k3aCFi50E6KJA
this ID was an error event id
I think this isn't related with this point?
Nope, that is nothing to do with this. That is for a report
How about the Customer ID?
cus_Mg0ink5WThvue6
Thanks
welcome
@olive hull that error means you are passing a customer id cus_123 in the wrong part of the API (the Stripe-Account header)
Can you share your code maybe?
yeah you're misunderstanding the API(s) here. You're using the Delete Account API https://stripe.com/docs/api/accounts/delete which is Connect related.
Seems like you just want the Delete Customer API maybe https://stripe.com/docs/api/customers/delete
No worries at all ๐
Thank you, have great days ๐ค