#zeeshan_api

1 messages ¡ Page 1 of 1 (latest)

willow pikeBOT
#

👋 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.

wide spokeBOT
#

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.

steady crypt
#

Hello

#

You are trying to set up a card for future use?

#

Without charging it immediately?

haughty olive
#

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

steady crypt
haughty olive
#

I am not using your checkout sessing

#

session

#

I am collecting card info in my system

steady crypt
#

You are passing raw PANs to our API?

haughty olive
#

yes

steady crypt
#

Do you have the necessary PCI certifications?

haughty olive
#

yes

#

that all approved by stripe

steady crypt
#

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'
});```