#ptman_webhooks
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/1381920572908376106
📝 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.
- ptman_unexpected, 7 minutes ago, 23 messages
👋
Could you please share what is the issue you are facing here?
Between, the event evt_3RYNtMJU9SZr1WsC1Eo4apZV isn't a refunds.updated one ...
It's payment_intent.amount_capturable_updated
👋 taking over for my colleague. Let me know if there's any follow-up Qs I can answer!
Yes, I can't really give you the id for an event I don't receive
but it's related to the same pi_
and this is related to my earlier support thread today, it just was closed and locked, otherwise I would have continued there
So I would need the information from the refunds.updated, but I'm not getting it
and the refunds don't seem to be available when the payment is captured
So I need the webhook in order to be able to get at the data
the PI you provided wasn't refunded
check the previous thread
I'm interested in stripe processing fee refund
so if I'm not getting that information from refunds.updated webhook event, then where is that information available?
refund.updated events happen when you create a refund on a payment
this is not your case
ok, that's what I was told previously today
you just partially captured a payment https://dashboard.stripe.com/test/logs/req_Bt5O0nJLRRFalC
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
yes
well, forget everything about webhooks and please take a look at the previous thread, since that's my original problem
would you mind summarizing the issue so I don't have to go back and forth?
What did you expect to happen?
Our bookkeeper complained that we no longer provide matching reports. So something has changed. So we expected everything to work like it did before.
What actually happened?
Looking at the dashboard, it seems like there's a new "stripe processing fee refund" that's deducted from processing fees that we haven't encountered before.
Reproduction Steps
We sometimes do partial captures of holds. Apparently this now results in refunding some fees. We're also using stripe connect if that matters.
Question
When did this change and why? Where can we access the refund amount in the API so that we can provide accurate reports to our bookkeeper.
What are you working on?
laakari.chat
can you try retrieving the balance transaction https://docs.stripe.com/api/balance_transactions/retrieve txn_3RYNtMJU9SZr1WsC1V5H1nk1 and share the results here please
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I'm getting resource missing
is connect complicating this?
I tried to access the balance transaction via the connect platform account
did you add the Stripe Account header?
the transaction is on the connected account rather than the platform
does the stripe cli allow for specifying that?
yes
ah, found it
{
"id": "txn_3RYNtMJU9SZr1WsC1V5H1nk1",
"object": "balance_transaction",
"amount": 2499,
"available_on": 1750118400,
"balance_type": "payments",
"created": 1749545480,
"currency": "eur",
"description": null,
"exchange_rate": null,
"fee": 1047,
"fee_details": [
{
"amount": 941,
"application": "ca_GXwMxez7fQ6IzCuUDARQCaCkoNm1wXJl",
"currency": "eur",
"description": "Lääkäri.chat application fee",
"type": "application_fee"
},
{
"amount": 106,
"application": null,
"currency": "eur",
"description": "Stripe processing fees",
"type": "stripe_fee"
}
],
"net": 1452,
"reporting_category": "charge",
"source": "ch_3RYNtMJU9SZr1WsC11L46G9C",
"status": "pending",
"type": "charge"
}
that doesn't show the "stripe processing fee refund"
that's visible in the dashboard
so the data in this balance transaction we already have
which API version are you using?
good point, it's probably some older one since we haven't really touched payments in a while
2022-11-15
Default
so would upgrading the api version reveal additional fee details?
no I don't think so
I'm not really sure to be honest, this is something I haven't seen in the past.
did you follow the link that my colleague sent you in a DM to create a case?
yes
perfect, my team will try and get you your answer asynchronously and we will get back to you shortly
there's no benefit from duplicating the efforts, especially that I don't have the answer directly for you and we would need to further investigate internally
ok, thanks