Skip to Content
SdkClientInternalFunctionspostApiV1SubscriptionsCustomerPortal

postApiV1SubscriptionsCustomerPortal

postApiV1SubscriptionsCustomerPortal<ThrowOnError>(options: Options<PostApiV1SubscriptionsCustomerPortalData, ThrowOnError>): RequestResult<PostApiV1SubscriptionsCustomerPortalResponses, PostApiV1SubscriptionsCustomerPortalErrors, ThrowOnError>

Defined in: src/client/sdk.gen.ts:386 

Create customer portal session

Creates a Stripe Customer Portal session for managing subscription and returns the portal URL

Type Parameters

Type ParameterDefault type

ThrowOnError extends boolean

false

Parameters

ParameterType

options

Options<PostApiV1SubscriptionsCustomerPortalData, ThrowOnError>

Returns

RequestResult<PostApiV1SubscriptionsCustomerPortalResponses, PostApiV1SubscriptionsCustomerPortalErrors, ThrowOnError>

Last updated on