Query Corporate Merchant
Retrieves the current onboarding profile of a corporate merchant.
Endpoint
POST /remittance/merchant/query-corporation
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. The table below describes the decrypted biz_data object.
Request body
merchant_id
long
C
Pagsmile-assigned unique identifier of the merchant. Provide at least one query method: merchant_id, request_no, or the registration_country and registration_code pair. Multiple query methods may be supplied in the same request.
request_no
string
C
The request_no submitted when creating the corporate merchant. Required when querying by request_no. This method may be supplied together with merchant_id or the registration_country and registration_code pair.
Length: 16–36 characters.
registration_country
string(2)
C
Country in which the corporation is registered. Format: Two-letter ISO 3166-1 alpha-2 country code. Required together with registration_code when querying by registration details. This pair may be supplied together with request_no or merchant_id.
registration_code
string(32)
C
Official registration number of the corporation. Required together with registration_country when querying by registration details. This pair may be supplied together with request_no or merchant_id.
Plaintext biz_data example
{
"merchant_id": 100398,
"request_no": "REQ20261028000001"
}Request example
curl --request POST \
--url https://rem-api-sandbox.pagsmile.com/remittance/merchant/query-corporation \
--header 'Content-Type: application/json; charset=UTF-8' \
--data '{
"partner_id": "200000001000001",
"app_id": "2020123456789012345",
"timestamp": "2026-07-20 10:35:00",
"version": "2.0",
"language": "en",
"random_key": "<RSA-encrypted AES key>",
"request_id": "f6bed39c-eecf-c1a2-afcb-ba9baec80003",
"sign_type": "RSA",
"biz_data": "<AES-encrypted biz_data>"
}'Response
A successful query returns HTTP 200 with business code 10000.
The data field in the response envelope is AES-encrypted. Decrypt random_key with your RSA private key, then use the resulting AES key to decrypt data. See Security for implementation details.
Encrypted response example
Decrypted data example
An invalid request signature may return HTTP 400 with the following response:
Response data fields
The data object contains the corporate merchant profile described below.
Data object
merchant_id
long
M
Pagsmile-assigned unique identifier of the merchant associated with the returned record.
request_no
string
O
The request_no submitted when creating the corporate merchant, if provided.
Length: 16–36 characters.
mobile
string(16)
O
Mobile phone number of the merchant or primary contact. Format: International number including the country calling code.
email
string(80)
O
Email address of the merchant or primary contact. Format: Valid email address.
business_scenes
list<Integer>
M
List of integer codes identifying the merchant's business scenes.
Format: List<Integer>; submit one or more keys listed in Business Scenes.
Example: [1005].
website_url
string(128)
O
Publicly accessible URL of the merchant's official website. Format: URL; maximum 128 characters.
status
integer
M
Current activation status of the corporate merchant account. Supported values:
0 — Initial (not yet activated)
1 — Enabled
2 — Disabled
created_at
string
M
Date and time when the corporate merchant profile was created.
Format: yyyy-MM-dd HH:mm:ss.
Corporation object
corporation.corporation_id
long
M
Pagsmile-assigned unique identifier of the corporation record.
corporation.registration_name
string(256)
M
Legal name exactly as shown on the official registration documents. Supports UTF-8/Unicode characters. No character-set restriction. Maximum 256 bytes.
corporation.name_en
string(128)
M
English name used for bank account applications.
Format: COMPANY_NAME_EN; ^[A-Za-z0-9][A-Za-z0-9 .,&'()"/-]*$.
The first character must be an English letter or digit.
Maximum 128 bytes.
corporation.industry_category
string
M
Industry category of the corporation's primary business activity. Format: String; submit one of the values listed in Industry Category.
corporation.registration_code
string(32)
M
Official registration number issued to the corporation by the relevant registration authority. Maximum length: 32 bytes.
corporation.registration_country
string(2)
M
Country in which the corporation is legally registered. Format: Two-letter ISO 3166-1 alpha-2 country code. See Country Code for supported values.
corporation.registration_date
string
O
Date on which the corporation was legally established.
Format: YYYY-MM-DD.
Returned when available.
Registered address object
corporation.registration_address.line1
string(5–128)
C
Primary address line of the corporation's registered office, including the street name and building number. Length: 5–128 bytes. Returned when this address component is available in the merchant profile.
corporation.registration_address.line2
string(5–128)
O
Additional registered-address information, such as the unit, suite, floor, or building name. When provided, 5–128 bytes. Returned when available.
corporation.registration_address.postal_code
string(4–16)
O
ZIP or postal code of the corporation's registered office. Maximum length: 16 bytes. Returned when available.
corporation.registration_address.city_name
string(50)
C
City in which the corporation's registered office is located. Maximum length: 50 bytes. Returned when this address component is available in the merchant profile.
corporation.registration_address.state
string(50)
O
State, province, or administrative region of the corporation's registered office. Maximum length: 50 bytes. Returned when available.
corporation.registration_address.country_code
string(2)
O
Country of the corporation's registered-office address. Format: Two-letter ISO 3166-1 alpha-2 country code. See Country Code for supported values. Returned when available.
corporation.registration_address.full_address
string(256)
O
Complete address as a single string, when available. Maximum length: 256. This is an alternative to line1 and city_name. The structured fields line2, postal_code, and state are optional.
Director object
director.director_id
long
M
Pagsmile-assigned unique identifier of the director record.
director.first_name
string(2–64)
C
Director's legal given name in English or Pinyin, corresponding to the name on the identity document used for verification.
Format: ^[a-zA-Z-,./ ]+$.
Length: 2–64 characters.
Returned when this name component is available in the merchant profile.
director.last_name
string(2–64)
C
Director's legal family name in English or Pinyin, corresponding to the name on the identity document used for verification.
Format: ^[a-zA-Z-,./ ]+$.
Length: 2–64 characters.
Returned when this name component is available in the merchant profile.
director.local_name
string(128)
C
Director's full legal name in the local language, exactly as shown on the identity document used for verification. Supports UTF-8/Unicode characters. No character-set restriction. Maximum 128 bytes. Returned when this name component is available in the merchant profile.
director.id_type
integer
M
Type of identity document submitted for the director. Format: Integer code. See ID Type for supported values.
director.id_no
string(6–20)
M
Director's identity document number, entered exactly as shown on the document. Length: 6–18 characters.
director.nationality
string(2)
M
Country representing the director's nationality. Format: Two-letter ISO 3166-1 alpha-2 country code. See Country Code for supported values.
director.date_birth
string
M
Director's date of birth.
Format: yyyy-MM-dd.
Director address object
director.address.line1
string(5–128)
C
Primary address line of the director's current residence, including the street name and building number. Length: 5–128 bytes. Returned when this address component is available in the merchant profile.
director.address.line2
string(5–128)
O
Additional residential-address information for the director, such as the unit, apartment, floor, or building name. When provided, 5–128 bytes. Returned when available.
director.address.postal_code
string(4–16)
O
ZIP or postal code of the director's residential address. Maximum length: 16 bytes. Returned when available.
director.address.city_name
string(50)
C
City in which the director currently resides. Maximum length: 50 bytes. Returned when this address component is available in the merchant profile.
director.address.state
string(50)
O
State, province, or administrative region of the director's residential address. Maximum length: 50 bytes. Returned when available.
director.address.country_code
string(2)
O
Country of the director's residential address. Format: Two-letter ISO 3166-1 alpha-2 country code. See Country Code for supported values. Returned when available.
director.address.full_address
string(256)
O
Complete address as a single string, when available. Maximum length: 256. This is an alternative to line1 and city_name. The structured fields line2, postal_code, and state are optional.
Shareholders
shareholders is an array containing the merchant's UBO or shareholder records.
Shareholder object
shareholders[].shareholder_id
long
O
Pagsmile-assigned unique identifier of the shareholder record.
shareholders[].first_name
string(50)
C
Shareholder's legal given name in English or Pinyin, corresponding to the name on the identity document used for verification. Format: CHARSETS_2; 2–64 characters. See Character Sets for the supported characters. Returned when this name component is available in the merchant profile.
shareholders[].last_name
string(50)
C
Shareholder's legal family name in English or Pinyin, corresponding to the name on the identity document used for verification. Format: CHARSETS_2; 2–64 characters. See Character Sets for the supported characters. Returned when this name component is available in the merchant profile.
shareholders[].local_name
string(128)
C
Shareholder's full legal name in the local language, exactly as shown on the identity document used for verification. Supports UTF-8/Unicode characters. No character-set restriction. Maximum 128 bytes. Returned when this name component is available in the merchant profile.
shareholders[].id_type
integer
M
Type of identity document submitted for the shareholder. Format: Integer code. See ID Type for supported values.
shareholders[].id_no
string(6–20)
M
Shareholder's identity document number, entered exactly as shown on the document. Length: 6–18 characters.
shareholders[].nationality
string(2)
M
Country representing the shareholder's nationality. Format: Two-letter ISO 3166-1 alpha-2 country code. See Country Code for supported values.
shareholders[].date_birth
string
O
Shareholder's date of birth.
Format: YYYY-MM-DD.
shareholders[].ownership_percentage
decimal
O
Percentage of the corporation owned by the shareholder. Range: greater than 0 and less than or equal to 100. Supports up to 6 decimal places.
shareholders[].email
string(80)
O
Shareholder's email address. Format: Valid email address.
shareholders[].phone_number
string(16)
O
Shareholder's or UBO's personal phone number.
Shareholder address object
shareholders[].address.line1
string(5–128)
C
Primary address line of the shareholder's current residence, including the street name and building number. Length: 5–128 bytes. Returned when this address component is available in the merchant profile.
shareholders[].address.line2
string(5–128)
O
Additional residential-address information for the shareholder, such as the unit, apartment, floor, or building name. When provided, 5–128 bytes. Returned when available.
shareholders[].address.postal_code
string(4–16)
O
ZIP or postal code of the shareholder's residential address. Maximum length: 16 bytes. Returned when available.
shareholders[].address.city_name
string(50)
C
City in which the shareholder currently resides. Maximum length: 50 bytes. Returned when this address component is available in the merchant profile.
shareholders[].address.state
string(50)
O
State, province, or administrative region of the shareholder's residential address. Maximum length: 50 bytes. Returned when available.
shareholders[].address.country_code
string(2)
O
Country of the shareholder's residential address. Format: Two-letter ISO 3166-1 alpha-2 country code. See Country Code for supported values. Returned when available.
shareholders[].address.full_address
string(256)
O
Complete address as a single string, when available. Maximum length: 256. This is an alternative to line1 and city_name. The structured fields line2, postal_code, and state are optional.
Related APIs
Last updated