Query Stores
Retrieves stores associated with a merchant within a specified time range, with optional filters and pagination.
Endpoint
POST /remittance/store/query-stores
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 fields below describe the decrypted biz_data object.
Encrypt biz_data, encrypt the AES key into random_key, and sign the request according to the Common request specification.
Request body
Decrypted biz_data fields
merchant_id
long
M
Pagsmile-assigned unique identifier of the merchant.
store_id
long
O
Pagsmile-assigned unique identifier of the store associated with the merchant.
name
string
O
Name used to identify the store in API requests and operational reports.
start_date
string
M
Start of the query period, inclusive.
Format: yyyy-MM-dd HH:mm:ss.
end_date
string
M
End of the query period, inclusive.
Format: yyyy-MM-dd HH:mm:ss.
page_num
integer
O
One-based page number of the result set.
Default: 1.
page_size
integer
O
Maximum number of records returned on each page.
Default: 10.
Maximum: 30.
Plaintext biz_data example
{
"merchant_id": 100398,
"store_id": 100001,
"name": "Example Name",
"start_date": "2026-07-20 00:00:00",
"end_date": "2026-07-20 23:59:59",
"page_num": 1,
"page_size": 10
}Request example
Response
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
Response data fields
store_id
long
M
Pagsmile-assigned unique identifier of the store associated with the merchant.
merchant_id
long
M
Pagsmile-assigned unique identifier of the merchant associated with the returned record.
business_type
Integer
M
Business category that determines the applicable compliance and processing rules.
Supported values:
20 — Platform
21 — Independent platform
name
string
M
Name used to identify the store in API requests and operational reports.
currencies
list
M
List of three-letter ISO 4217 codes supported by the store.
has_store_link
boolean
M
Indicates whether a public store URL is available.
store_url
string
O
Public URL of the merchant's store.
description
string(256)
O
Human-readable description of the store and its intended use.
Related APIs
Last updated
Was this helpful?