#neil.keena-SetupIntent
1 messages · Page 1 of 1 (latest)
Hi! Can you share the request ID (req_xxx)? Here's how you can find it: 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.
Hey, the request doesn't get logged
I've tested other failed requests and can see them in the logs but when I hit this endpoint I only get the 400 response but nothing in the logs
Can you share with me the code?
I'm using Laravel to make an HTTP request with Guzzle
$response = Http::acceptJson()
->withToken(config('services.stripe.secret'))
->withHeaders([
'Stripe-Account' => $stripeAccountId
])
->post('https://api.stripe.com/v1/setup_intents/'.$stripeSetupIntentId.'/verify_microdeposits', [
'descriptor_code' => $data['descriptor_code'],
]);
Here's my request
You should use Basic authorization and set the secret key as the username
What do I use as the password?
Leave it empty
Okay.
I got it working. I was sending the post data incorrectly
Needed to send it as application/x-www-form-urlencoded and not application/json
Actually maybe not. I get a 200 but the setup intent does not get verified
Send me the request ID?
Now it's working, lol
Just successfully verified a setup intent
req_1tac2gVoKLVbRg
Nice, the SetupIntent is already suceeded
Thanks for the help
No problem! You figure it out yourself!