#zeeshan_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1247561225269940236
đ Have more to share? Add 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.
- zeeshan_api, 1 day ago, 3 messages
Hello
You are trying to set up a card for future use?
Without charging it immediately?
How can I verify if the card that customer is saving on my portal is a good or not, which stripe API can support that
yes or trying to validate if its a good card or not
You would use a SetupIntent to do this. See our docs here: https://docs.stripe.com/payments/save-and-reuse
I am not using your checkout sessing
session
I am collecting card info in my system
You are passing raw PANs to our API?
yes
Do you have the necessary PCI certifications?
Okay then you would still use a SetupIntent here. You would pass the card details via payment_method_data. Here is an example in Node (not sure what language you are using but would be the same params):
const setupIntent = await stripe.setupIntents.create({
payment_method_data: {
type: 'card',
card: {
number: '4242424242424242',
exp_month: 8,
exp_year: 2026,
cvc: '314',
},
},
confirm: true,
return_url: 'https://www.example.com'
});```