Skip to Content
SdkClientInternalFunctionsgetApiV1CreditsPacks

getApiV1CreditsPacks

getApiV1CreditsPacks<ThrowOnError>(options?: Options<GetApiV1CreditsPacksData, ThrowOnError>): RequestResult<GetApiV1CreditsPacksResponses, GetApiV1CreditsPacksErrors, ThrowOnError>

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

List available credit packs

Returns available credit packs with prices fetched from Stripe. Pro users receive bonus credits on the same pack.

Type Parameters

Type ParameterDefault type

ThrowOnError extends boolean

false

Parameters

ParameterType

options?

Options<GetApiV1CreditsPacksData, ThrowOnError>

Returns

RequestResult<GetApiV1CreditsPacksResponses, GetApiV1CreditsPacksErrors, ThrowOnError>

Last updated on