#karishma_api
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/1281335499507761256
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Additionally, we have customers that have Early Fraud Warning, is there a way to check that via Stripe API? Anything of that sort would be extremely helpful for us
Hi there ๐ when you referred to a blocked payment, is that one being blocked by a Radar rule that you have configured?
Yes
Gotcha, for the blocked payments it's a bit tricky, because the Payment Intent's status don't reflect if one of their attempts was blocked or declined. That's so the Payment Intent can still be used to attempt the payment again.
I think the better approach here will to be look at the Charge objects for the Customer, you can list those with this endpoint:
https://docs.stripe.com/api/charges/list
Those can have a status set to failed to indicate they weren't successful:
https://docs.stripe.com/api/charges/object#charge_object-status
I'm double checking whether we have a good field to look at to specifically identify if the Charge failed because it was blocked by Radar.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
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! failed is also helpful. In the stripe dashboard, i see blocked as a different status than failed, so if you do find anything to differentiate, thatd be great
Ah, I'd suggest taking a look at outcome.type, it looks like it can surface a blocked value:
https://docs.stripe.com/api/charges/object#charge_object-outcome-type
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 so much toby! this is exactly what i was looking for. We'll try this out