Send Prefilled Boarding Applications
Learn how to send prefilled boarding applications to prospective merchants
If you’ve already collected data from your prospective merchants, you can save them time on their boarding application by sending them a prefilled application to finish.
Before you begin, you need the ID for the boarding template you want to use. If you are testing in the sandbox, or only have one template, the ID 0
targets the root template. If your organization uses more than one templates, and you don’t know the templateId
, use the /Query/templates endpoint to get a list of templates.
Create the application
Use the Create boarding application endpoint to create and prefill the application.
In the example, the request creates a boarding application prefilled with the merchant data that you already have. The example also includes some application settings to note:
- The
resumable
field isfalse
, which means the applicant can’t save the application and return to it. They must finish and submit in one session. If you want the applicant to be able to save and return to the application, set this field totrue
. - The
recipientEmailNotification
field isfalse
, which means that Payabli won’t automatically email the applicant a boarding link. Setting this field totrue
automatically sends a boarding link to the applicant.
The appId
is returned in the response as responseData
. In this example, the application ID is 796
. You need this value before you can send the prefilled application to the prospective merchant.
Send the prefilled application
You have two options for giving the prospective merchant access to the application: you can create and email a boarding link to them, or you can create a boarding link that bypasses login and give it directly to the merchant.
Option 1: Email the application
After you’ve created an application that includes whatever data you already have for the prospective merchant, you can email it to them for completion. Use the /Boarding/applink endpoint. You need the appId
and the merchant contact’s email address. Make sure to append sendEmail=true
to the endpoint URL.
This example sends the application with appId
796 to merchantemailaddress@example.com
Special characters in the email address must be URL-encoded. For example, “merchant+company@example.com” becomes merchant%2Bcompany%40example.com
.
If the request was successful, the API response includes a link to the boarding application.
Your prospective merchant receives an email with a link to the boarding application. From there, they can complete and submit it, and the process follows the normal boarding process.
Option 2: Create a URL
Alternatively, you can give your prospective merchants a URL that launches the prefilled application without the merchant having to log in.
First, create the boarding link. Use the /Boarding/applink endpoint. You need the appId
and the merchant contact’s email address.
This example creates a boarding link with appId
796 for merchantemailaddress@example.com
If the request was successful, the API response includes a link to the boarding application.
Finally, using the values in the response, add the application’s referenceId and the prospective merchant’s email as parameters to the end of the boarding link. Here’s the same example as the previous section, in the URL format:
https://boarding-sandbox.payabli.com/boarding/externalapp/load/31C?email=merchantemailaddress%40example.com&referenceId=V2AdAMS3GQnU
You can pass this URL to the merchant however you wish.
Was this page helpful?