条纹付款分为分期付款

I am looking to integrate stripe payment button in to my website.

I want to charge total $40 to user, but i want to charge user in 2 installment of $20 at interval of 30 days.

e.g if a user pay now, first $20 charged now and 2nd installment of $20 will be charged after 30 days.

I studied plans and subscription document on stripe website but its for continuous payment at particular interval.

Yes, It's Possible, All you have to do is Save the Card Details.

Reference : https://support.stripe.com/questions/can-i-save-a-card-and-charge-it-later

In Stripe docs there is a guide (or a recipe as they call it) for creating an installment plans which seems like something you need - Creating an Installment Plan

They are using subscriptions and counting number of payments and then cancelling the subscription.