SDKs and Client Libraries
Official SDKs for Kang Open Banking API. Node.js, Python, PHP, Java, Go, and Ruby client libraries with installation guides and complete working examples.
Official SDKs
Install an official SDK to integrate Kang Open Banking API in your preferred language. All official SDKs handle authentication, automatic retries, idempotency-key generation and HMAC webhook signature verification.
Officially Published SDKs
| Language | Package | Install | Min Runtime |
| Node.js / TypeScript | @kang/openbanking-node | npm install @kang/openbanking-node | Node 18+ |
| Python | kang-openbanking | pip install kang-openbanking | Python 3.9+ |
| PHP | kang/openbanking-php | composer require kang/openbanking-php | PHP 8.1+ |
| Java | com.kangopenbanking:kangopenbanking-sdk-typed | 4.28.1 | Java 11+ |
| Go | github.com/kangopenbanking/sdk-go | go get github.com/kangopenbanking/sdk-go | Go 1.21+ |
| Ruby | openapi-generator-cli (ruby) | openapi-generator-cli generate -g ruby | Ruby 3+ |
Node.js — Create a Mobile Money Charge
import { KangOpenBanking } from '@kang/openbanking-node';
const kob = new KangOpenBanking({
apiKey: process.env.KOB_API_KEY!, // sk_test_... or sk_live_...
environment: 'sandbox', // 'sandbox' | 'production'
});
const charge = await kob.gateway.charges.create({
amount: '5000',
currency: 'XAF',
channel: 'mobile_money',
customer_phone: '+237650000000',
provider: 'mtn_momo',
description: 'Order #1234',
}); // Idempotency-Key auto-generated
console.log(charge.id, charge.status);
Python — Create a Mobile Money Charge
from kang_openbanking import KangOpenBanking
kob = KangOpenBanking(
api_key=os.environ["KOB_API_KEY"],
environment="sandbox",
)
charge = kob.gateway.charges.create(
amount="5000",
currency="XAF",
channel="mobile_money",
customer_phone="+237650000000",
provider="mtn_momo",
description="Order #1234",
)
print(charge.id, charge.status)
PHP — Create a Mobile Money Charge
use Kang\OpenBanking\Client;
$kob = new Client([
'api_key' => getenv('KOB_API_KEY'),
'environment' => 'sandbox',
]);
$charge = $kob->gateway->charges->create([
'amount' => '5000',
'currency' => 'XAF',
'channel' => 'mobile_money',
'customer_phone' => '+237650000000',
'provider' => 'mtn_momo',
'description' => 'Order #1234',
]);
echo $charge->id, ' ', $charge->status;
Self-Hosted Implementation Guides
Java (OkHttp), Go (net/http), and Ruby (Net::HTTP) drop-in client guides are published; official packages are targeted for Q3 2026. Each guide includes auth header construction, idempotency key generation (UUID v4), HMAC-SHA256 webhook signature verification, and exponential backoff retry policy.
Developer Portal Home | OpenAPI Spec (JSON) | Contact