#Jinasha
1 messages ยท Page 1 of 1 (latest)
Hello ๐
We don't recommend sending raw PANs to the API directly.
We recommend using Elements to collect and tokenize the PaymentMethod details instead.
Can you provide more information on why you want to handle raw PANs?
Actually i was creating customers and was adding payment methods through apex callout in salesforce
Is it that i won't be able to achieve
Not familiar with the apex callout. Is this something that you are writing API code for?
I need to step away but since you're just testing try sending pm_card_visa_debit string instead of raw card numbers in the request, that should allow you to add the payment method
Pompey can help answer if you have any follow ups ๐
Yes Pompey
Ok , hanzo i will try sending token ,but what about the parameters which are required while creating a payment method
Typically those will be collected with Stripe Elements. The standard flow now is to use Elements to tokenize card details and then you work with the tokens to save and charge payment methods
Handling the raw credit card details places much higher PCI compliance requirements on you