Launch Week Day 5: Introducing Reachability for PHP.Learn More
Socket
Book a DemoSign in
Socket

@equisoft/billing-sdk

Package Overview
Dependencies
Maintainers
12
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@equisoft/billing-sdk

OpenAPI client for @equisoft/billing-sdk

latest
Source
npmnpm
Version
3.4.0
Version published
Maintainers
12
Created
Source

@equisoft/billing-sdk@3.4.0

A TypeScript SDK client for the .. API.

Usage

First, install the SDK from npm.

npm install @equisoft/billing-sdk --save

Next, try it out.

import {
  Configuration,
  ChargebeeV1Api,
} from '@equisoft/billing-sdk';
import type { HandleWebhookRequest } from '@equisoft/billing-sdk';

async function example() {
  console.log("🚀 Testing @equisoft/billing-sdk SDK...");
  const api = new ChargebeeV1Api();

  const body = {
    // string | The webhook key to validate the request
    key: key_example,
    // V1ChargebeeWebhookEvent
    v1ChargebeeWebhookEvent: ...,
  } satisfies HandleWebhookRequest;

  try {
    const data = await api.handleWebhook(body);
    console.log(data);
  } catch (error) {
    console.error(error);
  }
}

// Run the test
example().catch(console.error);

Documentation

API Endpoints

All URIs are relative to http://../..

ClassMethodHTTP requestDescription
ChargebeeV1ApihandleWebhookPOST /v1/chargebee/webhook/{key}Entry point for Chargebee webhooks
DistributorV1ApigetDistributorGET /v1/distributors/{code}Get billing information about a distributor
DistributorV1ApilistDistributorsGET /v1/distributorsList all available distributors
OrganizationV1ApicollectChargebeeV1PaymentPOST /v1/organizations/{uuid}/chargebeeV1Billing/collectPaymentCollect all CHARGEBEE_V1 unpaid invoices for the organization
OrganizationV1ApicreateChargebeeV1PortalSessionPOST /v1/organizations/{uuid}/chargebeeV1PortalSessionCreate a Chargebee V1 portal session for the organization
OrganizationV1ApicreateOrUpdateSubscriptionPOST /v1/organizations/{uuid}/chargebeeV1Billing/subscriptionCreate or Update Chargebee v1 subscription
OrganizationV1ApigetOrganizationGET /v1/organizations/{uuid}Get billing information about an organization
OrganizationV1ApigetOrganizationStatusGET /v1/organizations/{uuid}/statusGet detailed billing status about an organization
OrganizationV1ApigetOrganizationUsersGET /v1/organizations/{uuid}/usersGet billing users info for an organization
OrganizationV1ApisetChargebeeV1BillingPUT /v1/organizations/{uuid}/chargebeeV1BillingSet Chargebee V1 Billing for the organization
OrganizationV1ApisetDistributorPUT /v1/organizations/{uuid}/distributorSet the distributor for an organization
OrganizationV1ApisetManualBillingPUT /v1/organizations/{uuid}/manualBillingSet Manual Billing for the organization
OrganizationV1ApisetNonBillableBillingPUT /v1/organizations/{uuid}/nonBillableBillingSet Non-Billable Billing for the organization
OrganizationV1ApisetPayorUserIdPUT /v1/organizations/{uuid}/chargebeeV1Billing/payorSet the payor user for Chargebee V1 billing
OrganizationV1ApiunsetBillingDELETE /v1/organizations/{uuid}/billingUnset billing for the organization
OrganizationV1ApiunsetDistributorDELETE /v1/organizations/{uuid}/distributorUnset the distributor for an organization
UserV1ApigetUserGET /v1/users/{uuid}Get billing information about a User
UserV1ApigetUserStatusGET /v1/users/{uuid}/statusGet billing status of a user
UserV1ApisetBillingProfilePUT /v1/users/{uuid}/billingProfileSet the user billing profile
UserV1ApisetNonBillablePUT /v1/users/{uuid}/nonBillableSet the user non-billable
UserV1ApiunsetBillingProfileDELETE /v1/users/{uuid}/billingProfileRemove the billing profile of the user
UserV1ApiunsetNonBillableDELETE /v1/users/{uuid}/nonBillableRemove the non-billable flag on the user

Models

Authorization

Authentication schemes defined for the API:

OAuth2 accessCode

About

This TypeScript SDK client supports the Fetch API and is automatically generated by the OpenAPI Generator project:

  • API version: 3.4.0
  • Package version: 3.4.0
  • Generator version: 7.20.0-equisoft1
  • Build package: org.openapitools.codegen.languages.TypeScriptFetchClientCodegen

The generated npm module supports the following:

  • Environments
    • Node.js
    • Webpack
    • Browserify
  • Language levels
    • ES5 - you must have a Promises/A+ library installed
    • ES6
  • Module systems
    • CommonJS
    • ES6 module system

For more information, please visit https://www.equisoft.com/

Development

Building

To build the TypeScript source code, you need to have Node.js and npm installed. After cloning the repository, navigate to the project directory and run:

npm install
npm run build

Publishing

Once you've built the package, you can publish it to npm:

npm publish

License

Proprietary

FAQs

Package last updated on 24 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts