#blaze_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always 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/1299257978167492641
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
hi there, can you share the request id [0] where you're seeing that error? it'd look like req_xxx
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
can i get it from the dashboard gui?
probably, yes
req_RvZNs7u1wJe2Fy
The destination is supposed to be a ba_ or card_ object. Not the Stripe Account id i.e. acct_.
To create a payout on the connected account, you need to use the StripeAccount header : https://docs.stripe.com/connect/authentication
https://dashboard.stripe.com/test/logs/req_RvZNs7u1wJe2Fy - that's not true in the request id you shared
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
you're passing in acct in ^ request
oh okay let me cross check just allow me a moment please
I am building this in laravel
-> What i want to acheive
- I am building an app where users can book a chef. To book chef's user is paying through STRIPE CHECKOUT.
now i have to pay the chef their cut.
-> What i have done so far
- $account = Account::create([
'type' => 'express',
'country' => 'US',
'email' => $user->email,
'capabilities' => [
'card_payments' => ['requested' => true],
'transfers' => ['requested' => true],
],
]);
creating a connect account for the logged in chef
- once created then it movies to on_boarding
$accountLink = $this->stripe->accountLinks->create([
'account' => $account->id ?? $user->stripe_connect_id,
'refresh_url' => route('chef.account.settings'),
'return_url' => route('chef.stripe-connect-account.create-success'),
'type' => 'account_onboarding',
]);
These two steps are working fine no problem with them
-
$stripePayout = \Stripe\Payout::create([
'amount' => 10000,
'currency' => 'usd',
'destination' => $validAccount->id,
]);no i am just trying to payout (just to test if working or not)
using $this->stripe->accounts->allExternalAccounts($user->stripe_connect_id);
this to retreive tha ba_ object
you should be using the StripeAccount header when creating the Payout