Skip to main content

SDKs

Open Pay provides official SDKs for five languages plus a CLI tool. Every SDK handles HMAC-SHA256 request signing automatically, so you never have to compute signatures manually.

TypeScript

@openpay/sdk for Node.js and edge runtimes

Go

openlankapay-go-sdk for backend services

Python

openpay-sdk with async httpx support

PHP

openpay/sdk via Composer

Java

com.openpay:openpay-sdk for JVM applications

CLI

openpay command-line tool

Common Features

All SDKs share the same capabilities:

Authentication

Every SDK uses HMAC-SHA256 to sign requests. You provide your API key (public identifier) and API secret (signing key), and the SDK handles the rest. The signature is computed as:
These headers are sent with each request:
Get your API key and secret from the Merchant Portal under Integrations.

Quick Comparison

API Base URL

All SDKs default to the production API:
You can override this by passing a baseUrl option during client initialization if you are targeting a different environment.