IntaSend
Collect payments with IntaSend
INTASEND collects by mobile money push. The payer enters their phone
number on the portal, a PIN prompt appears on their phone, and they approve it
there. They never leave the portal page.
Offered in the country catalog for Kenya (KE) in KES, Uganda (UG) in UGX, Tanzania (TZ) in TZS, and Rwanda (RW) in RWF. An ISP that prices in another currency is refused at checkout, so a USD 10 plan is never charged as KES 10. Money settles directly into your own IntaSend wallet; Centipid never holds it.
Centipid Billing uses IntaSend’s REST API:
- In Kenya,
POST /api/v1/payment/mpesa-stk-push/sends an M-Pesa STK prompt. - In Uganda, Tanzania and Rwanda,
POST /api/v1/payment/intasend-xb-push/sends a local mobile money prompt (MTN, Airtel, Vodacom, Tigo/Yas, Halotel). POST /api/v1/payment/status/checks the returnedinvoice_iduntil it isCOMPLETE,FAILEDorCANCELED.
Nothing is credited until the status reads COMPLETE in the expected currency
for at least the amount the payer was asked to pay.
Configure the gateway
Get your live secret key from IntaSend
Sign in to your live IntaSend dashboard and open Settings → API Keys. Copy the Secret key (starts with
ISSecretKey_live_). Centipid talks only to live IntaSend accounts; test keys (ISSecretKey_test_) are refused.If you operate in Uganda, Tanzania or Rwanda, ask IntaSend support to enable mobile money push on your live account before testing.
Open Settings → Payments → IntaSend in Centipid
Enter your Live secret key. Leave Webhook challenge blank unless you configure a webhook in the next step.
Optional: add the collection webhook in IntaSend
In IntaSend, open Settings → Webhooks → New, paste the Webhook URL shown on the Centipid page, choose a Challenge string, and subscribe to
collection_event. Paste the same challenge into Webhook challenge in Centipid so requests without it are refused.Run a controlled test payment
Pay a small plan from the captive portal, approve the PIN prompt on the phone, and confirm the payment reaches the ledger with its provider receipt.
Credentials
| Field | Required | Notes |
|---|---|---|
| Live secret key | Yes | Starts with ISSecretKey_live_. Stored encrypted; sent as a Bearer token from Centipid’s servers only. |
| Webhook challenge | No | Stored encrypted. When set, webhook deliveries without a matching challenge value are refused with HTTP 401. |
Webhook and status checks
IntaSend’s collection_event webhook uses a shared challenge string rather
than a cryptographic signature. Centipid therefore never credits from a webhook
body alone: each valid delivery queues an immediate status check against
POST /api/v1/payment/status/.
Centipid also polls the invoice status every 5 seconds for about 3 minutes after the prompt is sent, and runs follow-up checks at 10 and 30 minutes for payers who approve late. A payment is credited once, however many webhooks or polls arrive.
Troubleshooting
- “Use your IntaSend live secret key. It starts with ISSecretKey_live_.”:
a sandbox key (
ISSecretKey_test_…) or publishable key (ISPubKey_…) was pasted. Use the live secret key from your live IntaSend dashboard. - “Unable to send the IntaSend payment prompt”: IntaSend refused the request, usually because the secret key is wrong, IP whitelisting blocked Centipid’s servers, or mobile money push is not yet enabled on a non-Kenyan account. Check the application log for IntaSend’s exact response.
- “Enter a Kenyan / Ugandan / Tanzanian / Rwandan mobile number”: the number does not match the country’s mobile format.
- “IntaSend bills in KES / UGX / TZS / RWF here”: the account’s billing currency does not match the country’s local currency. Contact Centipid support to change it.
- A payment stays pending after the payer approved it: do not ask the payer to pay again. Confirm the receipt in your IntaSend dashboard and record the payment manually if the follow-up checks have already passed.
