> For the complete documentation index, see [llms.txt](https://docs.lenderlink.ph/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lenderlink.ph/product-guides/api-integration-guides/standalone-payment-transaction-data-api/pt4.md).

# PT4

{% hint style="success" %}

#### For fast and easy development please use our specially designed GitHub repository for coding LLMs <https://github.com/lenderlink/lenderlink-docs>

{% endhint %}

| Product                | Product code | Standalone API location | Mega API location |
| ---------------------- | ------------ | ----------------------- | ----------------- |
| Payment Transactions 4 | `PT4`        | `data.PT4`              | `response.PT4`    |

## Response

```json
{
  "productIds": [
    "PT4"
  ],
  "matchFlag": "Hit",
  "data": {
    "PT4": {
      "results": [
        {
          "txnId": "TXN_EXAMPLE_0001",
          "amount": "250.00",
          "sector": "EMI",
          "storeId": "STR_EXAMPLE_01",
          "merchantName": "Example Wallet",
          "transactionDate": "2026-08-14"
        },
        {
          "txnId": "TXN_EXAMPLE_0002",
          "amount": "1000.00",
          "sector": "EMI",
          "storeId": "STR_EXAMPLE_02",
          "merchantName": "Example Wallet",
          "transactionDate": "2026-07-30"
        }
      ],
      "withResults": true,
      "metadata": {
        "totalBeforeDedup": 2,
        "totalAfterDedup": 2,
        "duplicatesRemoved": 0,
        "queryMethod": "auto",
        "anonymizationEnabled": true
      }
    }
  }
}
```

The details of the PT4 object are as follows:

| Parameter   | Data Type               | Description                              |
| ----------- | ----------------------- | ---------------------------------------- |
| withResults | Boolean                 | `true` when transactions were found      |
| results     | Array of Result Records | The borrower's transactions              |
| metadata    | Metadata Record         | Summary of how the results were prepared |

The Result Record follows the format:

| Parameter       | Data Type | Description                                                    |
| --------------- | --------- | -------------------------------------------------------------- |
| txnId           | String    | Transaction identifier                                         |
| amount          | String    | Transaction amount as a decimal string, for example `"250.00"` |
| transactionDate | Date      | Transaction date (YYYY-MM-DD)                                  |
| sector          | String    | Merchant sector                                                |
| storeId         | String    | Store identifier                                               |
| merchantName    | String    | Merchant name                                                  |

The Metadata Record follows the format:

| Parameter            | Data Type | Description                                                   |
| -------------------- | --------- | ------------------------------------------------------------- |
| totalBeforeDedup     | Integer   | Number of transactions found before duplicates were removed   |
| totalAfterDedup      | Integer   | Number of transactions returned after duplicates were removed |
| duplicatesRemoved    | Integer   | Number of duplicate transactions removed                      |
| queryMethod          | String    | Lookup method used by the data source                         |
| anonymizationEnabled | Boolean   | Whether identifiers in the results are anonymised             |
