Skip to main content

Airpay integration's integration with Airpay lets your users make payments through the bot. This integration helps you generate payment links in the bot and share it with the bot users using which they can make payments.

Fetch credentials from Airpay

Retrieve the following details from your Airpay account:

  1. Merchant ID
  2. Access token
  3. Airpay base URL

Connect Airpay with

To connect your Airpay account with, follow these steps:

  1. Go to > Integrations > Payment > Airpay.

  2. In Give account name, provide a name for the Airpay account and enter the Merchant ID, Access token and Airpay base URL of your Airpay account and click Connect.

  1. In a two-tier environment, add account names in Development and use them in Live.
  2. In a three-tier environment, add accounts in Staging and Sandbox, and they'll be available in Production.
  1. You can add up to 15 merchant accounts. To add another Airpay account, click on Add account and follow the steps mentioned above.

To generate a payment link in the bot using Airpay, follow the steps mentioned below:

  1. Go to Studio > Build and build a flow for your use case.

  2. At whichever point of conversation you want the bot to access Airpay for payment link, inlcude the Airpay node. For that, drag the node connector, go to Integrations > Airpay.

  3. In the Airpay node fill in the following fields:

  • Account name: Choose the Airpay account. If you have only one account, the account name is automatically populated. If you have multiple accounts, the first account added is auto-populated. Select the one you want to use at that moment.

  • Action: Choose the action to perform, the action available for Airpay is Generate Payment Link.

    Once you click the action, the following fields open up. There are two ways by which you can fill these fields:


Pass dynamic data in variables

From customers you can collect information and fill these fields. Add prompt nodes before the integration node and store the response of each node in a variable. Then, pass those variables in the respective fields here.


Pass static values

You type the static values in the fields by clicking Or or disabling Var option.

  1. Store the JSON response of the Airpay node in a variable.

  2. Display the API response in a message node.

Sample response:

"success": true,
"invoice_number": "1234745234245",
"payment_url": ""