List payment history
Returns the account's balance movements as shown on the Payment History page in the portal: top-ups, deductions, subscriptions and temporary credits, newest first. scope narrows the list to one kind (all, purchase, deductions, subscriptions, temp_credits). Without time_range the last 3 months are returned; a range can span at most 1 year. Accounts with separate Voice and SMS balances can narrow the list with account. document_available tells whether a credit note or receipt document exists for the payment in the portal. Pagination is by page and per_page (default 100, max 1000).
Request
- Base URLhttps://api.commpeak.com/portal
- URLhttps://api.commpeak.com/portal/payments
- AuthAPI key in header Authorization
Query parameters
Kind of payments: all (default), purchase, deductions, subscriptions, temp_credits.
Date range "YYYY-MM-DD - YYYY-MM-DD" (or a single date).
voice or sms; only for accounts with separate Voice and SMS balances.
Page number (default 1).
Items per page (default 100, max 1000).
Response
Successful Response
Example response
{
"page": 1,
"payments": [
{
"account": "voice",
"amount": 500,
"currency": "USD",
"date": "2026-10-01T09:00:00.000Z",
"description": "Balance top-up",
"document_available": true,
"id": 1001,
"type": "purchase"
}
],
"per_page": 100,
"total": 1
}Changes
No recorded changes to this operation across all 1 revision of this API.