Skip to main content
GET
/
transactions
List transactions
curl --request GET \
  --url https://api-message.nativehub.live/api/v1/transactions \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "c1d2e3f4-a5b6-7890-cd12-345678901234",
      "tenant_id": "c3d4e5f6-a7b8-9012-cdef-123456789012",
      "account_id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
      "type": "DEBIT",
      "amount": 150.5,
      "currency": "USD",
      "balance_before": 1000,
      "balance_after": 849.5,
      "reference_id": "d4e5f6a7-b8c9-0123-def4-567890123456",
      "reference_type": "message",
      "description": "SMS message charges",
      "created_at": "2026-02-14T10:15:35Z"
    }
  ],
  "total": 123,
  "page": 123,
  "per_page": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

page
integer
default:1

Page number (default 1)

Required range: x >= 1
per_page
integer
default:20

Items per page (default 20, max 100)

Required range: 1 <= x <= 100
type
enum<string>

Filter by transaction type

Available options:
DEBIT,
CREDIT,
TOPUP,
ADJUSTMENT,
REFUND
date_from
string<date>

Filter transactions from this date

date_to
string<date>

Filter transactions until this date

Response

200 - application/json

Transactions retrieved successfully

data
object[]
total
integer
page
integer
per_page
integer