#juiceman
1 messages · Page 1 of 1 (latest)
What do you mean "based on a user"? Do you mean "customer" or "connect account"?
I want to get all the payouts for a given linked bank
jk
for a user in the platform
customer
So a Customer makes payments, and you want to know what payouts you're making to your bank account that include funds from those payments?
sorry,
once a person sells an item, then get 80% of the sale.
I think i made it so that once a payment intent has been created, it will be given in 10 days.
so once those 10 days are up, the seller should get the funds.
i want to pull all the funds transfers ( i think you guys call it payout)
at some point the moneys should go to an account with an identifier such as acct_1MjlOA4EIoSAbTHz
i think what you're looking for is https://stripe.com/docs/api/transfers/list#list_transfers-destination
a connected account is a Stripe account (https://stripe.com/docs/api/accounts) - the object id is prefixed with acct_
a payout is the movement of money from the Stripe account balance, to the bank account or card (external_account : https://stripe.com/docs/api/accounts/object#account_object-external_accounts) : https://stripe.com/docs/api/payouts. A payout object id is prefixed with po_
make a request to retrieve all payouts (https://stripe.com/docs/api/payouts/list ) with the StripeAccount header (https://stripe.com/docs/connect/authentication)
So I have to get all payout and somehow filter ?
why do you have to filter?
Becaus I just need them for the user login
When I put “acct_1MjlOA4EIoSAbTHz” for destination it does not work
you don't input the account id in the destination parameter
you specify the connected account id that you want to retrieve payouts for in the StripeAccount header : https://stripe.com/docs/connect/authentication