Query Individual

Query Individual

Request URL

POST https://rem-api-sandbox.pagsmile.com/remittance/merchant/query-individual

Request Header

Name
Type
Description

Content-Type*

string

application/json; charset=UTF-8

Request Body

Refer to : common

Biz_data

Name
Type
Description

merchant_id*

long

Merchant ID

id_no*

string(6-20)

ID number.

id_type*

integer

Choose one of field holder_id and field (id_no,id_type).

Response

{
    "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"
}
Name
Type
Description

merchant_id*

long

Merchant ID

status*

integer

Status 0-initial 1-enabled 2-disabled

mobile*

string

The whole mobile phone number.

Need to add an international area code

first_name*

string

First name

last_name*

string

Last name

id_no*

string

ID number

id_type*

integer

issuance_date

string

Issuance date

format:yyyy-MM-dd

expires_on

string

Expires On

format:yyyy-MM-dd

email*

string

Business emailEmails are validated against the rfc6530 standard.

birthday*

string

Date of Birth,

yyyy-MM-dd

gender*

integer

nationality_code*

string

Nationality Country code

address.address_id*

long

Address ID

address.line*

string

The first line of the address.

address.line2

string

The second line of the address.

address.postal_code*

string

The address zip code, or postal code.

address.city_name*

string

The address city

address.state*

string

The address state

address.country_code*

string

The two-letter ISO country code of the address,

created_at

string

Created At

Example


curl --location --request POST 'https://rem-api-sandbox.pagsmile.com/remittance/merchant/query-individual' \
--header 'Content-Type: application/json' \
--data-raw '
{
    "partner_id": "000000000000001",
    "sub_partner_id": "",
    "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.

Last updated