Official SDKs

Watenga ships official libraries at different maturity levels. Pick a full server SDK for end-to-end API access, or a webhook-verification library to validate incoming events in a language without a full client yet.

Same API, one host

Every SDK talks to https://api.watenga.africa — there is no separate sandbox host. Test vs live is selected by the key prefix (sk_test_… / sk_live_…). The base URL is configurable via the constructor only.

Capability matrix

SDKTypeAPI resourcesWebhook verify
Node.js (@watenga/node)Full server SDKAll resources (checkout, transactions, refunds, customers, invoices, subscriptions, payment links, payouts, account)Yes
PHP (watenga-php)Full server SDKAt parity with Node.jsYes
Python (watenga)Minimal server clientcheckout.create, transactions (retrieve/refund), list customers/invoices/subscriptionsYes
Go (watenga-go)Webhook verification libraryYes
Flutter (watenga_flutter)Webhook verification libraryYes
React Native (@watenga/react-native)In-app mobile payments SDKEmbedded checkout UIn/a

All SDKs verify the canonical Watenga-Signature header (t=<unix>,v1=<hmac> over <unix>.<rawBody>, 300-second tolerance). See Webhooks for the event envelope and verification details.