Skip to content

Paynecta

Collect payments with Paynecta

PAYNECTA sends the payer to Paynecta’s hosted M-Pesa checkout page, where they enter their M-Pesa number and approve the prompt on their phone. Funds settle directly into your chosen Kenyan bank account.

When Paynecta delivers a signed webhook — or when the payer returns to your portal — Centipid Billing verifies the Paynecta-Signature and Paynecta-Timestamp headers (HMAC-SHA256 within a 5-minute replay window), then re-reads the checkout session from Paynecta’s API using the session ID saved when checkout started. The package is credited only when Paynecta confirms succeeded in KES for at least the package price. Duplicate deliveries are ignored, and a background status poll recovers payments whose webhook never arrived.

The money goes directly into your own Paynecta account and Kenyan bank. Centipid Billing never holds it.

Offered in the country catalog for Kenya (KE). Your billing currency must be KES, or checkouts are refused before calling Paynecta.

Configure the gateway

  1. Get your live API keys from Paynecta

    Sign in to your Paynecta dashboard (https://app.paynecta.co.ke) and open Settings → API keys. Copy your Public key (pyn_pk_live_...) and Secret key (pyn_sk_live_...). Paynecta is live-only and always calls api.paynecta.co.ke.

  2. Choose an open-amount TapFlow

    In Paynecta, open TapFlows and copy the slug of a TapFlow that accepts any amount (fixed-price TapFlows cannot take variable package prices) and has a bank payout destination configured.

  3. Register the webhook URL and copy its signing secret

    Open Settings → Payments → Paynecta in Centipid Billing, copy the Webhook URL shown under Callback URLs, and add it under Settings → Webhooks in your Paynecta dashboard. Copy the generated signing secret.

  4. Save credentials and switch to Paynecta

    Paste your Public key, Secret key, TapFlow slug, and Webhook signing secret into Settings → Payments → Paynecta, then switch to Paynecta. Both the secret key and webhook signing secret are stored encrypted and masked on future visits.

Callback URLs

Where URL
Paynecta Settings → Webhooks https://<your portal domain>/api/paynecta/callback

The return and cancel addresses (/api/paynecta/return/<payment reference>) are sent with each checkout session, so there is nothing extra to register for them.

Walled garden

For hotspot subscribers who are not yet online, your MikroTik walled garden automatically opens pay.paynecta.co.ke and api.paynecta.co.ke. Test a live payment from an unauthenticated hotspot device before switching all customers.