Skip to content

Transaction history, merged from two sources: gateway payments and portal adjustments.

GET  /api/v1/user/payments  · Permission: payments.read

Terminal window
curl https://restlink23telecom.com/api/v1/user/payments \
-H "X-API-Key: $API_KEY"
200 OK
[
{
"id": "sms_gateway_S12345",
"amount": 500.00,
"currency": "EUR",
"date": "2026-02-10T14:30:00Z",
"type": "deposit",
"description": "Wire transfer REF-2026-001",
"source": "sms_gateway"
},
{
"id": "portal_P678",
"amount": 50.00,
"currency": "EUR",
"date": "2026-02-08T09:00:00Z",
"type": "adjustment",
"description": "Manual credit by admin",
"source": "portal"
}
]
FieldDescription
idsms_gateway_S{id} for gateway payments, portal_P{id} for portal adjustments
sourcesms_gateway (upstream payment) or portal (manual admin adjustment)
typeMeaning
depositIncoming payment
usageSMS cost (negative amount)
adjustmentManual credit or debit by an administrator
  • During account setup the endpoint returns HTTP 200 with {"status": false, "error": "Account is in setup process", …}.
  • Degraded-cache behavior (see balance): partial returns portal adjustments only; unavailable returns [] — check the X-Sms-Gateway-Status header.