#khushbu
1 messages ยท Page 1 of 1 (latest)
Hi there, are you asking if there is API to validate the CVC?
@warped ice Yes, I need to confirm whether the previously saved save card CVC number and the user-entered CVC number are the same or not.
OK, the cvc is considered as a sensitive card information, so it's not exposed in API response.
However, you can use cvc_check (https://stripe.com/docs/api/payment_methods/object?lang=php#payment_method_object-card-checks-cvc_check) to determine the cvc check is passed or not,
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
@warped ice any API endpoint from the stripe to check user entered CVV no and previously added card CVV no is correct or not ?
No, cvc is not exposed in API response.
@warped ice is there any other way to validate during the transaction verify the saved card CVV and user-entered CVV is a match or not?
No. as I said earlier, cvc is not exposed in API response (either frontend or backend), and there's no API for you to check cvc against a saved card.
ok thank you ๐ @warped ice