Skip to main content
Official SDKs provide typed or idiomatic wrappers around the Billions public API.

TypeScript SDK

For Node.js and TypeScript applications. Published as @billions-works/sdk-ts.

PHP SDK

For PHP 8.1 and newer. Published as billions-works/sdk-php.
Both SDKs default to:
  • API host: https://api.billions.works
  • Public API version: v1

Shared concepts

The SDKs preserve public API field names such as order_no, invoice_url, and expires_at. Both support idempotent invoice creation and invoice lookup by order number. Choose the SDK matching your backend runtime. API keys must never be used in frontend or mobile client code.