For the complete documentation index, see llms.txt. This page is also available as Markdown.

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.

Requirement: M = Mandatory, O = Optional, and C = Conditional. A conditional field is mandatory only when the condition stated in its description applies.

Request body

Decrypted biz_data fields

Field
Type
Requirement
Description

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

This example includes mandatory fields and representative optional or conditional fields. Submit fields marked C only when the condition in the field description applies.

{
  "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

Use the partner_id and app_id assigned to your integration. The values above are placeholders.

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

Field
Type
Requirement
Description

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.

platform

string

M

Platform code associated with the store. See Platform for supported values.

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?