cargopanel logocargopanel for developers

Get Transactions

GEThttps://api.cargopanel.co/v1/wallet/transactions

Retrieve paginated wallet transaction history with optional filtering.

Request Fields

pstringoptional

Page number (default: 1).

sstringoptional

Page size — number of transactions per page (default: 15).

typestringoptional

Filter by transaction type:

  • credit — Money added to wallet
  • debit — Money deducted from wallet
reasonstringoptional

Filter by transaction reason (e.g. refund, shipment).

statusstringoptional

Filter by transaction status (e.g. pending, completed).

Example Response

200
{
  "data": [
    {
      "id": "txn_abc123",
      "type": "credit",
      "amount": 500.00,
      "currency": "TRY",
      "reason": "refund",
      "description": "Shipment refund - SHP-12345",
      "status": "completed",
      "createdAt": "2026-06-20T14:30:00.000Z"
    },
    {
      "id": "txn_def456",
      "type": "debit",
      "amount": 125.75,
      "currency": "TRY",
      "reason": "shipment",
      "description": "Shipment payment - SHP-12346",
      "status": "completed",
      "createdAt": "2026-06-19T09:15:00.000Z"
    }
  ],
  "total": 48,
  "page": 1,
  "pageSize": 15
}

Responses

200Transactions retrieved successfully
401Unauthorized (invalid or missing API key)
422Invalid query parameters