Skip to main content
@ai-billing/narev
@ai-billing/narev / 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.