#nier_disputes-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/1441156583408271542
๐ 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.
- nier_api, 1 day ago, 10 messages
Another question, can we have a webhook both for platform (non connect) and connect accounts?
Or I would need to create 2 webhooks and use 2 webhook secrets
Hi ๐
You can use the Update API and the evidence parameter
can we have a webhook both for platform (non connect) and connect accounts?
This requires creating to Webhook Endpoints in Stripe. But you can have both Endpoints route to the same URL if that makes sense for your integration.
both do I need two webhook secrets?
Yes
How would I know which webhook secret to use though? If both webhooks are the same
In the Event object there is an account property that will only have a value if the Event is from a Connected Account
@foggy haven about my first question,
I'm talking about submiting, now adding evidence
I set submit: false, to my endpoint but it stills sbumits
return stripe.disputes.update(
disputeId,
{
evidence: evidencePayload,
submit: false,
},
);
Can you share an example?
nier_disputes-webhooks
yes
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
I cannot use dashboard links. Please just share the object ID at the end.
Okay that's the dispute id
yes
do you need anything else?
Can you share the request ID for the request where you provided the prarameters you listed above?
Do we have the request ID in the dashboard? I can only see the payment and dispute id
great
I don't see submit: false though
let me try logging the response from the api
It's not the response. Your request did not provide the submit parameter. You can see it's not in the request body
And in our docs we call out this defaults to true
Whether to immediately submit evidence to the bank. If false, evidence is staged on the dispute. Staged evidence is visible in the API and Dashboard, and can be submitted to the bank by making another request with this attribute set to true (the default).
yes but as I said,
await stripe.disputes.update(
disputeId,
{
evidence: evidencePayload,
submit: false,
metadata: {
ots_automated_evidence: 'true',
ots_evidence_updated_at: new Date().toISOString(),
},
},
submit is set to false here
is this the wrong way to set submit as false?
Hi there ๐ jumping in as my teammate needed to step away. Nope that doesn't look like it's the wrong way.