Skip to main content

SDK Overview

Zentra provides checked-in SDKs and wrappers for the most common server-side and app environments. They wrap the REST API, normalize authentication, and expose helpers for the main BaaS products.
Some generated SDKs still include compatibility helpers such as customers, wallets, savings, or subscriptions. Identity is part of the reviewed gateway surface, but it remains tenant-gated. Treat transfers, webhooks, virtual accounts, payments, cards, and tenant-enabled identity as the reviewed public HTTP surfaces; treat the rest as compatibility or draft unless your tenant explicitly enables them.
Use SDK Surface Status when you need the current reviewed-vs-draft breakdown across the checked-in SDKs and wrappers.

Supported SDKs

For the widest reviewed-first coverage today, start with JavaScript, Python, PHP, or Go. The other pages document the checked-in wrappers and their current caveats.

JavaScript

Node.js and TypeScript SDK

Python

Python SDK with sync and async support

PHP

PHP SDK for Laravel and general server-side integrations

Go

Go SDK with reviewed-public transfer and payment helpers

Ruby

Ruby SDK for Rails and general server-side use

C#

.NET SDK for reviewed API resources

Java

Java wrapper for transfers, payments, and webhooks

Rust

Rust SDK for reviewed API calls and webhook verification

Flutter

Flutter wrapper for reviewed BaaS API flows

Android

Android wrapper for transfers, payments, and webhooks

iOS

Swift package guidance for BaaS integrations

Quick Example

const transfer = await client.transfers.create({
  amount: 50000,
  bankCode: '058',
  accountNumber: '0123456789',
  accountName: 'Vendor Settlement Account',
  narration: 'SDK overview transfer',
  reference: 'SDK_OVERVIEW_001'
});

console.log(transfer.reference);

Features by SDK

JavaScript/Node.js SDK

  • ✅ Full TypeScript support
  • ✅ Promise-based async/await API
  • ✅ Browser and Node.js compatible
  • ✅ Automatic request retries
  • ✅ Webhook signature verification
  • ✅ React hooks (optional)
View Documentation →

Python SDK

  • ✅ Type hints throughout
  • ✅ Async/await support
  • ✅ Django and Flask integrations
  • ✅ Automatic pagination helpers
  • ✅ Webhook utilities
  • ✅ Context manager support
View Documentation →

PHP SDK

  • ✅ PSR-4 autoloading
  • ✅ Laravel service provider
  • ✅ Guzzle HTTP client
  • ✅ Comprehensive error handling
  • ✅ Webhook helpers
  • ✅ Test mode support
View Documentation →

Go SDK

  • ✅ Context-aware request flow
  • ✅ Idempotency-aware retry helpers
  • ✅ Reviewed-public charge, refund, and token helpers
  • ✅ Webhook signature verification
  • ✅ Generic paginated response helpers
View Documentation →

Additional wrappers

  • Java, C#, Ruby, Rust, Flutter, Android, and iOS pages document the checked-in wrappers and their current reviewed-vs-compatibility posture.

Configuration Options

All SDKs support these configuration options:
OptionTypeDefaultDescription
api_keystringrequiredYour Zentra secret key
environmentstringsandboxTarget environment (sandbox or live)
base_urlstringSDK defaultOverride API base URL when needed
timeoutnumberSDK defaultRequest timeout in milliseconds