Understand Nomba Checkout (Nomba’s Online Payment Gateway)
Nomba Checkout flow
POST
call to /auth/token/issue
(Authentication). Upon successful authentication, the Nomba API will respond with a success message containing the access token.
POST
call to /checkout/order
(Create checkout order). The Nomba API responds with a success message containing the checkout link, which your app will display to the customer for them to make payment.
Besides the mandatory fields when creating a checkout order, the various optional fields allow for a number of customizations while creating a checkout order.
tokenizeCard
to true. This will cause the
checkout service to save the customer’s payment details securely and enable you to charge the merchant in the future.
accountId
will have the checkout funds paid into whatever account is provided in this field.
Note this has to be one of your outlet accounts with Nomba. This will enable you process checkout transactions for different sub accounts.
splitRequest
parameter when creating the checkout order. This will contain how the order amount will be split (by Percentage of the order Amount, or based on actual amount), and the various accounts where the funds will be split into.
Set PERCENTAGE
for percentage split or AMOUNT
for monetary amount split in the splitType property.
Pay with Card
Pay with card
Pay with Bank Transfer
Pay with bank transfer
POST
call to /transactions/accounts
(Filter Transactions) on Nomba, using the transaction reference. The Nomba API responds with a success message containing transaction details.