Skip to content

Documentation

v3.2 available Smart multi-PSP routing

Sangho Documentation
Guides, API reference and SDKs

Everything you need to integrate Sangho: a quickstart for your first test payment, use-case guides, the full REST API reference, and SDKs for Node.js, Python, PHP, Ruby, and Java.

payments.create.ts
// Start a payment in 3 lines
import { Sangho } from "@sanghosdk/js";

const sangho = new Sangho(process.env.SANGHO_SECRET_KEY);

const intent = await sangho.paymentIntents.create({
  amount: 4900,
  currency: "XAF",
  customer: "cust_8f2a1b",
  methods: ["mobile_money", "card", "bank_transfer"],
});
200 OK · 84msnode · python · php · ruby · java
Preview

You're viewing a preview release

This documentation describes the Sangho platform ahead of its official launch, planned for early 2027. Integrations and examples may still evolve before then. Sign up to be notified the moment it opens.

Learn more about the launch →
API Reference

REST. Idempotent.
Consistent.

An API built around predictable resources. Versioned, backward-compatible, 100% documented.

POST/v1/payment-intents
GET/v1/payment-intents/:id
POST/v1/refunds
POST/v1/customers
GET/v1/balance
const intent = await sangho.paymentIntents.create({
  amount: 4900,
  currency: "XAF",
});
Response200 · 84ms · eu-west-1
{
  "id": "pi_3NqK2ZB9j7Lx",
  "status": "requires_confirmation",
  "amount": 4900,
  "currency": "eur",
  "created": 1746748800
}
Official SDKs

Official Sangho SDKs

Published on npm, PyPI, Packagist, RubyGems, and Maven. Each SDK's version tracks the current API version.

See all SDKs →

Create an account to get started

Get your test API keys from the dashboard. The sandbox environment mirrors production behavior — no bank card required to start.