# API: Get client transactions
# getClientTransactions
Get list of client's transactions.
TIP
This API call uses pagination for results.
# Required parameters
Parameter | Description |
---|---|
id | Client ID |
# Optional parameters
Parameter | Description |
---|---|
page | Which page to return |
filter[trans_id] | Filter by transaction id |
filterop[date] | Filter by transaction date, possible values: = , < , > , != |
filter[date] | Filter by transaction date, format: YYYY-MM-DD |
filter[description] | Filter by transaction description |
filter[module] | Filter by payment method |
filter[type] | Filter by transaction type values: [invoice |
filter[status] | Filter by transaction status values: [Processing |
filter[lastname] | Filter by client last name |
filter[companyname] | Filter by client company name |
filterdatatype[in] | Filter by transaction amount |
filterdatatype[out] | Filter by transaction amount |
filter[currency_id] | Filter by currency id |
# Request
GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=getClientTransactions&id=ID
# PHP Samples
# Response
{
"success": true,
"transactions": [
{
"in": "15.00",
"out": "0.00",
"id": "1",
"firstname": "John",
"lastname": "Doe",
"date": "2011-11-04 00:00:00",
"currency_id": "0",
"description": "some transaction",
"fee": "0.00",
"module": "AlertPay",
"client_id": "1",
"trans_id": "LOU338KGGFQKE",
"invoice_id": "1"
}
],
"call": "getClientTransactions",
"server_time": 1323444520
}