# Merchant Onboarding

## Overview

This document describes how to integrate the merchant onboarding feature. Before you begin, please review the following:

- [API Rules](/collection/apis/intro/api-rules)
- [Signature Generation and Verification](/collection/apis/intro/signature)
- [File Upload](/collection/apis/intro/file-upload)


## Business Process

### Onboarding Status Flow

### Onboarding Application

- [Merchant Onboarding Application](/collection/apis/openapi/merchant-onboarding/apply_1): This API submits a merchant onboarding application
- The system returns a merchant ID `merch_id` and an account authorization link `authorize_link`
- The `request_id` in the request parameters is used for tracking the business process


### Account Confirmation

The merchant must confirm the account opening on the authorization interface opened via the `authorize_link`

### Information Update

- [Merchant Information Update](/collection/apis/openapi/merchant-onboarding/update_1): This API updates rejected onboarding applications
- The `request_id` in the request parameters must match the `request_id` from the onboarding application
- Only applications with status `REJECTED` can be updated
- After updating information, the merchant must re-confirm through the **Account Confirmation** step


### Query Onboarding Result

- [Query Merchant Onboarding Result](/collection/apis/openapi/merchant-onboarding/inquiry_2): This API queries the review status of an onboarding application
- The `request_id` in the request parameters must match the `request_id` from the onboarding application
- Periodically call the query API to obtain the review status


### Listen for Onboarding Result Notifications

- [Merchant Onboarding Result (Notification)](/collection/apis/openapi/merchant-onboarding/notification_2): **webhook** for receiving asynchronous notifications
- Listen for callback notifications of type `MERCH`
- The `request_id` in the notification content is the `request_id` from the onboarding application


## Next Steps

After the merchant is successfully onboarded (status is `NORMAL`), you can use the merchant ID (`merch_id`) to open a collection account. See [Collection Account](/collection/docs/va) for details.