Collect and pay out on M-Pesa, Mixx by Yas, Airtel Money, HaloPesa, and T-Pesa with one API and signed webhooks.
{
"amount": "1500.00",
"phone": "+255712345678",
"first_name": "Asha",
"last_name": "Mushi",
"email": "asha@example.com",
"idempotency_key": "order_10482_try1"
}Customer approves on their phone
One integration for every major Tanzanian mobile network
How it works
Charge a Tanzanian wallet, wait for the customer to approve, then settle the order from a signed webhook.
Send the amount, phone number, and an idempotency key. TwigaPlus pushes the approval prompt to their phone.
They confirm with their PIN. The collection moves from pending to completed, failed, or expired.
We call your HTTPS endpoint when a payment reaches a final state, signed with HMAC-SHA256.
Who it is for
Build against one REST API and ship your payment flow in an afternoon.
Get paid on the customer's phone, and move money out to suppliers, agents, and staff.
Callbacks
Every final payment state posts to your HTTPS endpoint with signed headers you can verify.
Webhook headers
X-TwigaPlus-Event: collection.completed
X-TwigaPlus-Timestamp: 1760000000
X-TwigaPlus-Signature: hex hmac sha256
of "{timestamp}.{raw body}"Statuses
A collection ends as one of these
Gross is what the customer pays. Net is what is credited. A pending collection is refreshed before the stored status is returned.
Events we post
Get started
01
Sign up with your email. Your account is created immediately.
02
Upload your document. A key cannot move money until it is approved.
03
The secret is shown once. Store it, then send it as a bearer token.
04
Post a collection. The customer approves the prompt on their handset.
Pricing
The collection fee is the percentage on your account. A payout quote shows the network fee and the gross held from your balance. The smallest payout is TZS 5,000.
Sample collection · TZS 1,500
Sample payout · TZS 5,000
FAQ
M-Pesa, Mixx by Yas, Airtel Money, HaloPesa, and T-Pesa. The customer approves the prompt on their own phone.
Read the collection, or wait for collection.completed, collection.failed, or collection.expired. Pending is not final.
HMAC-SHA256 of the timestamp, a dot, and the raw body, using your signing secret. The hex digest is X-TwigaPlus-Signature.
Yes. The same key and the same request return the original result. A payout with that key and a different body is rejected.
TwigaPlus payment API for mobile money collections and payouts in TZS.