Skip to main contentClickPesa can be selected as a payment gateway when it is supported for your country.
Centipid only allows one active payment gateway at a time. When you select and save a gateway in the Payments tab, it becomes the gateway used for all online payments until you switch to another one.
Required fields
When you choose CLICKPESA in the Payment Gateway dropdown, Centipid asks for:
- ClickPesa API Key – paste the key from your ClickPesa dashboard (
Developers → API Credentials)
- ClickPesa Client ID – corresponding client identifier from ClickPesa
- Callback / Webhook URL – configure this in ClickPesa so Centipid receives payment status updates. Use your ISP subdomain followed by the API callback path, for example:
https://your-domain.centipidtechnologies.com/api/clickpesa/webhook
Setup steps
- In your ClickPesa dashboard, navigate to
Developers → API Credentials to get your API Key and Client ID.
- In Centipid, open Settings → Payments and choose CLICKPESA.
- Paste the ClickPesa API Key and Client ID into the matching fields, and copy the callback URL (
https://your-domain.centipidtechnologies.com/api/clickpesa/webhook, replacing your-domain with your ISP subdomain). The callback URL is also shown in the form.
- In your ClickPesa dashboard, set the webhook URL to that same endpoint so payment notifications are delivered (this maps to the
POST /api/clickpesa/webhook route in Centipid).
- Click Save changes in Centipid.
::: tip ClickPesa Callback
You can always copy the callback URL from Settings → Payment Settings once ClickPesa is selected. Configure it in ClickPesa’s dashboard to mark payments as paid immediately after checkout.
:::
For onboarding and API details, refer to the ClickPesa documentation.
Testing your ClickPesa integration
- Create or pick a low‑cost test package in Centipid.
- From your portal, buy that package and complete the ClickPesa checkout.
- Confirm that:
- The payment is processed successfully by ClickPesa.
- The transaction shows as paid in Centipid.
- The customer’s package activates and they can connect (Hotspot or PPPoE, depending on your setup).
If something fails, recheck the API credentials and webhook URL in both Centipid and your ClickPesa dashboard, then retry the test.