Skip to main content

Deeplink

Deeplink (short for mobile deep link) is a mobile technology that functions similarly to a website URL. It enables navigation from a mobile app (or a website) to a financial application that the customer wants to use for making a payment. After the payment is completed, the deep link redirects the customer back to your application.

Below are the steps to integrate Deep Link into your product:

  1. Retrieve the list of supported financial apps that offer Deep Link functionality via the endpoint /deeplink/apps

  2. Generate a deeplinkUrl for the payment based on the recipient's information and the selected financial app. See details.

  3. Open the deeplinkUrl returned from the API for your customer.

  4. The financial app will launch and the payment information will be automatically filled in (for apps with autofill=1).

  5. Once the payment is successful, the financial app will either automatically redirect or provide a button to navigate back to your application (for apps with autofill=1).

Call API

curl --location 'https://sandbox.bankhub.dev/deeplink/apps' \
--header 'X-BankHub-Api-Version: 2023-01-01' \
--header 'x-client-id: <CLIENT_ID_HERE>' \
--header 'x-secret-key: <SECRET_KEY_HERE>' \
--header 'Content-Type: application/json' \
info

For detail API, here

  curl --location 'https://sandbox.bankhub.dev/deeplink' \
--header 'X-BankHub-Api-Version: 2023-01-01' \
--header 'x-client-id: <CLIENT_ID_HERE>' \
--header 'x-secret-key: <SECRET_KEY_HERE>' \
--header 'Content-Type: application/json' \
--data '{
"app": "ocb",
"payeeAddress": "113366668888@icb",
"payeeName": "NGUYEN VAN A",
"amount": 1000,
"transactionNote": "BH433423 test",
"redirectUrl": "loathanhtoan://"
}'
info

For detail API, here