TT3 App to App Integration Guide
Integration with Halo.Go application for TT3 Transactions using Android Intent Mechanisms or Deeplinking.
1. Android Intents Mechanism
Steps in this section:
Retrieve a
Transaction ID
and paymentJWT
from the Halo Backend.Send an Intent Request to the Halo Dot Go application.
1. Retrieve Transaction ID and JWT from Halo Backend
Step two of Android Intents Mechanism integration is to initialize the transaction on the Halo Dot backend through an API request. You will need the API Key
and Merchant ID
from the previous step for this API call. The response will contain a Transaction ID
and JWT Token
that will be used in the third and final step.
Let’s take a closer look at the API request.
Intent Transaction
POST
https://kernelserver.{env}.haloplus.io/{version}/consumer/tt3IntentTransaction
The call to the Halo Dot Backend to initiate a TT3 Intent Transaction.
Path Parameters
version*
String
The backend version.
env*
String
The backend environment [dev, qa, prod]
Headers
Content-Type*
String
Content Type of the Request: application/json
x-api-key*
String
The API Key retrieved from the Merchant Portal
Request Body
merchantId*
Integer
Merchant ID from Merchant Portal
accountNumber*
String
Account Number of the Debit Order
maxCollectionAmount*
String
Max amount of the Debit Order (e.g. 100.01)
timestamp*
String
ISO Standard Timestamp
contractReference*
String
Reference of the Debit Order
id
String
ID number of the account holder
instalmentAmount
String
Instalment amount of the Debit Order (e.g. 100.01)
instalmentVisibility
Enum
This field is to set what should be displayed to the user: both, maximumOnly, instalmentOnly
2. Send an Intent Request to the Halo Dot Go
We provide a sample code to help you with the intent request function call. The code is available on your Halo Dot Go Merchant Portal. The code is made available in this repo over here.
2. Deeplinking Mechanism
Steps in this section:
Retrieve the
Transaction URL
from the Halo BackendUse the Generated URL to call the Halo Dot Go application.
1. Retrieve the Transaction URL from the Halo Backend
The last step of Deeplinking integration is to retrieve the URL from the Halo Dot backend through an API request. You will need the API Key
and Merchant ID
from Getting Started for this API call.
Let’s take a closer look at the API request.
Transaction URL
POST
https://kernelserver.{env}.haloplus.io/{version}/consumer/tt3QRCode
The call to the Halo Dot Backend to initiate an Intent Transaction and retrieve a Transaction URL that can be used to invoke the Halo Dot Link application
Path Parameters
version*
String
The backend version.
env*
String
The backend environment [dev, qa, prod]
Headers
Content-Type*
String
Content Type of the Request: application/json
x-api-key*
String
The API Key retrieved from the Merchant Portal
Request Body
merchantId*
Integer
Merchant ID from Merchant Portal
id*
String
ID number of the account holder
accountNumber*
String
Account Number of the Debit Order
maxCollectionAmount*
String
Max amount of the Debit Order (e.g. 100.01)
timestamp*
String
ISO Standard Timestamp
contractReference*
String
contractReference
image*
JSON
Set to true to generate a QR code - {"required": false}
isConsumerApp
Boolean
Indicate if the call is for a Consumer App
collectionDay*
Number
Debit order day
CreditorABSN*
String
Description of Insurer (e.g. Name of insurer)
instalmentAmount
String
Instalment amount of the Debit Order (e.g. 100.01)
instalmentVisibility
Enum
This field is to set what should be displayed to the user: both, maximumOnly, instalmentOnly
2. Use the Generated URL to call the Halo Dot Go application
The generated link returned by the API call can then be used to invoke the Halo Dot Go application and start processing the transaction.
3. Conclusion
That concludes the guide to integrating the Halo Dot Go into your application. For any questions, please do not hesitate to reach out to the Halo Dot Team.
Not what you were looking for? If you are looking for the TT3 Intent Integration guide, it is over here
Last updated