SDK Quickstart
How to call the Wajub API from Node.js, Python, PHP, or Go — without an SDK.
4 min read
No backend SDK published yet
There is no @wajub/sdk, wajub (PyPI), wajub/wajub-php, or wajub-go package — the
install commands and SDK-style code shown in older examples do not work. Use your
language's standard HTTP client directly against the REST API instead. See
SDKs & Libraries for details.
Store your keys
Load your keys from the environment — never hardcode them.
WAJUB_PUBLIC_KEY=pk_test.8f2b91c4d7e6a0f3
WAJUB_SECRET_KEY=sk_test.2a7c5e91b0d34f68First call — Initialize a payment
Initialize a payment
curl https://api.wajub.com/payments \
-H "Authorization: pk_test.8f2b91c4d7e6a0f3" \
-H "Content-Type: application/json" \
-d '{ "amount": 5000, "currency": "XAF", "email": "a@b.co" }'Then dive into your language's reference page: Node.js, Python, PHP, Go.