#arsalan-decline_code
1 messages · Page 1 of 1 (latest)
hey there, this should appear under the failure_code:
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.
in failure_code its appearing only card_declined which is not in the list of described ones ie there is no description mentioned in the url
can you share an example charge id?
evt_3JZEtjAn6KHFw7ob0sEsDjPo
ah thanks
right, the detailed code is in outcome.reason if available: https://stripe.com/docs/declines#issuer-declines
Learn why some payments fail and what you can do to decrease your decline rate.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
in this test charge for example it was generic_decline so there really isn't any specific actionable detail for you
in others there will be proper ones from the link I shared right ?