Functions
createIntentAndCustomerSessionApiV1BillingCreateIntentAndCustomerSessionPost
createIntentAndCustomerSessionApiV1BillingCreateIntentAndCustomerSessionPost<
ThrowOnError
>(options
):RequestResult
<CreateIntentAndCustomerSessionResponse
,HttpValidationError
,ThrowOnError
>
Defined in: packages/cloud/src/client/sdk.gen.ts:5216
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
Options
<CreateIntentAndCustomerSessionApiV1BillingCreateIntentAndCustomerSessionPostData
, ThrowOnError
>
Returns
RequestResult
<CreateIntentAndCustomerSessionResponse
, HttpValidationError
, ThrowOnError
>