# API: Get transactions

# getTransactions

Get list of transactions.

TIP

This API call uses pagination for results.

# Optional parameters

Parameter Description
page Which page to return
filter[trans_id] Filter by transaction id
filter[date] Filter by date
filter[description] Filter by description
filter[module] Filter by payment method
filter[type] Filter by transaction type values: [invoice, credit, bulk, chargeback, refund]
filter[status] Filter by transaction status values: [Processing, Success, Refunded, Chargeback]
filter[lastname] Filter by client lastname
filter[companyname] Filter by client company name
filter[in] Filter by amount in
filter[out] Filter by amount out
filter[currency_id] Filter by currency id

# Request

GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=getTransactions

# PHP Samples

# Response

{
    "success": true,
    "transactions": [
        {
            "in": "25.00",
            "out": "0.00",
            "id": "5",
            "firstname": "Jack",
            "lastname": "Black",
            "date": "1969-12-31 16:00:00",
            "currency_id": "0",
            "description": "",
            "fee": "0.00",
            "module": "AlertPay",
            "client_id": "8",
            "trans_id": "SC1ZAYAWRZ2S5Y",
            "invoice_id": "61"
        }
    ],
    "call": "getTransactions",
    "server_time": 1323789900
}
Last Updated: 1/2/2024, 3:19:45 PM