API Reference
The Payout API Reference serves as the foundation for all Payout endpoints.
π Authentication
All Payout API requests require two headers for authentication:
x-account-idβ Your unique partner account identifier provided by TemboPlusx-secret-keyβ Your API secret key used to authorize and sign each request
Each request is authenticated by verifying these headers. Requests without valid credentials will return a 401 INVALID_CREDENTIALS error.
Never share your secret key publicly or embed it in client-side code.
π§Ύ Required Request Headers
Each API request must include the following headers:
Content-Type:application/jsonDefines the request body format.x-account-id: Partner account identifier. Used to identify the organization making the call.x-secret-key: Secret key assigned by TemboPlus. Used for authentication.x-request-id: A unique UUID generated by you for every request. Helps TemboPlus trace and support your transactions when needed.
Example:
POST /collection HTTP/1.1
Content-Type: application/json
x-account-id: 6da81b2c
x-secret-key: a72f0e03c42e8b52
x-request-id: 734cc91d-4291-46cf-b96b-9f223d3c1be9π Environments
TemboPlus provides separate environments for testing and production.
Sandbox Environment
Used for testing and development. All transactions here are simulated and do not move real funds.
Production Environment
Used for live transactions once integration is complete.
π‘ Supported Channels
Each environment supports specific mobile money channels.
Sandbox
TZ-AIRTEL-B2CTZ-TIGO-B2C
Production
TZ-AIRTEL-B2CTZ-TIGO-B2CTZ-HALOTEL-B2CTZ-VODACOM-B2CTZ-BANK-B2C
β οΈ Common Error Responses
These standard error responses may apply to all Payout endpoints.
Last updated