For the complete documentation index, see llms.txt. This page is also available as Markdown.

Create Stripe Checkout Session

create Stripe Checkout Session.

Billing endpoints for the account's Stripe subscription and checkout. This method creates the stripe checkout session and returns its id.

This method is on the Hub surface (norbix.hub.account) β€” call it from admin tooling or IaC.

These examples assume the SDK is installed and your credentials are set as environment variables β€” each client reads them automatically, so the constructors below take no arguments. See Install a Norbix SDK.

import { Norbix } from '@norbix.ai/ts';
const norbix = new Norbix();

const result = await norbix.hub.account.createStripeCheckoutSession({
  projectCap: 10,
  domain: 'example.com',
  newProjectSessionId: 'newprojectsession_4kX9mQvR2tYw7ZbC1dFgHj',
  returnUrl: 'https://app.example.com/billing/return',
});
using Norbix.Sdk;
using Norbix.Sdk.Types.Hub;

using var client = new NorbixClient();

var result = await client.Account.CreateStripeCheckoutSessionAsync(new CreateStripeCheckoutSession
{
    ProjectCap = 10,
    Domain = "example.com",
    NewProjectSessionId = "newprojectsession_4kX9mQvR2tYw7ZbC1dFgHj",
    ReturnUrl = "https://app.example.com/billing/return",
});

In the dashboard

Manage this visually in Norbix Cloud β€” see Account & Projects β†’ Billing.

API reference

Full request and response for this endpoint: Create Stripe Checkout Session.

Last updated