Get Transactions
GET
https://api.cargopanel.co/v1/wallet/transactionsRetrieve paginated wallet transaction history with optional filtering.
Request Fields
pstringoptionalPage number (default: 1).
sstringoptionalPage size — number of transactions per page (default: 15).
typestringoptionalFilter by transaction type:
credit— Money added to walletdebit— Money deducted from wallet
reasonstringoptionalFilter by transaction reason (e.g. refund, shipment).
statusstringoptionalFilter 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