#ayush_docs
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/1415386037886128179
📝 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.
- ayush_code, 1 hour ago, 34 messages
- ayush_custom-connected-account, 19 hours ago, 45 messages
Hello, hope you're doing well!
To summarize the question, I am trying to use Radar to ban the use of credit cards in my embedded checkout flow
Is that possible/are there are other more efficient routes to do the same?
Hi, you could use Radar but you would also use: https://docs.stripe.com/payments/accept-a-payment-deferred integration. You collect the payment method details and look at the funding_type: https://docs.stripe.com/api/payment_methods/object?api-version=2025-05-28.basil#payment_method_object-card-funding to then recollect a new payment method before you create the charge if they used a credit card
I see, and this is possible when using Stripe Checkout Embedded?
Not this integration directly, but you can also look at the funding type of the card, https://docs.stripe.com/api/cards/object#card_object-funding.
You would need to know this before you create the Checkout Session so you can have a UI that says 'pay with debit card' for instance and then create the CheckoutSession.
There is another way but it is not recommended. You could create a CheckoutSession in setup mode, then inspect the payment method details/ card funding type and create the CheckoutSession if it's not a credit card. Again, this is not recommended to do this but sharing with you as an option
I think Radar is the best approach as you're using Checkout Sessions
Understood, how would Radar be used exactly in this scenario?
if you add a block rule with Radar, it it will block the payment when the funding type is credit
And how can I integrate it with my Checkout? Could you share show guide/docs?
You write the rule, https://docs.stripe.com/radar/rules on your Dashboard and it will apply to all the transactions
If you have any additional questions about Radar, our support team will be able to better assist: https://support.stripe.com/contact
Perfect, and this will be auto applied to my payments through checkout?
If so what happens then when somone tries to use a credit card?
We're developers so we do not have expertise on fees. I see https://stripe.com/gb/radar/pricing but you can confirm when with support.
By signing up, you agree to the Terms of Service and authorize Stripe to charge an additional $0.02 USD per screened transaction after your 30-day free trial ends. You can cancel anytime.
If I want to do it without this, is there a free method?
I do not think so for custom rules