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

Query Reconciliation Report

Retrieves daily reconciliation statements generated from partner-level account transactions. Each statement provides the opening balance, total balance change, and closing balance for one statement date and currency.

Endpoint

POST /remittance/partner/query-daily-statements

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.

Statement availability

  • At 02:00 UTC each day, Pagsmile starts generating and validating statements for the previous calendar day.

  • A statement is available through this API after its aggregation and balance validation have completed successfully.

  • The maximum query period is 90 calendar days, including both start_date and end_date.

  • This API returns statements for partner accounts only. It does not return merchant account statements.

  • Statement records are calculated separately for each partner account currency.

Request body

Decrypted biz_data fields

Field
Type
Requirement
Description

start_date

string

M

Start of the statement period, inclusive. Format: yyyy-MM-dd.

end_date

string

M

End of the statement period, inclusive. Format: yyyy-MM-dd. The requested period must not exceed 90 calendar days.

currency

string

O

Three-letter ISO 4217 code of the partner account currency. Omit this field to return statements for all currencies.

account_no

string

M

Pagsmile-assigned identifier of the partner virtual account credited by the deposit

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 retrieves USD daily statements for two statement dates.

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

account_no

string

M

Pagsmile-assigned identifier of the partner virtual account credited by the deposit

created_at

string

M

Date and time when the daily statement was generated. Format: yyyy-MM-dd HH:​mm:ss. Timezone: UTC.

statement_date

string

M

Calendar date covered by the statement. Format: yyyy-MM-dd.

currency

string

M

Three-letter ISO 4217 code of the partner account currency.

opening_balance

string

M

The account’s booked balance at the beginning of the statement_date.

opening_available_balance

string

M

The account’s available balance at the beginning of the statement_date.

amount_change_total

string

M

Net change in the account’s booked balance during the statement_date. Positive values indicate a net increase; negative values indicate a net decrease.

closing_balance

string

M

The account’s booked balance at the end of the statement_date.

amount_block_total

string

M

Net change in the account’s frozen funds during the statement_date. Positive values indicate a net increase in frozen funds; negative values indicate a net decrease.

closing_available_balance

string

M

The account’s available balance at the end of the statement_date

All monetary values are returned as decimal strings in the currency specified by currency. Use the string values as provided to avoid floating-point rounding errors.

Related APIs

Last updated