Payout Reconciliation
The Payout Reconciliation API allows merchants to retrieve generated daily or monthly statements for reconciling Payout account activity. A statement may include payout transactions and applicable account activities such as deposits, withdrawals, deductions, and refunds.
The API returns a statement download URL and an extraction password. The downloaded file is a password-protected ZIP archive containing the statement in CSV format.
POST https://api.transfersmile.com/api/statement
Headers
Content-Type
string
Required
Request content type. Use application/json; charset=UTF-8.
AppId
string
Required
Merchant application ID obtained from the Pagsmile dashboard.
Authorization
string
Required
Lowercase SHA-256 signature generated from the sorted Request Body parameters and the App Key: SHA256(sorted_params + app_key). See Security.
Request Body
date
string
Required
For a daily statement, use YYYY-MM-DD. For a monthly statement, use YYYY-MM-MO.
Statement period to retrieve. For example, 2026-04-15 retrieves the daily statement for April 15, 2026, while 2026-04-MO retrieves the monthly statement for April 2026.
currency
string
Required
The currency must be enabled for the merchant's Payout account.
Statement currency. Supported values include USD, GBP, EUR, BRL, MXN, COP, CLP, PEN, and other currencies enabled for the merchant account.
timestamp
integer
Required
Current Unix timestamp in seconds. It must be within 15 seconds before or after the current server time.
Time when the request is sent.
Daily Statement
Set date to the required calendar date in YYYY-MM-DD format.
Daily Request Sample
The daily statement ZIP file uses the following naming format:
Example:
Daily Statement Sample
Download the following sample to view the CSV format of a daily Payout statement:
Monthly Statement
Set the day portion of date to MO. For example, use 2026-04-MO to retrieve the statement for April 2026.
Monthly Request Sample
The monthly statement is stored under the first day of the selected month and uses the monthly_ filename prefix:
Example:
Monthly Statement Sample
Download the following sample to view the CSV format of a monthly Payout statement:
Replace timestamp with the current Unix timestamp in seconds and generate Authorization using the final Request Body values.
Response
Statement Available
When the requested statement has been generated, url contains the download address and crypto contains the password required to extract the ZIP archive.
Statement Not Available
When no generated statement is available for the requested date and currency, the request still returns code 200, but url and crypto are empty.
Response Body
code
integer
Response code. 200 indicates that the request was processed successfully.
msg
string
Response message.
time
integer
Unix timestamp in seconds indicating when the response was generated.
data
object
Statement download information. This object contains the fields described below.
url
string
HTTPS URL of the generated password-protected ZIP statement. An empty value indicates that no generated statement was found.
crypto
string
Password used to extract the ZIP archive. An empty value indicates that no generated statement was found.
Statement File
Download the ZIP archive from url and extract it using crypto. The archive contains the statement in CSV format.
Statement Columns
Daily and monthly statements use the following columns:
Date
UTC transaction date.
Time
UTC transaction time.
TimeZone
Time zone of the statement record. The current value is UTC.
Merchant ID
Pagsmile merchant ID.
App Name
Name of the application associated with the transaction.
Country/Country Code
Destination country or country code associated with the payout.
Payment ID
Pagsmile payout transaction ID.
Reference ID
Merchant-defined payout reference ID.
Payout Method
Payout method used for the transaction.
Transaction Type
Account activity type, such as payout, deduct, refund, partial_refund, deposit, or withdraw, when applicable.
Opposite Name
Name of the beneficiary or counterparty associated with the account activity.
Applied Amount
Transaction amount applied to the account activity. Payout debits are represented as negative values.
Applied Currency
Currency of the applied amount.
Settlement Amount
Amount posted to the settlement account. Payout debits are represented as negative values.
Settlement Currency
Currency of the settlement amount.
Exchange Rate
Effective exchange rate recorded for the transaction.
Payer Processing Fee
Processing fee borne by the merchant. A debit is represented as a negative value.
Payee Processing Fee
Processing fee borne by the beneficiary. A debit is represented as a negative value.
Tax
Tax posted for the payout. A debit is represented as a negative value.
Net Amount
Net amount applied to the account balance. A payout debit is represented as a negative value.
Balance
Account balance after the statement record is applied.
Description
Reserved description field.
Last updated