> For the complete documentation index, see [llms.txt](https://tech.x2bee.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tech.x2bee.com/api-guide/api-guides-en/store-front-api/member-service/sign-up.md).

# Sign Up

Provides the feature to register a new user and add them as a member of the e-commerce platform. Through this API, users can provide personal information and create a member account. X2BEE provides sign-up via two methods: standard login and easy login. For each sign-up procedure, the user can proceed with sign-up after being verified as to whether they are an existing member.

For new members, sign-up proceeds through the following steps:

* Click the \[Sign Up] button > Proceed with identity verification > Sign-up page
* Click the \[Easy Login] button > Proceed with easy login authentication > Sign-up page

***

## Identity Verification

On the login page, click the \[Sign Up] button to proceed with the identity verification process.

Once the identity verification process is successfully completed, you can proceed with the sign-up process.

<figure><img src="https://2999922013-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXTxKSWMmuxEkop1pvuwe%2Fuploads%2FXVP6gm4nx2wIX9vnDyJR%2FFO%20API%20%ED%99%9C%EC%9A%A9%ED%95%98%EA%B8%B0%20-%20%ED%9A%8C%EC%9B%90%EA%B0%80%EC%9E%851.drawio.png?alt=media&#x26;token=7793777d-3aa6-483b-85bd-a7e2f8eebcd2" alt="" width="375"><figcaption></figcaption></figure>

{% stepper %}
{% step %}

### Mobile Identity Verification

Proceeds with the identity verification process to determine whether the person is already a member.

* **Call identity verification (**[🔗View API >](https://api.x2bee.com/content?msa=member\&depth=%EB%B3%B8%EC%9D%B8%EC%9D%B8%EC%A6%9D%ED%98%B8%EC%B6%9C/getOAuthToken))\
  To call the Nice identity verification popup, retrieves token information from Nice → token.\
  If the token information is valid, the encryption target token information is passed to Nice to\
  generate the identity verification popup window.

```
POST /v1/member/getOAuthToken 
```

{% endstep %}

{% step %}

### Confirm Verification

Once Nice identity verification proceeds and the popup window is closed, verification is confirmed. The encrypted data sent to Nice is decrypted to confirm verification, and the identity verification history is saved at the same time.

* **Save member identity verification history (**[🔗View API >](https://api.x2bee.com/content?msa=member\&depth=%EB%B3%B8%EC%9D%B8%EC%9D%B8%EC%A6%9D%20%EA%B2%B0%EA%B3%BC/niceOpenResponse))\
  All identity verifications performed are saved as history.

```
POST /v1/member/niceOpenResponse
```

{% endstep %}
{% endstepper %}

***

## Easy Login Authentication

The easy login services X2BEE provides for convenient login are Kakao and Naver.

Members not registered with the easy login service go through each service's own login and authentication process.

Once the authentication process is successfully completed, the flow proceeds as follows:

* **If the user is a member: A popup guiding linkage with the existing member ID appears**
* **If the user is not a member: They are moved to the sign-up page**

<figure><img src="https://2999922013-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXTxKSWMmuxEkop1pvuwe%2Fuploads%2FUPCWIYex9FzCLsvsginx%2FFO%20API%20%ED%99%9C%EC%9A%A9%ED%95%98%EA%B8%B0%20-%20%EA%B0%84%ED%8E%B8%EB%A1%9C%EA%B7%B8%EC%9D%B8%20%EC%9D%B8%EC%A6%9D.drawio.png?alt=media&#x26;token=b538d4ba-5add-4f45-8328-b76c662cf106" alt="" width="375"><figcaption></figcaption></figure>

{% stepper %}
{% step %}

### Consent to Authentication

Using the authorization code issued through the Kakao and Naver login APIs for each easy login service, you can check whether the user is a member of your site. This API uses the same API as identity verification.

* **Save member identity verification history**([🔗View API >](https://api.x2bee.com/content?msa=member\&depth=%EB%B3%B8%EC%9D%B8%EC%9D%B8%EC%A6%9D/saveCertiInfo))\
  After identity verification is completed in each API module, the member's adult verification and identity verification history is saved.

```
POST /v1/member/certiInfo
```

{% endstep %}

{% step %}

### Link Easy Login

If the user is already registered as a shopping mall member, a popup appears notifying them of the linkage with easy login, and clicking the \[Confirm] button completes the linkage. If they are not a member, they are moved to the sign-up page to proceed with the sign-up process.

#### 2.1 Look Up Easy Login Account Information

Find and authenticate the social account information to log in with, then determine the post-processing method.

* **Look up easy login account information (**[🔗View API >](https://api.x2bee.com/content?msa=member\&depth=%EB%A1%9C%EA%B7%B8%EC%9D%B8/check))\
  Looks up whether the easy login account information is already linked and whether the social account's CI has been verified.

```
POST /v1/social/check
```

#### 2.2 Look Up Identity Verification CI Member Information

* **Look up identity verification CI member information**([🔗View API >](https://api.x2bee.com/content?msa=member\&depth=%ED%9A%8C%EC%9B%90%EA%B0%80%EC%9E%85/getCheckMobileCert))\
  If the social account's CI verification status is N, proceeds with identity verification.\
  After identity verification, existing member information is looked up using the corresponding CI linkage value.

```
POST /v1/member/checkMobileCert
```

#### 2.3 Link Easy Login

Proceeds with the identity verification process to determine whether the person is already a member.

* **Process social login** ([🔗View API >](http://api.x2bee.com/content?msa=member\&depth=%EB%A1%9C%EA%B7%B8%EC%9D%B8\&path=connect))\
  Uses the data received from each easy login service to check whether the user is a member of your site and proceeds with linkage and login processing.

```
POST /v1/social/connect
```

{% endstep %}
{% endstepper %}

***

## Sign Up

Users who are not yet registered can proceed with sign-up after completing identity verification or signing up via easy login.

<figure><img src="https://2999922013-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXTxKSWMmuxEkop1pvuwe%2Fuploads%2FAYKzFmrUHt1R1tp3oXBH%2Fimage.png?alt=media&#x26;token=064f950f-bdfb-4bb7-acc8-92aac7da43e6" alt="" width="200"><figcaption></figcaption></figure>

{% stepper %}
{% step %}

### Click the Sign Up Button

On the sign-up screen, once you complete entering the required fields and click the \[Sign Up] button, the sign-up request is completed.

* **Sign up (**[🔗View API >](https://api.x2bee.com/content?msa=member\&depth=%ED%9A%8C%EC%9B%90%EA%B0%80%EC%9E%85/insertMemberJoin))\
  Requests sign-up using the information entered by the user.

```
POST /v1/member/memberJoin
```

{% endstep %}
{% endstepper %}
