Skip to Content
Anuma SDKClientInternalFunctionspostApiV1CreditsPurchase

postApiV1CreditsPurchase

postApiV1CreditsPurchase<ThrowOnError>(options: Options<PostApiV1CreditsPurchaseData, ThrowOnError>): RequestResult<PostApiV1CreditsPurchaseResponses, PostApiV1CreditsPurchaseErrors, ThrowOnError>

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

Create credit pack checkout session

Creates a Stripe Checkout Session for purchasing a one-time credit pack and returns the checkout URL.

Type Parameters

Type ParameterDefault type

ThrowOnError extends boolean

false

Parameters

ParameterType

options

Options<PostApiV1CreditsPurchaseData, ThrowOnError>

Returns

RequestResult<PostApiV1CreditsPurchaseResponses, PostApiV1CreditsPurchaseErrors, ThrowOnError>

Last updated on