postApiV1CreditsPurchase
postApiV1CreditsPurchase<
ThrowOnError>(options:Options<PostApiV1CreditsPurchaseData,ThrowOnError>):RequestResult<PostApiV1CreditsPurchaseResponses,PostApiV1CreditsPurchaseErrors,ThrowOnError>
Defined in: src/client/sdk.gen.ts:274Â
Create credit pack checkout session
Creates a Stripe Checkout Session for purchasing a one-time credit pack and returns the checkout URL. Pro users are charged using the Pro product with bonus credits.
Type Parameters
| Type Parameter | Default type |
|---|---|
|
|
|
Parameters
| Parameter | Type |
|---|---|
|
|
|
Returns
RequestResult<PostApiV1CreditsPurchaseResponses, PostApiV1CreditsPurchaseErrors, ThrowOnError>
Last updated on