# Hosted Merchant Onboarding

The Hosted Merchant Onboarding API provides a prebuilt, secure hosted flow for merchant onboarding. Merchants can enter their business details, review and sign terms, and complete the application to onboard easily.

This solution automates key onboarding steps, including merchant account creation, data validation, and pricing configuration.

Hosted Merchant Onboarding is designed for quick integration. It requires minimal development effort while relying on Xplor Pay to manage the onboarding workflow and validation.

{% hint style="warning" %}
Hosted Merchant Onboarding was previously referred to as *Launch for Integrator* (*L4I*). You may still see references in systems massages, APIs, or legacy documentation to *L4I*.
{% endhint %}

### Hosted merchant onboarding steps

Follow the steps below to onboard a merchant using the hosted application:

{% stepper %}
{% step %}

#### **Generate application URL**

To get onboarding application URL, use the [Create New Merchant](https://docs.xplorpay.com/api-reference/api/merchant-onboarding/hosted-merchant-onboarding/merchant#post-api-launchintegratorsetup-v1.0-integratemerchant-hierarchynodekey) endpoint to initiate onboarding for a merchant under your partner hierarchy node. This endpoint supports both minimal and complete payloads and applies default values when optional fields are not provided.

{% hint style="warning" %}
The application creation endpoint accepts partial requests and fills in default values where applicable.
{% endhint %}

Submit the required minimal merchant details, such as `DBA name`, `email address`, and `MCC`, to generate an application URL. This option is suitable when you collect only basic merchant information upfront and allow the merchant to complete the remaining details in the hosted flow.

{% code lineNumbers="true" %}

```
{
  "merchantInformation": {
    "dbaName": "test-L4I",
    "emailAddress": "felicita.silvester@xplortechnologies.com"
  },
  "salesProfile": {
    "MccCode": "4582"
  },
  "pendEmailAddress": "user@example.com"
}
```

{% endcode %}

The API creates a new merchant application and response returns an application URL in the `applicationURL` field.

In request body, the `pendEmailAddress` field specifies the email address that receives application status update notifications, such as Signed, Approved, Pended, or Declined.

{% hint style="info" %}

* If `pendEmailAddress` field is provided, the system sends notifications to this email address.
* If not provided, the system uses the address <no-reply@xplorpay.com> as default.
  {% endhint %}
  {% endstep %}

{% step %}

#### Submit complete payload (optional)

Submit additional merchant details to prefill the hosted application and reduce manual data entry. Providing a [complete payload](https://docs.xplorpay.com/api-reference/api/merchant-onboarding/hosted-merchant-onboarding/merchant#post-api-launchintegratorsetup-v1.0-integratemerchant-hierarchynodekey) improves the onboarding experience and helps merchants complete the application faster.

Use this approach when merchant data is already available, such as business details, addresses, bank accounts, ownership information, and pricing configuration.
{% endstep %}

{% step %}

#### **Redirect merchant**

The application URL directs the merchant to the hosted onboarding page to complete the application.

{% hint style="info" %}
Xplor Pay triggers a welcome email to the merchant containing the same link.
{% endhint %}
{% endstep %}

{% step %}

#### **Complete application**

The onboarding page shows the required fields to submit the application. Merchant can enter the business details, additional required information to review.

In the onboarding page, the merchant can:

* Review and complete application details
* Upload required documentation
* Digitally sign agreements

{% hint style="warning" %}
The application URL remains valid for ***30 days***. After expiration, generate a new application to complete onboarding.
{% endhint %}
{% endstep %}

{% step %}

#### **Submit application**

When merchant submits the application, Xplor Pay validates the data and allows merchants to sign the agreement digitally.
{% endstep %}

{% step %}

#### **Pricing configuration**

The hosted onboarding application applies the default pricing plan based on your partner account structure. You can configure the pricing using custom or empower pricing.
{% endstep %}
{% endstepper %}

To apply and configure default, custom, or empower pricing for eligible merchants, see [Pricing Plan and Reference](https://docs.xplorpay.com/api-reference/api/merchant-onboarding/onboard-merchant/pricing-plan-and-reference).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.xplorpay.com/api-reference/api/merchant-onboarding/hosted-merchant-onboarding.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
