We use cookies to optimize your user experience. All information shared with us through cookies is secure and covered by our data privacy obligations. To learn more, view our privacy policy.
KongaPay Logo
KongaPayDevelopers
DevelopersPayment GatewayIntegration Overview

Integration Overview

Collect payments through KongaPay hosted checkout using the KPG.setup SDK flow.

The Payment Gateway lets a merchant collect payments through a hosted checkout via the KongaPay SDK. Payments can be completed through card, KongaPay, USSD, QR, transfer, BNPL, and other enabled channels.

Integration Flow

  • Create a KongaPay business account.
  • Get your public_key and secret_key from the KongaPay team.
  • Generate a unique transaction reference and SHA-512 hash on your backend.
  • Call KPG.setup with amount, reference, hash, public key, callback, and customer details.
  • The SDK opens hosted checkout in an iframe or redirects to the hosted checkout page.
  • Receive the SDK callback, then verify final status server-side before fulfilment.