#bt-tr_api

1 messages ¡ Page 1 of 1 (latest)

flat karmaBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1257518526483398748

📝 Have more to share? Add details, code, screenshots, videos, etc. below.

frank island
#

How did you call Stripe API? Could you share the code?

light elbow
#

$stripe = new \Stripe\StripeClient(config('app.STRIPE_API_KEY'));

    $balance = $stripe->balance->retrieve();
#

When i call the method retrieve() then return error

frank island
#

If you try to call the API directly using cURL or postman, does it work?

light elbow
#

When check with postman it working!

frank island
light elbow
#

I will check it

light elbow
#

My server not block the Stripe IP

frank island
#

Is your server on local machine or the hosting provider?

light elbow
#

it is a aws

frank island
#

Since the request has not been made to Stripe, the issue is likely with the connection issue prior to reaching to Stripe API. I'd recommend checking with the server hosting provider if they block Stripe IP addresses. Some example: https://stackoverflow.com/questions/64012011/laravel-cannot-not-connect-to-stripe

light elbow
#

Thanks you for your support i had been find the error the reason is my server had block port 443