Skip to main content

SDK Overview

PalPluss provides official SDKs for TypeScript/Node.js, Python, and PHP. Every SDK covers the same API surface with idiomatic naming conventions and full type coverage for its language.

Installation


Client initialisation

The API key can be passed directly or read from the PALPLUSS_API_KEY environment variable.

Constructor options

Set PALPLUSS_BASE_URL to override the base URL (sandbox, local, etc.).

Choose your language

TypeScript / Node.js

Next.js, NestJS, Encore.ts, plain Node.js, and more.

Python

FastAPI, Django, Flask, and async patterns.

PHP

Laravel, Symfony, and plain PHP.

Response shape

Every successful response is unwrapped by the SDK — you receive the data payload directly. The raw envelope looks like this:
The SDK unwraps data and attaches requestId to error objects so you can include it in support requests.

Error handling

All SDKs throw a typed PalPlussApiError on non-2xx responses and a RateLimitError on HTTP 429.
See Error handling guide for the full list of error codes.