> ## Documentation Index
> Fetch the complete documentation index at: https://narev.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# CreateCheckoutRequest

[**@ai-billing/narev**](../index)

***

[@ai-billing/narev](/docs/sdk/ai-billing/reference/narev/typedoc/index) / CreateCheckoutRequest

# Interface: CreateCheckoutRequest

Defined in: packages/types/dist/index.d.ts:148

Request body for creating a checkout session.

## Properties

### productId

> **productId**: `string`

Defined in: packages/types/dist/index.d.ts:150

Credit package product ID.

***

### userId

> **userId**: `string`

Defined in: packages/types/dist/index.d.ts:152

Your end-user's ID.

***

### successUrl

> **successUrl**: `string`

Defined in: packages/types/dist/index.d.ts:154

URL to redirect the user after a successful purchase.
