#mv-connect
1 messages · Page 1 of 1 (latest)
@dusky hornet https://stripe.com/docs/connect/account-balances#accounting-for-negative-balances covers this in detail
by 'wiped out' probably it's just there were some more payment which brought the balance back positive again, or we moved reserves from your platform to the connected account to clear the negative balance; it really really depends on the specific examples
Ok i think it moved reserves from our platform to clear the negative balance. Is there any way to stop this happening/ can we get notified when this happens?
From the docs, it seems this is done after 180 days
you can see it happen in your balance reports
I think it's https://dashboard.stripe.com/balance?type=connect_collection_transfer or one of the other related Types in the Filter menu there
there's not really a direct notification/webhook event as such no, and you can't stop this from happening as far as I know
yep, it's likely something you want to build in to your reporting
thanks! I have another question related to payouts - if we send a transfer today (and our payout schedule is daily) - is this always paid out the next day? what about weekends/public holidays?
I think it depends on the countries involved
I don't really know, I answer API questions here, our support team at https://support.stripe.com/email would know!
No worries, thank i'll drop them a message
and is there a way of knowing the "Expected payout date" once a transfer is made to a connect account?
yep it would be the available_on field of the BalanceTransaction linked to the transfer.destination_payment , i.e. the available date of the balance transaction on the connected account that's caused by the transfer arriving
what's the endpoint for the BalanceTransaction?
https://stripe.com/docs/api/balance_transactions (plus the Stripe-Account option (https://stripe.com/docs/connect/authentication) since you'd be retrieving the BT from a connected account)
thank you!
probably easier to explain in code if an example helps
// create a test destination charge and expand the Transfer created
let pi = await stripe.paymentIntents.create({
amount: 1000,
currency: 'eur',
payment_method_types: ['card'],
payment_method:"pm_card_visa",
transfer_data:{destination:"acct_1Jk4zMR1CS6AzsX4"},
confirm:true,
expand:["charges.data.transfer"] // https://stripe.com/docs/expand
});
// look at details of the transfer arriving on the connected account
let destPayment = await stripe.charges.retrieve(pi.charges.data[0].transfer.destination_payment, {expand:["balance_transaction"]}, {stripeAccount:"acct_1Jk4zMR1CS6AzsX4"});
console.log(destPayment.balance_transaction.available_on)