Accept online payments
Instructions on integrating Nomba’s payment gateway for processing online payments.
Introduction
Nomba Checkout serves as a payment gateway enabling your business to receive payments from customers through bank transfers or local/international debit cards, supporting Mastercard, Visa, and Verve.
Accept online payments
Get Started
Embark on a 6-step journey to initiate payment acceptance
Acquire your API key
Prior to engaging with the Nomba API, it is imperative to acquire an access token to ensure access to the available resources. Before obtaining an access_token, it is essential to complete the following steps:
-
Initialize your dashboard: Set up and configure your dashboard to establish a centralized control point.
-
Retrieve your API Keys: Obtain the necessary API keys to authenticate and authorize your access to the API.
Configure your webhook
Webhooks are a way to send real-time notifications or events from one application to another. Nomba can send notifications to your application via a webhook interface after which you can carry out a business process inside your application such as updating the status of a payment or sending an email.
Please follow the set up your webhook guide to properly configure your webhooks
Obtain an access token via the API
As mentioned earlier, access to our APIs necessitates the use of an access token. Refer to the guide on obtaining an access token for detailed instructions.
Sample request
Sample response
Retrieve a Nomba Checkout link using the API
Once this link is loaded on a browser, your customer will be able to pay you via bank transfer or debit card. Please refer to the guide on creating a checkout order
Sample request
Sample response
Pick the checkoutLink
from the response and load in a browser or an iframe to allow your customer pay you.
Handle our webhook requests
Once you are subscribed to a webhook event e.g. payment_success
, we will send a webhook request to you upon a successful payment from your customer. For a successful bank transfer payment, the request body is slightly different from that of a successful card payment. The customer.billerId
and customer.productId
differ as shown below
Successful card payment
Successful bank transfer
Please refer to our webhooks documentation to further understand how to work with them.
Conduct transaction verification
After you receive our webhook notification, we recommend you to verify the status of the transaction before performing your business process. Please refer to the guide on verifying checkout transactions to see how to perform transaction verification.
Use the transaction reference Id (data.transaction.transactionId
) in the webhook request body to perform the transaction verification.
Sample request
Sample response