# Submit signature

Merchant’s consent is collected through signature submission to complete the onboarding application. Once all information is added, signatures can be submitted electronically or by uploading signed document.

<details>

<summary><strong>Electronic signature submission</strong></summary>

Merchants can digitally accept the terms and conditions, offering a streamlined and secure experience.

**Process:**

1. Mark at least one business contact as a signer.<br>

   <div data-gb-custom-block data-tag="hint" data-style="success" class="hint hint-success"><p>This step is usually completed during demographic information entry.</p></div>
2. Present the legal Terms and Conditions to the signer for review.
3. Provide an option to confirm acceptance (for example, a checkbox).
4. Submit the collected data to the [Signatures](https://docs.xplorpay.com/api-reference/api/merchant-onboarding/merchant-boarding-via-api/boarding-management/application#post-api-boardingmanagement-v1.0-applications-merchantnumber-submitsignatures) endpoint to complete the submission.

Use the `POST` method `/api/BoardingManagement/v1.0/Applications/{merchantNumber}/SubmitSignatures` to successfully submit the signature. Refer to the below sample code for reference:

{% code lineNumbers="true" %}

```json
{
  "metadata": {
    "exchangeId": "ID-7fefaf13-978d-4eca-b1a2-3eefa9e4f719",
    "timestamp": "2020-01-07T16:32:38.0295227Z"
  }
}
```

{% endcode %}

</details>

<details>

<summary><strong>Signature submission via document upload</strong></summary>

Merchants preferring physical signatures can print, sign, and then upload the signed documents for submission.

**Process:**

1. Mark at least one business contact as a signer.<br>

   <div data-gb-custom-block data-tag="hint" data-style="success" class="hint hint-success"><p>This step is usually completed during demographic information entry.</p></div>
2. Allow the merchant to upload the signed documents through your application.
3. Submit the uploaded document to the [Upload Document](https://docs.xplorpay.com/api-reference/api/merchant-onboarding/merchant-boarding-via-api/merchant-demographics/documents#post-api-demographics-v1-documents-merchantnumber) endpoint.

Use `POST` method to `/api/demographics/v1/Documents/{merchantNumber}` upload a document. Refer to the below sample code for reference:

{% code lineNumbers="true" %}

```json
"string"
```

{% endcode %}

4. Once the document is uploaded, use the [Signatures](https://docs.xplorpay.com/api-reference/api/merchant-onboarding/merchant-boarding-via-api/boarding-management/application#post-api-boardingmanagement-v1.0-applications-merchantnumber-submitsignatures) endpoint to confirm and submit the signature.

Use the `POST` method `/api/BoardingManagement/v1.0/Applications/{merchantNumber}/SubmitSignatures` to successfully submit the signature. Refer to the below sample code for reference:

{% code lineNumbers="true" %}

```json
{
  "metadata": {
    "exchangeId": "ID-7fefaf13-978d-4eca-b1a2-3eefa9e4f719",
    "timestamp": "2020-01-07T16:32:38.0295227Z"
  }
```

{% endcode %}

</details>

When a merchant submits signatures, the system validates the submitted information. If any errors are found, they are returned in the response. If the data is valid, the signatures are accepted, and the submission is complete.

{% hint style="warning" %}
After a successful submission, no further changes can be made to the merchant through the Merchant Onboarding API. This process ensures Xplor Pay receives the required authorization while supporting flexible signature submission options.
{% endhint %}
