#Shankar
1 messages · Page 1 of 1 (latest)
Can you share the ID (req_xxx) of the failing API request? 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.
i checked in the logs also but did not found anything related this error.
If you're receiving a 4xx error then there will be an associated log/req_xxx ID
I can't really help without know the actual error code, and seeing the parameters you're using
yes i understood that but I have refreshed the page multiple times but still i did not see any error logs related to this
Ok, can you share the code you're using the make the API request?
Maybe your acct_xxx ID too
sure
requestBody.put("customer", customerId);
requestBody.put("amount", postdata);
requestBody.put("currency", "usd");
requestBody.put("destination", "acct_1NVqDjHKeg6QPoLO");
requestBody.put("transfer_group", "ORDER10");
I suspect the customer parameter is likely causing the error as that's invalid: https://stripe.com/docs/api/transfers/create
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
i even tried removing the customer id and got the same issue
I can see this API request: https://dashboard.stripe.com/test/logs/req_AH7PMPqJ0LVuOs
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
But that returned a 2xx response
You need to catch the error if the request fails. That will contain all the details