#us-Webhook
1 messages ยท Page 1 of 1 (latest)
Hi there, you want to get a list of decline_codes?
Are these codes captured under "payment_intent.payment_failed" event?
or is there a different event for each code?
Yes, one of these codes will be included in the "payment_intent.payment_failed" event.
only one? where can I find rest of events details which capture other codes?
Sorry I don't really understand your last question, what do you want to achieve with decline codes?
we are planning to call decline codes, event which captures decline codes to Salesforce. I would to know which webhook event captures all these decline codes?
What do you mean by call decline codes?
we will be pulling decline code details to Salesforce
so basically you just want to know the description of the decline_code? For example, what does card_not_supported mean?
No I see those details in this link https://stripe.com/docs/declines/codes My question is which events are created when payments are declined/failed
๐ stepping in
Those decline_codes could come from https://stripe.com/docs/api/errors#errors-payment_intent-last_payment_error-decline_code or https://stripe.com/docs/api/errors#errors-setup_intent-last_setup_error-decline_code, which is inside a an error object
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Thank you
It could comes from https://stripe.com/docs/api/charges/object#charge_object-failure_code
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.