import { StripePaymentServicesClient } from '@broadleaf/stripe-payment-services-api';
import { ClientOptions } from '@broadleaf/commerce-core';
const options: ClientOptions = {
applicationToken,
baseHost,
locale: currentLocale,
preview,
};
const client = new StripePaymentServicesClient(options);
const setupIntentResponse = await client.createSetupIntent(setupIntentRequest);