TemboPlus delivers webhook notifications once transactions are reflected in your collection accounts, via HTTP POST requests to your configured webhook URL.
π‘ What to Expect
Webhook notifications are sent shortly after transactions are reflected in your collection accounts.
Reflection times depend on how the originating and receiving banks process and settle payments.
The actual reflection time may vary depending on several factors:
Payment channel and amount β Smaller payments are often settled instantly through a faster payment channel, whereas larger or interbank transfers may take longer to clear.
Bank processing schedules β Some banks apply incoming credits immediately after settlement, others during clearing windows.
Non-working days (RTGS only) β Real-time gross settlement (TISS) payments are not processed on weekends or public holidays and will be applied on the next business day.
TemboPlus dispatches webhook notifications once your account balance is updated, ensuring your system receives reliable transaction events as soon as they are available.
For detailed information on payment channels, cutoff times, and clearing schedules in Tanzania, you can request the official Bank Payment Processing Reference from TemboPlus Support.
π¨ Webhook Request Format
Your webhook endpoint will receive HTTP POST requests with these characteristics:
Method: POST
Content-Type: application/json
Headers: Standard HTTP headers plus x-request-id for tracing
Retry Schedule: Exponential backoff starting at 2 seconds
Maximum Attempts: Up to 20 retries over 24 hours
Expected Response Format
Your endpoint should return a simple HTTP 200 success response:
π» Implementation Example
Conceptual Flow (Language Agnostic)
Node.js Implementation Example
βοΈ Setup Requirements
Partner Configuration
Webhook URL: Provide your HTTPS endpoint URL
Hash Key: You'll receive a base64-encoded signing key
Account Allocation: Ensure accounts are allocated to your partner account
Testing Your Implementation
Test Request Format
β Implementation Checklist
Essential Requirements
Recommended Enhancements
π Troubleshooting
Common Issues
No webhooks received
Verify endpoint URL is publicly accessible via HTTPS
Confirm accounts are properly allocated to your partner
Check that endpoint responds with HTTP 200
Signature validation failures
Ensure hash key is stored and used correctly
Verify signing content is exactly timestamp + payload (string concatenation)
Confirm payload is the raw JSON string, not a parsed object
Check that hash key is base64-decoded before HMAC calculation
Duplicate processing
Implement idempotency using the unique transaction.id
Store processed IDs in persistent storage (database, not memory)
Always return HTTP 200 for already-processed transactions
Processing timeouts
Ensure webhook processing completes within 30 seconds
Consider async processing for complex business logic
Return HTTP 200 immediately, then process in background
π Support
For webhook integration assistance, contact our technical support team with:
Your partner identifier
Webhook endpoint URL
Sample request/response logs
Error messages or unexpected behavior details
π Security Note: Always validate webhook signatures before processing transaction data to ensure authenticity and prevent unauthorized access to your system.