Payment GatewaysInterswitch

Interswitch

Connect Interswitch to PayLexer to accept card, bank transfer, and USSD payments across Nigeria, Kenya, and Uganda, with hosted checkout and full or partial refunds.

Interswitch is a Lagos-headquartered African payment infrastructure company that built and runs much of Nigeria's card-payment network, including Verve, Nigeria's own card scheme. Through the Interswitch Payment Gateway (IPG) you can accept cards (including Verve), bank transfers, and USSD from shoppers across West and East Africa. Shoppers pay on Interswitch's own hosted checkout page, so card details never touch your site.

Interswitch serves each country from different servers, so the Region you select in PayLexer must match the country your Interswitch account was opened in. A mismatch does not produce a helpful error - checkout simply fails.

Supported Features

  • Hosted checkout page that takes the shopper to Interswitch to pay and returns them to your site, so card details never touch your own pages
  • Card payments, including Verve, Nigeria's domestic scheme
  • Bank transfer payments
  • USSD payments
  • Full and partial refunds
  • Server-side verification of every payment before an order is marked paid
  • Signed webhooks as a backup confirmation route
  • Sandbox (test) mode for testing before going live

Interswitch on PayLexer is a payments-only gateway. Interswitch publishes no API for creating, billing, or cancelling a recurring plan, so subscriptions and free trials are not supported and a subscription request is rejected with a clear message.

Before You Start

Make sure you have:

Interswitch's test mode is available as soon as you register, and registration is free with no integration or platform fee. Going live requires verification - BVN for sole traders, or company documents for registered businesses - which Interswitch reviews within 24 to 48 hours.

Looking for a different payment processor? View all supported gateways →

Configuring Interswitch

You need a Client ID, Client Secret, Merchant Code, and Pay Item ID from Interswitch for this integration, plus the Region your Interswitch account was opened in.

Getting API Credentials

Open Quickteller Business

Log in to Quickteller Business.

Quickteller Business login screen
Quickteller Business login screen

Quickteller Business provides Test and Live environments in the same dashboard. There is no separate sandbox portal. Once approved for Live, you can switch environments using the Test/Live toggle.

Open Integration Credentials

Go to Developer Tools → Integration Credentials, then copy your Client ID (it starts with IKIA) and your Client Secret, which Quickteller Business labels Secret Key.

Integration Credentials screen in Quickteller Business showing the Client ID and Secret Key
Integration Credentials screen in Quickteller Business showing the Client ID and Secret Key

Your Client Secret authenticates refunds. Treat it like a password and never share it.

Copy your Merchant Code and Pay Item ID

On the same screen, copy your Merchant Code and your Pay Item ID.

Merchant Code and Pay Item ID values in the Quickteller Business Integration Credentials section
Merchant Code and Pay Item ID values in the Quickteller Business Integration Credentials section

The Pay Item ID is also called the Payable Code - it identifies the collection account your money is credited to. It is not your Merchant Code. Entering the Merchant Code in both fields is the most common setup mistake.

Note the country your account was opened in

Interswitch runs separate servers for Nigeria, Kenya, and Uganda. Note which country your Interswitch account belongs to, because you select it as the Region in the next section.

Adding Credentials to PayLexer

Open PayLexer Dashboard

Log in to your PayLexer dashboard and navigate to Payment Gateways → Interswitch.

PayLexer dashboard Payment Gateways list with Interswitch highlighted
PayLexer dashboard Payment Gateways list with Interswitch highlighted

Enter your credentials

Paste the Client ID, Client Secret, Merchant Code, and Pay Item ID you copied from Interswitch into the corresponding fields, then choose your Region (Nigeria, Kenya, or Uganda).

Sandbox credential and Region fields for Interswitch in the PayLexer dashboard
Sandbox credential and Region fields for Interswitch in the PayLexer dashboard
Live credential and Region fields for Interswitch in the PayLexer dashboard
Live credential and Region fields for Interswitch in the PayLexer dashboard

Understanding Live/Production and Sandbox Settings:

EnvironmentPurpose
Live / Production (Mandatory)Used for real transactions. Cannot be empty, even when testing.
Test / Sandbox (Optional)Used for testing only. No real money is processed.

How PayLexer selects credentials:

  • Debug/Test mode ON → Test credentials are used
  • Debug/Test mode OFF → Live credentials are used

Configuring Webhooks (Mandatory)

Webhooks enable real-time payment updates and significantly improve reliability.

Benefits of Webhooks:

  • Instant payment status updates
  • Orders still complete when a shopper pays and then closes the tab
  • Bank transfer and USSD payments are picked up when they arrive after checkout

Copy your PayLexer webhook URL

In Payment Gateways → Interswitch, copy the Webhook URL that PayLexer generates for your account.

Read-only Webhook URL field on the Interswitch page in the PayLexer dashboard
Read-only Webhook URL field on the Interswitch page in the PayLexer dashboard

Add the environment to the URL

Interswitch notifications do not say which mode they came from, so the environment travels in the URL:

  • For your test webhook, add ?env=test to the end of the URL.
  • For your live webhook, add ?env=live to the end of the URL.

Create the webhook in Quickteller Business

Go to Developer Tools → Webhooks, add a new webhook, and paste the PayLexer Webhook URL you just prepared.

Webhooks section of Developer Tools in Quickteller Business
Webhooks section of Developer Tools in Quickteller Business
Create webhook dialog in Quickteller Business with the endpoint URL field
Create webhook dialog in Quickteller Business with the endpoint URL field

Copy the Webhook Secret into PayLexer

Copy the Webhook Secret Interswitch generates, paste it into the Webhook Secret field in Payment Gateways → Interswitch in PayLexer.

Webhook Secret field on the Interswitch page in the PayLexer dashboard
Webhook Secret field on the Interswitch page in the PayLexer dashboard

Test and live have separate webhook URLs and separate Webhook Secrets in Interswitch, so set up both and paste each secret into its matching Test or Live field in PayLexer.

Test and Save

Click Save to save your configuration and verify your credentials. Click Verify Connection to test the connection.

Save and Verify Connection buttons on the Interswitch configuration screen in PayLexer
Save and Verify Connection buttons on the Interswitch configuration screen in PayLexer

Verification checks your Client ID, Client Secret, and Merchant Code, and confirms that your Region is correct. The Pay Item ID can only be verified by a real transaction, so run one small test payment before going live.

Integrate Interswitch to Your Website

If you have already added and configured your site, you can enable Interswitch in your existing setup.

Go to Websites

Navigate to Websites in your PayLexer dashboard.

Edit your website

Click the Edit Icon of your added website.

Websites list in the PayLexer dashboard with the Edit icon on a website row
Websites list in the PayLexer dashboard with the Edit icon on a website row

Enable Interswitch

Click the checkbox to enable Interswitch for the website.

Payment gateway checkboxes for a PayLexer website with Interswitch selected
Payment gateway checkboxes for a PayLexer website with Interswitch selected

If you haven't added a website yet, Continue to Add Your Website →

Troubleshooting

Best Practices

  • Test in sandbox before enabling production - complete a full checkout and a refund with Test credentials first.
  • Set the Region to the country your Interswitch account was opened in, and re-check it whenever checkout starts failing.
  • Configure both the test and live webhooks, each with its own ?env= value and its own Webhook Secret.
  • Run one small real payment after going live, since the Pay Item ID cannot be verified any other way.
  • Only offer Interswitch on orders priced in NGN, KES, UGX, or USD.
  • Start Interswitch's live verification early, since live payments depend on its approval.

FAQs

Still Have Questions?

Was this page helpful?