#aminshoukat
1 messages ยท Page 1 of 1 (latest)
Hi ๐ every account has a live mode, I would suggest trying to use your live key to make the request to delete the Connected Account. You should be able to get that key from your the dashboard here:
https://dashboard.stripe.com/apikeys
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
I already tried.
I am getting this when using live key:
The account *** was a test account created with a testmode key, and therefore can only be used with testmode keys.
getting error with both, Test key and live key. What's the issue I don't get it.
Hm, can you share the ID of requests that returned those errors?
Which ID ?
The ID of the requests, they should start with req_
https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Thank you, and can you confirm whether your request is using the stripeAccount header?
I am using PHP
Using Github PHP library provided by stripe.
$stripe = new \Stripe\StripeClient( $stripe_api_key );
$response = $stripe->accounts->delete(
'acct_1Msd5mBZiAWYKIvr',
[]
);
var_dump($response);
๐ hey there, giving @ornate elbow a hand with this and looking at things
Good. Can you please solve this issue?
I'm looking at the account and example request and will let you know what i find ๐