#brian-johnson_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/1232058173381284021
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
hello, looking
that event wasn't for a chargeback, right?
It was for this Destination Charge: https://dashboard.stripe.com/test/logs/req_PhmF3vaPnrzbII
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Yeah should be
I'm testing chargebacks for a new report
and am using the text card numbers from here
see the "Source: API" link at the top of that page
sure I understand you're testing chargebacks but I'm saying the event you linked is for the Destination Charge
OK
so there should be a different event for what you're saying
OK yeah there are a number of events for the chargeback
the transfer.created is the one I linked you to
I apologize as I am confused about it
So when a charge back happens
the connected account gets dinged $15.00 + the amount of the chargeback
I was under the impression that was taken from the platform's account balance
not the connected account's account balance
but here instead I see the charge back amount is being ADDED to the connected account balance
I'm certain I am totally misunderstanding something here
Here's the charge.dispute.funds_withdrawn event: evt_1P8St0BZdPwcgHSOhjYn7QuJ
How do I tell which account that was withdrawn from?
taking all of your questions
the transfer.created is the one I linked you to
that event is for the initial payment, not for the (later) chargeback.
answering the others one sec
I was under the impression that was taken from the platform's account balance
let me refresh myself on this part
ok thanks
How do I tell which account that was withdrawn from?
in Destination Charges, the platform balance pays for chargebacks: https://docs.stripe.com/connect/destination-charges?platform=web&ui=stripe-hosted#flow-of-funds-app-fee
Your account balance is debited for the cost of the Stripe fees, refunds, and chargebacks.
let me lay out a clearer picture of that PaymentIntent and Dispute
OK thanks - yeah I thought it was our platform that was debited
have a look at "Events and Logs" section here: https://dashboard-admin.stripe.com/test/payments/pi_3P8SsxBZdPwcgHSO1SESyllY
this is all on the Platform account as that is where the PaymentIntent lives. the PaymentIntent amount $81.60 was deducted and $15.00 were deducted from the platform account balance
OK yep - let me double check I have this correct then
- the payment intent succeeds and that increases the connected account balance
- some point later we get a charge back
- the chargeback amount + fee is deducted from the PLATFORM account
- it is then up to us to debit the connected account
So the reason I see the connected account balance INCREASE is due to the successful payment intent
the platform balance is decremented for the chargeback + fee
so then it's up to us to decide how to decrement the connected account balance
yep all of that is correct!
so yes you have it exactly right
np glad to help and talk it through