API Reference
The Mobile Money (MOMO) Collection API Reference serves as the foundation for all Mobile Money Collection endpoints.
π Authentication
All MOMO Collection API requests require two headers for authentication:
x-account-idβ Your unique partner account identifier provided by TemboPlus.x-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.
For security, 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.
You will receive unique credentials (
x-account-id,x-secret-key) for each environment.
π‘ Supported Channels
Each environment supports specific mobile money channels.
Sandbox
TZ-AIRTEL-C2BTZ-TIGO-C2B
Production
TZ-AIRTEL-C2BTZ-TIGO-C2BTZ-HALOTEL-C2B
β οΈ Common Error Responses
These standard error responses may apply to all MOMO Collection endpoints.
Last updated