#919889495555_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/1289205067941150744
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- 919889495555_api, 2 days ago, 41 messages
- 919889495555_api-account-support, 3 days ago, 32 messages
hi there!
a Transfer object has no status: https://docs.stripe.com/api/transfers/object
track what exactly?
a transfer from your platform to a connected account? a payout from your stripe account to your bank account? a payment from a customer to your stripe account?
Yes. so I want to track the amount of transfers connected account to the bank account or not because based on the amount transfer successfully to the bank I need to update my server.
the amount of transfers connected account to the bank account
it's not a Trasnfer, it's a Payout
ok
and the Payout has a status: https://docs.stripe.com/api/payouts/object?lang=node#payout_object-status
ok but if I hit this API this time I need this kind of ID: po_1OaFDbEcg9tTZuTgNYmX0PKB
But I don't have this Id
When I hit the API transfer list I got all the list of data. and in this json I don't receive this kind of Id.
{
"id"
:
"tr_1Q3EVIIiraP5FCFcAv04Q2DY"
Copy
,
"object"
:
"transfer"
,
"amount"
:
500
,
"amount_reversed"
:
0
,
"balance_transaction"
:
"txn_1Q3EVJIiraP5FCFchxFRW4NQ"
Copy
,
"created"
:
1727344856
,
"currency"
:
"gbp"
,
"description"
:
null
,
"destination"
:
"acct_1Q3BZyIC7vss08LI"
Copy
,
"destination_payment"
:
"py_1Q3EVIIC7vss08LIyfv3uyzk"
Copy
,
"livemode"
:
false
,
"metadata"
:
{}
,
"reversals"
:
{… 5 items}
,
"reversed"
:
false
,
"source_transaction"
:
null
,
"source_type"
:
"card"
,
"transfer_group"
:
"7"
,
}
can I check it based on this ID: py_1Q3EVIIC7vss08LIyfv3uyzk
a Transfer is money sent from your platform account to your connected account. but from what you said earlier, what you want is the Payout (money sent from a Stripe account to a bank account)
here's how to list Payous: https://docs.stripe.com/api/payouts/list?lang=node
I will give you an example: - Suppose I am the admin and I have transferred the amount to person A. so amount will goes to person A account. After that amount automatically goes to Person A bank account. so now I want to track whether the amount is successfully transferred person A account or not.
I know he is a connect user but I want to confirm from my side.
So do you want to be notified when the funds hit the customer's bank account or when the funds are just in their stripe account balance?
Yes, but when the customer has received the balance in the bank account.
Ok so you want to be notified of a payout, not a transfer
Yes
Do they have automatic payouts on?
They don't know about anything else. Actually, I am creating the process with API even though person A doesn't know about the payment gateway.
wait I will explain to you all the process.
I just need to know if you're setting up automatic payouts or manual
when the vendor registers on my server therese time I hit your API and create self::Stripe()->accounts->create
after that again I am using your API to update the details and add the bank details for the vendor
Stripe()->accounts->update
self::Stripe()->accounts->createExternalAccount(
'acct_1Q2uUZROd8dIznXZ', // Replace with the connected account ID
[
'external_account' => [
'object' => 'bank_account',
'country' => 'GB',
'currency' => 'GBP',
'account_holder_name' => $account_holder,
'account_holder_type' => 'individual',
'routing_number' =>$sort_code, // Replace with real routing number
'account_number' => $account_number, // Replace with real account number
// 'account_ifsc_code' => 'PUNB0631800',
// 'account_type'=>'savings'
'default_for_currency'=>true
],
]);
After creating everything I am using this api.
return self::Stripe()->transfers->create([
'amount' => 1,
'currency' => 'gbp',
'destination' => 'acct_1Q2vjWIwkC6Mtt1Sd',
'transfer_group' => 'ORDER100',
]);
Do you understand my point or not?
I just need to know if you're setting up automatic payouts or manual
Everything else was clear already
Oh well if you're using manual payouts, then you'd know exactly when the payout hits the bank account
Since the platform account controls the payout timing
Then how I can solve this issue ?
If using manual payouts, you control in your code exactly when a payout is made
Each payout object has an arrival_date: https://docs.stripe.com/api/payouts/object#payout_object-arrival_date
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
So you'd just look at that after creating the payout
It's not use full for me
I think you do not understand my point
I am not using your payout api then how I get the po_1OaFDbEcg9tTZuTgNYmX0PKB Id
I am telling you I am using only transfer api for sent amount to connected account
Idk that's not coming up as a valid payout id
You told me you were using manual payouts
So I took you at your word
If you're using automatic payouts instead, it's different
That's why I specifically asked if you were doing manual or automatic
I am telling you again and again I am not using your payout API. I am just using transfer API
Above you answered my question :
manual
??```
I asked if you used automatic or manual payouts
If you are opting for manual payouts, then you are required to call payouts api yourself
If using automatic payouts, it will happen for you
But sounds like you are actually using automatic payouts not manual payouts
With automatic payouts, this is harder
You'd need to do something like this: https://docs.stripe.com/payouts/reconciliation
To get a list of which transactions are bundled in the payout to reconcile