Skip to content

Transaction History

Retrieve detailed records of all transactions associated with your account. Use this API to synchronize transaction data for finance reconciliation, custom analytics, or dashboards.

TIP

You can also view and download transaction history from the Dashboard.

API Endpoint

http
GET https://api.iimmpact.com/v2/transactions

Request Headers

HeaderDescriptionRequired
X-Api-KeyYour API keyYes
X-TimestampUnix timestamp in secondsYes
X-NonceUnique request identifierYes
X-SignatureHMAC-SHA256 signature (v1=...)Yes

See API Key Authentication for how to sign your requests.

Query Parameters

ParameterTypeRequiredDescription
limitstringYesSpecifies the maximum number of transaction records to return
datestringYesSingle date or date range. Format: yyyy-MM-dd for a single date, yyyy-MM-dd - yyyy-MM-dd for a range (note: space-dash-space separator). Examples: 2025-05-01 or 2025-05-01 - 2025-05-31
statusstring[]NoFilter by transaction status. Pass multiple values to filter by more than one: ?status=SUCCESSFUL&status=FAILED. Possible values: SUCCESSFUL, PENDING, FAILED, REFUND. Defaults to all statuses if omitted
accountstringNoFilters transactions for a specific account number
offsetstringNoSpecifies the starting point for returning a subset of transaction records, used for pagination
productstringNoFilters transactions by a specific product code. Leave blank to return all products

Response 200

FieldTypeDescription
dataarrayThe data associated with the transaction.
data[].trxidstringUnique transaction ID for each transaction.
data[].datestringTimestamp of when the transaction was initiated (GMT+8)
data[].product_codestringProduct code
data[].product_namestringProduct name
data[].biller_codestringBiller code (for JomPAY transactions). null if not applicable
data[].product_image_urlstringDirect URL to the product's logo image
data[].categorystringProduct category (e.g., "Utilities", "In Store Voucher")
data[].amountstringAmount
data[].accountstringAccount number
data[].senderstringSender IP Address
data[].member_idstringIdentifier for the member or user who performed the transaction
data[].status_codestringStatus code associated with the transaction.
data[].status_namestringTextual description of the transaction status (e.g., "Failed", "Successful").
data[].response_datestringTimestamp of when the final transaction response was completed
data[].pricestringCost price of this particular transaction
data[].snstringSerial number or specific transaction identifier from the provider/operator
data[].pinstringPIN or voucher code, if applicable
data[].expirystringExpiry date for a voucher or service, if applicable. Format: "yyyyMMdd" (e.g., "20260510")
data[].remarksstringAdditional information or notes about the transaction
data[].refidstringYour unique reference ID submitted with the transaction request
data[].voucherlinkstringLink to a digital voucher, if applicable
data[].currencystringCurrency
metaobjectAdditional metadata associated with the transaction.
meta.transaction_countstringTotal count of transactions
meta.total_amountstringTotal face value amount
meta.total_pricestringTotal cost price
meta.profitstringTotal profit (total_amount minus total_price)
meta.successful_countstringCount of successful transactions
meta.failed_countstringCount of failed transactions
meta.pending_countstringCount of pending transactions
meta.refund_countstringCount of refunded transactions

Example Response:

json
{
  "data": [
    {
      "trxid": "123456789",
      "date": "2025-05-19 12:37:40.523",
      "product_code": "SADA",
      "product_name": "Syarikat Air Darul Aman",
      "biller_code": null,
      "product_image_url": "https://dashboard.iimmpact.com/img/SADA.png",
      "category": "Utilities",
      "amount": "5.0000",
      "account": "1234567890123",
      "sender": "1.1.1.1",
      "member_id": "123456",
      "status_code": "20",
      "status_name": "Successful",
      "response_date": "2025-05-19 12:37:40.523",
      "price": "5.0000",
      "sn": "119622025",
      "pin": "0123456",
      "expiry": "20300514",
      "remarks": null,
      "refid": "BST250519TT3DT97MMI",
      "voucherlink": null,
      "currency": "MYR"
    }
  ],
  "meta": {
    "transaction_count": "43846",
    "total_amount": "1237986.1500",
    "total_price": "1212026.2419",
    "profit": "25959.9081",
    "successful_count": "42100",
    "failed_count": "1200",
    "pending_count": "228",
    "refund_count": "318"
  }
}

IIMMPACT API Documentation