I have changed function create_subscription() inside MeprStripeGateway class of memberpress plugin because there is no hook to change endpoint.
$endpoint = MeprHooks::apply_filters( 'mepr_stripe_subscription_endpoint', 'subscriptions', $prd->ID );
By using this mepr_stripe_subscription_endpoint filter hook I have changed 'subscriptions' to 'subscription_schedules' endpoint. by which I applied schedule payment.
I have changed function create_subscription() inside MeprStripeGateway class of memberpress plugin because there is no hook to change endpoint. $endpoint = MeprHooks::apply_filters( 'mepr_stripe_subscription_endpoint', 'subscriptions', $prd->ID );
By using this mepr_stripe_subscription_endpoint filter hook I have changed 'subscriptions' to 'subscription_schedules' endpoint. by which I applied schedule payment.