> For the complete documentation index, see [llms.txt](https://docs.pagsmile.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pagsmile.com/reference/remittance-api/business/onboarding/query-individual.md).

# Query Individual

Retrieves the current profile and onboarding status of an individual merchant.

#### Endpoint

`POST /remittance/merchant/query-individual`

**Sandbox base URL:** `https://rem-api-sandbox.pagsmile.com`\
**Content-Type:** `application/json; charset=UTF-8`

The request uses the standard [Remittance API request envelope](https://docs.pagsmile.com/remittance-api/common). The fields below describe the decrypted `biz_data` object.

{% hint style="info" %}
**Requirement:** `M` = Mandatory, `O` = Optional, and `C` = Conditional. A conditional field is mandatory only when the condition stated in its description applies.
{% endhint %}

{% hint style="warning" %}
Encrypt `biz_data`, encrypt the AES key into `random_key`, and sign the request according to the Common request specification.
{% endhint %}

#### Request body

**Decrypted `biz_data` fields**

| Field         | Type         | Requirement | Description                                                                                                                                                                                                     |
| ------------- | ------------ | ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `merchant_id` | long         | M           | Pagsmile-assigned unique identifier of the merchant on whose behalf the request is submitted.                                                                                                                   |
| `id_no`       | string(6-20) | M           | Number of the identity document.                                                                                                                                                                                |
| `id_type`     | integer      | M           | <p>Type of identity document used for identity verification.<br>See <a href="https://docs.pagsmile.com/reference/remittance-api/data/dictionary-item/idtype">Type of certificate.</a> for supported values.</p> |

{% hint style="info" %}
Choose one of field holder\_id and field (id\_no,id\_type).
{% endhint %}

**Plaintext `biz_data` example**

{% hint style="info" %}
This example includes mandatory fields and representative optional or conditional fields. Submit fields marked `C` only when the condition in the field description applies.
{% endhint %}

```json
{
  "merchant_id": 100398,
  "id_no": "AB123456789",
  "id_type": 1
}
```

#### Request example

```bash
curl --request POST \
  --url https://rem-api-sandbox.pagsmile.com/remittance/merchant/query-individual \
  --header 'Content-Type: application/json; charset=UTF-8' \
  --data '{
    "partner_id": "<your_partner_id>",
    "app_id": "<your_app_id>",
    "timestamp": "2026-07-20 10:30:00",
    "version": "2.0",
    "language": "en",
    "random_key": "<RSA-encrypted AES key>",
    "request_id": "<globally_unique_request_id>",
    "sign_type": "RSA",
    "biz_data": "<AES-encrypted biz_data>"
  }'
```

{% hint style="info" %}
Use the `partner_id` and `app_id` assigned to your integration. The values above are placeholders.
{% endhint %}

#### Response

{% tabs %}
{% tab title="Success" %}

```json
{
  "code": "10000",
  "msg": "Success",
  "data": {
    "merchant_id": 100399,
    "mobile": "+8613942039916",
    "first_name": "Ronald",
    "last_name": "Taylor",
    "id_no": "5fb02a79-3f24-4016",
    "id_type": 1,
    "issuance_date": "2026-07-20",
    "expires_on": "2026-07-20",
    "email": "k.virml@uyvfsknb.km",
    "birthday": "1990-01-01",
    "gender": 1,
    "nationality_code": "BR",
    "address": {
      "address_id": 100865,
      "city_name": "beijing",
      "country_code": "BR",
      "postal_code": "318588",
      "state": "proident enim",
      "line": "Ohdup Ohvky Vfhj Xsmm Nitsnvg Wcvyxylgf Dyiyahx Tmegll Lntjr Ojktf Qct",
      "line2": "Bjgu Dchrli Godryhqe Gqymw Yxsmpyu Icoxev Jpgu Ihtizyoac Wuiejrv Gbxcr"
    },
    "status": 3
  },
  "random_key": "abssdddd2wdw==",
  "sign_type": "RSA",
  "app_id": "2017051914172236111"
}
```

{% endtab %}

{% tab title="Invalid signature" %}

```json
{
  "code": "40002",
  "msg": "Business Failed",
  "sub_code": "invalid-signature",
  "sub_msg": "invalid signature"
}
```

{% endtab %}
{% endtabs %}

**Response data fields**

| Field                  | Type    | Requirement | Description                                                                                                                                                                                         |
| ---------------------- | ------- | ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `merchant_id`          | long    | M           | Pagsmile-assigned unique identifier of the merchant associated with the returned individual merchant profile.                                                                                       |
| `status`               | integer | M           | <p>Current status of the record.<br>Supported values:<br><code>0</code> — Initial<br><code>1</code> — Enabled<br><code>2</code> — Disabled</p>                                                      |
| `mobile`               | string  | M           | Full mobile phone number, including the international country calling code.                                                                                                                         |
| `first_name`           | string  | M           | Legal first name of the individual.                                                                                                                                                                 |
| `last_name`            | string  | M           | Legal last name of the individual.                                                                                                                                                                  |
| `id_no`                | string  | M           | Number of the identity document.                                                                                                                                                                    |
| `id_type`              | integer | M           | <p>Type of identity document used for identity verification.<br>See <a href="https://docs.pagsmile.com/reference/remittance-api/data/dictionary-item/id-type">ID Type</a> for supported values.</p> |
| `issuance_date`        | string  | O           | Issue date of the identity document. Format: `yyyy-MM-dd`.                                                                                                                                          |
| `expires_on`           | string  | O           | Expiration date of the identity document. Format: `yyyy-MM-dd`.                                                                                                                                     |
| `email`                | string  | M           | Email address of the merchant or contact person.                                                                                                                                                    |
| `birthday`             | string  | M           | Date of birth of the individual. Format: `yyyy-MM-dd`.                                                                                                                                              |
| `gender`               | integer | M           | <p>Gender of the individual merchant.<br>See <a href="https://docs.pagsmile.com/reference/remittance-api/data/dictionary-item/gender">Gender</a> for supported values.</p>                          |
| `nationality_code`     | string  | M           | Two-letter ISO 3166-1 alpha-2 code representing the individual's nationality.                                                                                                                       |
| `address.address_id`   | long    | M           | Unique identifier of the address.                                                                                                                                                                   |
| `address.line`         | string  | M           | <p>First line of the individual's residential address.<br>Format: <a href="https://docs.pagsmile.com/reference/remittance-api/data/dictionary-item/charsets">CHARSETS\_4</a>.</p>                   |
| `address.line2`        | string  | O           | <p>Optional second line of the individual's residential address.<br>Format: <a href="https://docs.pagsmile.com/reference/remittance-api/data/dictionary-item/charsets">CHARSETS\_4</a>.</p>         |
| `address.postal_code`  | string  | M           | ZIP or postal code of the individual's residential address.                                                                                                                                         |
| `address.city_name`    | string  | M           | <p>City of the individual's residential address.<br>Format: <a href="https://docs.pagsmile.com/reference/remittance-api/data/dictionary-item/charsets">CHARSETS\_6</a>.</p>                         |
| `address.state`        | string  | M           | <p>State, province, or region of the individual's residential address.<br>Format: <a href="https://docs.pagsmile.com/reference/remittance-api/data/dictionary-item/charsets">CHARSETS\_6</a>.</p>   |
| `address.country_code` | string  | M           | Two-letter ISO 3166-1 alpha-2 country code of the individual's residential address.                                                                                                                 |
| `created_at`           | string  | O           | Date and time when the individual merchant profile was created. Format: `yyyy-MM-dd HH:mm:ss`.                                                                                                      |

#### Related APIs

* [Add Shop](https://docs.pagsmile.com/remittance-api/business/onboarding/add-shop)
* [Create Corporate Merchant](https://docs.pagsmile.com/remittance-api/business/onboarding/create-corporation)
* [Create Individual](https://docs.pagsmile.com/remittance-api/business/onboarding/create-individual)
* [Delete Shop](https://docs.pagsmile.com/remittance-api/business/onboarding/delete-shop)
* [Query Corporate Merchant](https://docs.pagsmile.com/remittance-api/business/onboarding/query-corporation)
* [Query Shops](https://docs.pagsmile.com/remittance-api/business/onboarding/query-shops)
* [Update Corporate Merchant](https://docs.pagsmile.com/remittance-api/business/onboarding/update-corporation)
* [Update Individual](https://docs.pagsmile.com/remittance-api/business/onboarding/update-individual)
