#Vijaykrishnan
1 messages · Page 1 of 1 (latest)
Hi there
hi
You initiated a manual payout in test mode here it looks like?
correct
It should move to paid instantly in test mode
But it still shows the processing badge in the Dashboard if you refresh the page?
even after refresh i dont see any change to Payout
Hmm and if you look at the payout directly does it show Paid?
nope
{
"application_fee_amount": "10000",
"transfer_data": {
"destination": "acct_1MrJl0QVVIPF7zEy"
},
"currency": "usd",
"off_session": "true",
"customer": "cus_NcYfU3ntGgzhXK",
"payment_method": "pm_1MrJa7Hdtz9jEBQSjbMtDVC7",
"confirm": "true",
"amount": "100000",
"payment_method_types": [
"card"
]
} - this is my request
am i missing any ?
Ah I didn't look closely. That payout was a debit
Because your Connected Account had a negative balance
Yes the above looks fine for creating a destination charge
It did not what?
You have $0 available to payout
So you can't initiate a payout here
You need to use one of these test cards: https://stripe.com/docs/testing#available-balance
Then the balance will be available immediately and you can test a payout if that is what you are trying to do
lemme explain - tell me where it is wrong
- I have a customer with card id 4242 4242 4242 4242
- I am doing a payout to the connected account using below
{
"application_fee_amount": "10000",
"transfer_data": {
"destination": "acct_1MrJl0QVVIPF7zEy" => this is the connected account
},
"currency": "usd",
"customer": "cus_NcYfU3ntGgzhXK",
"off_session": "true",
"payment_method": "pm_1MrJa7Hdtz9jEBQSjbMtDVC7", => This is the customer payment method
"confirm": "true",
"amount": "700000",
"payment_method_types": [
"card"
]
}
3. So it should have transferred 7000 immediately to the connected account right ?
or if the connected account has negative balance of 5966 considering earlier 1000 and this one it should have paid some amount
A payout and a transfer are two different things.
Yes it will transfer the funds immediately to the Connected Account
But those funds won't be paid out because they aren't available yet
when will be they be available if i let stripe do it ?
If you use one of the test cards from the documentation I linked above then the funds will be available immediately so you can test payouts
But in live mode it will always follow the above payout speeds
still it is not paying immediately even i have amount in account - i am not sure what approach it follows
Well did you create a manual payout?
Auto payouts are once per day
So they won't be immediate
And you are on manual payouts
So you need to actually initiate the manual payout
You can do this via the Dashboard or via the API
the api request i sent you wont do that ?
No it only creates the transfer
To create a Payout for the Connected Account you use this endpoint: https://stripe.com/docs/api/payouts/create and you use the Stripe Account Header (see: https://stripe.com/docs/connect/authentication)
ok
in real time once i do the transfer the payout will happen as per the schedule + payoutspeeds
i dont want to manually do the payout because it is asking for my connected account bank which i dont want to store or retrieve..
But if you use manual payouts for the Connected Account then you have to create the Payout as I showed you above, but you can't do that until the funds are available, which is based on the payout speed.
Okay then yeah you want to just use automatic payouts and yes they will be performed based on the payout speed