SDKs

SDKs

Official Snippe client libraries for JavaScript, Python, and PHP

Official client libraries for the Snippe API. Each SDK wraps the HTTP API in idiomatic code, handles authentication and idempotency for you, and ships with a webhook signature verifier so you don't have to implement the HMAC dance yourself.


What's in every SDK

  • Authenticated client — pass your API key once, all requests carry the bearer token.
  • Payments — create mobile money, card, and dynamic-QR payments and read their status.
  • Disbursements — send payouts to mobile money wallets and Tanzanian banks.
  • Webhook verification — verify the X-Webhook-Signature HMAC and parse the event payload.
  • Typed errors — distinguish validation, authentication, rate-limit, and webhook errors so you can branch on them.

If a feature isn't covered by your SDK yet, you can always fall back to the HTTP API directly with the same API key.


Don't see your language?

We also publish e-commerce plugins for WordPress / WooCommerce and WHMCS, and the snippe-101 repo on GitHub has copy-paste recipes in Node.js, Python, Go, and cURL for every endpoint.

On this page