Logo
Functions

createIntentAndCustomerSessionApiV1BillingCreateIntentAndCustomerSessionPost

createIntentAndCustomerSessionApiV1BillingCreateIntentAndCustomerSessionPost<ThrowOnError>(options?): RequestResult<CreateIntentAndCustomerSessionResponse, HTTPValidationError, ThrowOnError>

Defined in: packages/cloud/src/client/sdk.gen.ts:4281

Create Intent And Customer Session Create a new setup intent and and a customer session.

See https://docs.stripe.com/payments/existing-customers?platform=web&ui=elements

Type Parameters

ThrowOnError

ThrowOnError extends boolean = false

Parameters

options?

OmitKeys<RequestOptions<ThrowOnError, string>, "url"> & CreateIntentAndCustomerSessionApiV1BillingCreateIntentAndCustomerSessionPostData

Returns

RequestResult<CreateIntentAndCustomerSessionResponse, HTTPValidationError, ThrowOnError>

On this page