Here is the Stripe Customer Form user interface, it’s up to you where you would you like to display it.
To tokenize Credit Card or BECS Debit information in the Customer Stripe Form, fill in the necessary details and click Save Payment Details.
Credit Card
...
Debit Card
...
Go to Set Up > Flows > Look for Stripe Form Flow > Run
The Stripe Customer Form and Stripe Payment Form are configured in a single flow. To view the Stripe Customer Form, you must first configure the Stripe Form by selecting the Gateway Customer to save Payment details and provide the necessary details such as Gateway Account and Payment Method.
...
Afterwards, click NEXT and the Stripe Customer Form window will display.
...
To process a Payment, fill in the necessary details:
Cardholder Name
Card Number
Expiration
CVC
After filling in, click Save Payment Details. Afterwards, it will create a Payment Source.After saving the payment details, a Gateway Customer record, and, a Payment Source or Payment Instrument record will be created.
Gateway Customer
...
Note that if the NPC’s standard Payment Instrument object does exist in the org, the Payment Instrument will be created/updated.
...
If the NPC’s standard Payment Instrument object does NOT exist in the org, the Payment Source will be created/updated.
...