Query Corporation

Query Corporation

Request URL

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

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

Response

{
    "code": "10000",
    "msg": "Success",
     "data": {
        "merchant_id": 100396,
        "mobile": "+8618155753761",
        "email": "k.cuqxls@cnpons.bb",
        "person": {
            "person_id": 100474,
            "first_name": "Ruth",
            "last_name": "Miller",
            "id_type": 1,
            "id_no": "8bc771e4-ead3-435e",
            "citizenship_country": "BR",
            "address": {
                "address_id": 100860,
                "city_name": "beijing",
                "country_code": "BR",
                "postal_code": "275818",
                "state": "proident enim",
                "line": "Uevypxe Jicjqmfic Psbida Ogfpbcs Cgqih Jdjeb Juw Zlwfkyeptk Nniynhs Lx",
                "line2": "Ixlfjw Msnuvaay Wotq Uwxlat Gukkxlfbr Yoodixj Qapwwsi Vczokmzmze Fxpml"
            }
        },
        "shareholders": [{
                "shareholder_id": 100000,
                "customer_id": 100394,
                "first_name": "killy1",
                "last_name": "jane",
                "id_type": 1,
                "id_no": "234567",
                "citizenship_country": "MX"
            }],
        "status": 1,
        "create_time": "2024-12-20 16:45:16"
    },
    "random_key":"abssdddd2wdw==",
    "sign_type": "RSA",
    "app_id": "2017051914172236111"
}
Name
Type
Description

merchant_id*

long

Merchant ID

mobile

string(16)

The whole mobile phone number.

Need to add an international area code

email

string

Email

status*

Integer

Status :0-initial 1-enabled 2-disabled

business_category*

Integer

Business Type

website_url*

string

Website Url

corporation.corporation_id*

long

Corporation ID

corporation.registration_name*

string

Registration Name

corporation.registration_code*

string

Registration Code

corporation.registration_country*

string

Registration Country

corporation.business_scope*

string

Business Scope

corporation.registration_address.line*

string

The first line of the address.

corporation.registration_address.line2

string

The second line of the address.

corporation.registration_address.postal_code*

string

The address zip code, or postal code

corporation.registration_address.city_name*

string

The address city

corporation.registration_address.state*

string

The address state

corporation.registration_address.country_code*

string

Country code

person.person_id*

long

Person ID

person.first_name*

string

First name

person.last_name*

string

Last name

person.id_type*

integer

ID Type

person.id_no*

string

ID Number

person.citizenship_country*

string

Citizenship Country

person.address.line*

string

The first line of the address.

person.address.line2

string

The second line of the address.

person.address.postal_code*

string

The address zip code, or postal code

person.address.city_name*

string

The address city

person.address.state*

string

The address state

person.address.country_code*

string

Country code

shareholders[0].shareholder_id

long

Shareholder ID

shareholders[0].first_name*

string

First name

shareholders[0].last_name*

string

Last name

shareholders[0].id_type*

integer

ID Type

shareholders[0].id_no*

string

ID Number

shareholders[0].citizenship_country*

string

Citizenship Country

shareholders[0].address.line*

string

The first line of the address.

shareholders[0].address.line2

string

The second line of the address.

shareholders[0].address.postal_code*

string

The address zip code, or postal code

shareholders[0].address.city_name*

string

The address city

shareholders[0].address.state*

string

The address state

shareholders[0].address.country_code*

string

Country code

created_at*

string

Created AT

Example


curl --location --request POST 'https://rem-api-sandbox.pagsmile.com/remittance/merchant/query-corporation' \
--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