Skip to main content
The aim of this document is to assist you in initiating card payment acceptance from your custom application running on the Nomba Android terminal. If you encounter any difficulties with this process, feel free to reach out for support.
Trigger card payments - available since NombaX Application v1.6.0
This following code snippet serves as a foundation for triggering card payment events on the Nomba terminal. Adjustments to the amount, transaction reference, and other parameters can be easily made based on specific application requirements.
Please ensure to pass the amount as kobo i.e. 200 will charge your customer NGN 2.00
The result of your payment action would be similar to this structure.
We’ve migrated from using hash maps to json strings for more flexibility and usage.
Please note that the following details will make reference to the kotlin code snippet

Constants

State Variable

Intent Setup

Launching the intent

Result Handling

Inside the result callback, the code retrieves the transaction result from the received intent and updates the resultString variable.