# Query Individual

### **Request** URL <a href="#payin-by-creditcard" id="payin-by-creditcard"></a>

`POST` `/remittance/merchant/query-individual`

### **Request Body**

&#x20;**Refer to :** [**common**](https://docs.pagsmile.com/remittance-api/common)

&#x20;**Biz\_data**&#x20;

<table><thead><tr><th width="325">Name</th><th>Type</th><th>Description</th></tr></thead><tbody><tr><td>merchant_id<mark style="color:red;">*</mark></td><td>long</td><td>Merchant ID</td></tr><tr><td>id_no<mark style="color:red;">*</mark></td><td>string(6-20)</td><td>ID number.</td></tr><tr><td>id_type<mark style="color:red;">*</mark></td><td>integer</td><td><a href="../../../issuing-card-api/data/dictionary-item/idtype">Type of certificate.</a></td></tr></tbody></table>

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

### Response <a href="#example" id="example"></a>

{% tabs %}
{% tab title="200:submit successfully" %}

```
{
    "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": "2024-07-21",
        "expires_on": "2024-07-24",
        "email": "k.virml@uyvfsknb.km",
        "birthday": "1990-11-08",
        "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="400: invalid-signature" %}

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

{% endtab %}
{% endtabs %}

<table><thead><tr><th width="325">Name</th><th>Type</th><th>Description</th></tr></thead><tbody><tr><td>merchant_id<mark style="color:red;">*</mark></td><td>long</td><td>Merchant ID</td></tr><tr><td>status<mark style="color:red;">*</mark></td><td>integer</td><td>Status 0-initial 1-enabled 2-disabled </td></tr><tr><td>mobile<mark style="color:red;">*</mark></td><td>string</td><td><p>The whole mobile phone number.</p><p>Need to add an international area code</p></td></tr><tr><td>first_name<mark style="color:red;">*</mark></td><td>string</td><td>First name</td></tr><tr><td>last_name<mark style="color:red;">*</mark></td><td>string</td><td>Last name</td></tr><tr><td>id_no<mark style="color:red;">*</mark></td><td>string</td><td>ID number</td></tr><tr><td>id_type<mark style="color:red;">*</mark></td><td>integer</td><td><a href="../../data/dictionary-item/id-type">ID Type</a></td></tr><tr><td>issuance_date</td><td>string</td><td><p>Issuance date</p><p>format:yyyy-MM-dd</p></td></tr><tr><td>expires_on</td><td>string</td><td><p>Expires On</p><p>format:yyyy-MM-dd</p></td></tr><tr><td>email<mark style="color:red;">*</mark></td><td>string</td><td>Business emailEmails are validated against the rfc6530 standard.</td></tr><tr><td>birthday<mark style="color:red;">*</mark></td><td>string</td><td><p>Date of Birth,</p><p>yyyy-MM-dd</p></td></tr><tr><td>gender<mark style="color:red;">*</mark></td><td>integer</td><td><a href="../../data/dictionary-item/gender">Gender</a></td></tr><tr><td>nationality_code<mark style="color:red;">*</mark></td><td>string</td><td>Nationality Country code</td></tr><tr><td>address.address_id<mark style="color:red;">*</mark></td><td>long</td><td>Address ID</td></tr><tr><td>address.line<mark style="color:red;">*</mark></td><td>string</td><td>The first line of the address.</td></tr><tr><td>address.line2</td><td>string</td><td>The second line of the address.</td></tr><tr><td>address.postal_code<mark style="color:red;">*</mark></td><td>string</td><td>The address zip code, or postal code.</td></tr><tr><td>address.city_name<mark style="color:red;">*</mark></td><td>string</td><td>The address city</td></tr><tr><td>address.state<mark style="color:red;">*</mark></td><td>string</td><td>The address state</td></tr><tr><td>address.country_code<mark style="color:red;">*</mark></td><td>string</td><td><p>The two-letter ISO country code of the address,</p><p>refer  to <a href="../../../issuing-card-api/data/dictionary-item/countrycode">CountryCode</a></p></td></tr><tr><td>created_at</td><td>string</td><td>Created At</td></tr></tbody></table>

### Example <a href="#example" id="example"></a>

```

curl --location --request POST 'https://rem-api-sandbox.pagsmile.com/remittance/merchant/query-individual' \
--header 'Content-Type: application/json' \
--data-raw '
{
    "partner_id": "000000000000001",
    "app_id": "162051914172236138",
    "timestamp": "2011-09-23 04:24:03",
    "format": "JSON",
    "version": "2.0",
    "random_key": "jJT3+PR9CSowcR2QOK5OzMjVmTSjGoectzYbO8lENHnboElE",
    "request_id": "F6bEd39c-EecF-C1a2-AFcb-bA9BAeC8",
    "sign_type": "RSA",
    "biz_data":"3+PR9CSowtzYbO8lENHncR2QOK5OzMjJT3+PR9CSowcR2QOK5OzMjVmTSjGoectzYbO8lENHnboElE"
}'
```

```
```

Note: **162\*\*\*\*\*\*\*\*\*\*\*\*38**  is pagsmile's test app id for sandbox

Please use your own **app\_id** when testing.


---

# 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.pagsmile.com/remittance-api/business/onboard/query-individual.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.
