For new Stripe accounts based in India, we recommend using a combination of PaymentIntents and PaymentMethod APIs. The Stripe API Reference provides code snippets for integration across multiple programming languages.
Due to regulations imposed by Reserve Bank of India (RBI), all domestic transactions must implement 3D Secure. Stripe provides 3D Secure required test cards that mimic the same behavior for you to use to test your integration.