Glossary

TermMeaning
API appA set of keys in the developer console: a publishable key, a secret key, restricted keys and webhook endpoints, in test or live mode, pinned to an API version.
Secret key (sk_test_, sk_live_)Your server’s key: full access to the merchant API. Never in a browser, an app or a repository.
Restricted key (rk_)A key with one scope per resource (none, read or write), for a system that needs only part of the API. It can expire.
Publishable key (pk_)The key a browser or app uses to show the checkout. It can only pay a checkout session, a payment link or an invoice; it never decides an amount.
Test modeWhat a test key does: payments run on the sandbox driver, never move money, and are marked livemode: false.
Checkout sessionA payment your server prepared (amount, currency, reference). The customer pays it on its hosted page, with Watenga.js or in a mobile sheet using its client_secret.
TransactionA payment or refund, with its status, amounts, fees and your metadata.
Merchant transaction id / referenceYour own order number on a payment; checkout.create is idempotent on it.
MetadataYour key-value pairs on an object, returned as you set them and in its webhooks.
Idempotency-KeyA header that makes a write safe to repeat: the same key answers the first result for 24 hours.
Webhook endpointAn HTTPS address that receives signed events, with its own events and signing secret.
Watenga-SignatureThe header on every delivery: t=<unix time>,v1=<HMAC-SHA256 of "<t>.<raw body>">, one v1 per secret while a secret rotates.
Listen sessionA short-lived endpoint the CLI polls (watenga listen) to forward your test events to your machine.
API versionA date (2026-10-29) that fixes response shapes. Your app is pinned to one; Watenga-Version changes it per request.
CursorAn opaque value (next_cursor) you pass back as cursor for the next page of a list.
Checkout StudioWhere a business designs its checkout; the same design is drawn by hosted pages, Watenga.js and the mobile sheets.
Mobile moneyA wallet payment confirmed by the customer on their phone (a USSD or app prompt); pending until they approve.
Test clockYour account’s simulated time in test mode, to run renewals, trials and overdue invoices without waiting.
PayoutMoney sent from your Watenga balance to your bank: dashboard-only, with two-step verification.