#victorconnexion
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. 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.
- victorconnexion, 2 days ago, 13 messages
Can you share the request ID (req_xxx) which you refunded the application fee? Here’s how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
does this work ? this is the body in the local listener , but it didn't appear in the test webhook
{
id: 'fee_1O8HRHEDHsfYjXUPnQRgLzlM',
object: 'application_fee',
account: 'acct_1NYl90EDHsfYjXUP',
amount: 100,
amount_refunded: 100,
application: 'ca_NthLdcdTcRwrDTkvQJX6GumHTSPYZh3V',
balance_transaction: 'txn_1O8HRKCVHi5xuVp5dsYZ3YA9',
charge: 'ch_3O8HQJEDHsfYjXUP1c1OiMV6',
created: 1698995107,
currency: 'usd',
livemode: false,
originating_transaction: null,
refunded: true,
refunds: {
object: 'list',
data: [ [Object] ],
has_more: false,
total_count: 1,
url: '/v1/application_fees/fee_1O8HRHEDHsfYjXUPnQRgLzlM/refunds'
}
}
req_Zj4rnzf9vxnt6U
Thannks for sharing! How about the event ID (evt_xxx) you received in the local listener?
I saw the in local listener but not the webhook (test env)
application_fee.refunded
evt_xxx ? where can I get the id ?
{
"id": "evt_3O8HAPEDHsfYjXUP1wWMVPDn",
"object": "event",
"account": "acct_1NYl90EDHsfYjXUP",
"api_version": "2022-11-15",
"created": 1698994285,
"data": {
"object": {
the above is the one that I saw in web hook
but in the webhook it doesn't have application_fee.refunded event
evt_3O8HAPEDHsfYjXUP1wWMVPDn is the charge.refunded. Could you share the event ID (evt_xxx) of application_fee.refunded event in your local listener? You can log entire event in your code and get its ID: https://stripe.com/docs/api/events/object#event_object-id
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Ah I managed to find the event: https://dashboard.stripe.com/test/events/evt_1O8HTJCVHi5xuVp54fOodY0H
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
req_Zj4rnzf9vxnt6U
{
"refund_application_fee": "true",
"reason": "requested_by_customer"
}
That's the request, not event ID (evt_xxx). It's okay! I found the corresponding event: https://dashboard.stripe.com/test/events/evt_1O8HTJCVHi5xuVp54fOodY0H
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Checking it now
thanks
application_fee.* related event will be sent to the Webhook with Account type, i.e. platform account itself. Your webhook endpoint is set to subscribed to event in Connect type, i.e. the events on the connected account.
In order to subscribe to application_fee.* events, i'd recommend creating a new Webhook endpoint with Account type, i.e. Listen to the events on your account