Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

PT1 and PT2

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

PT1 and PT2 use the same structure.

Product
Product code
Standalone API location
Mega API location

Payment Transactions 1

PT1

data.PT1

response.PT1

Payment Transactions 2

PT2

data.PT2

response.PT2

Request

Request PT1 and PT2 through the Standalone Payment Transaction Data API:

{
  "requestId": "8f14e45f-ceea-467a-9c1e-0a1b2c3d4e5f",
  "cellphoneNumber": "639000000001",
  "email": "borrower@example.com",
  "productIds": [
    "PT1",
    "PT2"
  ]
}

Response

{
  "productIds": [
    "PT1",
    "PT2"
  ],
  "matchFlag": "Hit",
  "data": {
    "PT1": {
      "startDate": "2026-09-01T15:14:35.3598891+08:00",
      "endDate": "2026-03-01T00:00:00+08:00",
      "rangeMonths": 6,
      "transactionCount": 3,
      "minAmount": 1000,
      "maxAmount": 2500,
      "aveAmount": 1666.67,
      "sumAmount": 5000,
      "stdDev": 623.61,
      "refDates": [
        "2026-05-02",
        "2026-07-15",
        "2026-08-20"
      ],
      "refDateDetails": [
        {
          "refDate": "2026-05-02",
          "count": 1,
          "total": 1000
        },
        {
          "refDate": "2026-07-15",
          "count": 1,
          "total": 2500
        },
        {
          "refDate": "2026-08-20",
          "count": 1,
          "total": 1500
        }
      ],
      "categories": [
        "Loans",
        "Marketplace"
      ],
      "procIds": [
        "EXPR",
        "EXQR"
      ],
      "within1to30Days": [
        {
          "category": "Loans",
          "transactionCount": 1,
          "minAmount": 1500,
          "maxAmount": 1500,
          "sumAmount": 1500,
          "stdDev": 0
        }
      ],
      "within31to60Days": [
        {
          "category": "Loans",
          "transactionCount": 1,
          "minAmount": 2500,
          "maxAmount": 2500,
          "sumAmount": 2500,
          "stdDev": 0
        }
      ],
      "beyond61Days": [
        {
          "category": "Marketplace",
          "transactionCount": 1,
          "minAmount": 1000,
          "maxAmount": 1000,
          "sumAmount": 1000,
          "stdDev": 0
        }
      ]
    },
    "PT2": {
      "startDate": "2026-09-01T15:14:35.3598891+08:00",
      "endDate": "2026-03-01T00:00:00+08:00",
      "rangeMonths": 6,
      "transactionCount": 2,
      "minAmount": 300,
      "maxAmount": 700,
      "aveAmount": 500,
      "sumAmount": 1000,
      "stdDev": 200,
      "refDates": [
        "2026-07-20",
        "2026-08-28"
      ],
      "refDateDetails": [
        {
          "refDate": "2026-07-20",
          "count": 1,
          "total": 700
        },
        {
          "refDate": "2026-08-28",
          "count": 1,
          "total": 300
        }
      ],
      "categories": [
        "Fintech"
      ],
      "procIds": [
        "EXGC"
      ],
      "within1to30Days": [
        {
          "category": "Fintech",
          "transactionCount": 1,
          "minAmount": 300,
          "maxAmount": 300,
          "sumAmount": 300,
          "stdDev": 0
        }
      ],
      "within31to60Days": [
        {
          "category": "Fintech",
          "transactionCount": 1,
          "minAmount": 700,
          "maxAmount": 700,
          "sumAmount": 700,
          "stdDev": 0
        }
      ],
      "beyond61Days": []
    }
  }
}

The details of each product object are as follows:

Parameter
Data Type
Description

startDate

String (date-time)

Date and time of the lookup, in ISO 8601 format with time-zone offset. The period covered runs back from this date to endDate, and the age buckets below are counted from this date.

endDate

String (date-time)

Earliest date covered by the period (rangeMonths before startDate), in ISO 8601 format with time-zone offset

rangeMonths

Integer

The length of the period in months

transactionCount

Integer

The number of successful transactions completed by the user within the period

minAmount

Decimal

The smallest amount among all the transactions by that user within the period

maxAmount

Decimal

The largest amount among all the transactions by that user within the period

aveAmount

Decimal

The average amount of all the transactions by that user within the period

sumAmount

Decimal

The total amount of all the transactions by that user within the period

stdDev

Decimal

The population standard deviation of the amounts

refDates

Array of Date

An array of dates (YYYY-MM-DD) when the transactions occurred

refDateDetails

Array of Ref Date Records

The number and total amount of transactions on each date

categories

Array of String

An array of categories covering the various merchants involved in the transactions

procIds

Array of String

An array of payment processors used for the transactions

within1to30Days

Array of Sub-details Records

Transactions 1 to 30 days before startDate, broken down by category

within31to60Days

Array of Sub-details Records

Transactions 31 to 60 days before startDate, broken down by category

beyond61Days

Array of Sub-details Records

Transactions more than 60 days before startDate, broken down by category

Array fields can be empty ([]) or null when no transactions fall into that group.

The Ref Date Record follows the format:

Parameter
Data Type
Description

refDate

Date

Transaction date (YYYY-MM-DD)

count

Integer

The number of transactions on that date

total

Decimal

The total amount of the transactions on that date

The Sub-details Record follows the format:

Parameter
Data Type
Description

category

String

The industry or category of the merchant

transactionCount

Integer

The number of successful transactions in the category within the time bucket

minAmount

Decimal

The smallest transaction amount in the category within the time bucket

maxAmount

Decimal

The largest transaction amount in the category within the time bucket

sumAmount

Decimal

The total amount in the category within the time bucket

stdDev

Decimal

The population standard deviation of the amounts

PT1 and PT2 do not return matchKey. If no Hit is returned, the product is omitted from the response; see the Standalone Payment Transaction Data API.

Last updated