Skip to main content

Statement

Every operation on your account across a date range — credits, reversals and settlements — with totals. Requires inbound:read.

This is what you reconcile against nightly, and what a settlement is drawn from: closing_outstanding is the figure to pay.

fromstringquery

YYYY-MM-DD. Defaults to 30 days ago.

tostringquery

YYYY-MM-DD, inclusive of that whole day. Defaults to today.

statusstringquery

Filter, for example COMPLETED.

operationstringquery

credit, reversal or settlement.

limitintegerquery

Page size, up to 500. Defaults to 100.

Request
cURL
curl "https://api.smartpay.sl/api/v1/inbound/statement?from=2026-08-01&to=2026-08-19&status=COMPLETED" \
-H "X-API-Key-ID: $SMARTPAY_API_KEY_ID" \
-H "X-Timestamp: $TS" \
-H "X-Nonce: $NONCE" \
-H "X-Signature: $SIG"
Response
200 OK
{
"success": true,
"code": "OK",
"data": {
"partner_id": "PTR_9XQ2M4KP7RTW",
"currency": "SLE",
"opening_outstanding": 900000,
"closing_outstanding": 1250000,
"total_credits": 1300000,
"total_reversals": 50000,
"total_settled": 900000,
"total_fees": 0,
"credit_count": 26,
"reversal_count": 1,
"settlement_count": 1,
"items": [
{
"inbound_id": "INB_7KP2M9XR4TQW",
"reference": "UBA-20260819-0001",
"transaction_id": "TXN_4M8XQ2VN7PLK",
"status": "COMPLETED",
"operation": "credit",
"amount": 50000,
"fee": 0,
"net_credited": 50000,
"currency": "SLE",
"created_at": "2026-08-19T14:22:01Z",
"completed_at": "2026-08-19T14:22:01Z"
}
],
"limit": 100,
"offset": 0,
"has_more": false
}
}
Note

Page with offset while has_more is true. Totals cover the whole date range, not just the page you are looking at.

Reconciling a period

The four totals tie the two ends together:

opening_outstanding
+ total_credits
- total_reversals
- total_settled
= closing_outstanding

If that does not balance against your own books, the items list is the line-by-line detail to walk. Quote transaction_id on anything you need us to look at.