Skip to main content
Version: 2.1

transactions-deeplinking

Transactions/Payments Acceptance using Deeplinking

Integration with Halo.Go application for transactions using Deeplinking.


Retrieve a Transaction URL and Reference by hitting the endpoint below. You will need the API Key and Merchant ID from the previous step for this API call.


Post

{{POST_URL}}

The Call to initiate a Deeplink Transaction.


Headers

NameTypeDescription
Content-Type*StringContent Type of The Request: application/json
x-api-keyStringThe API Key retrieved from the Merchant Portal

Request Body

NameTypeDescription
merchantId*IntegerMerchant ID from Merchant Portal
paymentReference*StringReference of the transaction
amount*IntegerAmount of the transaction
timestamp*StringISO Standard Timestamp
currencyCode*StringISO Standard Currency Codes
isConsumerApp*BooleanIndicate if the call is for a Consumer App
Image*JSONSet to true to generate a QR code - ("required*: false")

Please see the example of the request body below:

{
"merchantId": "[your_merchant_id]",
"paymentReference": "[your_payment_reference]",
"amount": [your_payment_amount],
"timestamp":"Thu Aug 25 09:43:59 SAST 2022",
"currencyCode": "ZAR",
"isConsumerApp": false,
"Image": {
"required": false
}
}

Response

200: OK URL to invoke the Halo Dot Application for a payment


The response will contain a Transaction URL and Payment Reference that will be used in the intent call.

Please see the example of the response body below:

{

"url": "https://halompos.page.link/DYfL4EZEzvAzBfBAS",
"reference":"c9e1were-8156-444c-894d-e065d71366a6"
}

Use the Generated URL to Call the Halo Dot Go App

The generated link returned by the API call can then be used to invoke the Halo Dot Go application and start process transactions