Standalone Payment Transaction Data API
For fast and easy development please use our specially designed GitHub repository for coding LLMs https://github.com/lenderlink/lenderlink-docs
This API returns payment transaction data for one or more standalone Payment Transaction products in a single request. Each product is requested, returned and processed independently.
Authentication
Obtain a token via the Authentication procedure. Your client credentials must have access to the Payment Transactions API.
Request Data
Endpoint
https://sandbox-app.lenderlink.ph/api/v1/person/payment-transactions/by-productsWeb Method: POST
Send the request as a raw JSON body with Content-Type: application/json, and include the token as a Bearer access token in the Authorization header.
Request Parameters
requestId
String
Yes
Unique identification code generated by the client
cellphoneNumber
String
Yes
Borrower's phone number, the format is 63XXXXXXXXXX. Other formats are rejected.
String
No
Borrower's email address
productIds
Array of String
Yes
Product codes to request, for example ["PT3", "PT4"]. Each code can appear only once. Codes are case-sensitive.
Request body (JSON)
Response Parameters
The system responds with HTTP status 200 and a JSON object in its body:
productIds
Array of String
The product codes that returned a Hit, in the order they were requested
matchFlag
String
Hit if at least one product returned a Hit; otherwise No Hit
data
Object
One entry per product that returned a Hit, keyed by product code. Each product has its own structure; see the product guides.
Products that do not return a Hit are omitted from both
productIdsanddata.An omitted product means no Hit was returned; it does not confirm that the borrower has no transactions. A product is also omitted when its data source cannot be reached or returns an unusable response.
This response does not include
requestId. Keep your own reference to match responses to requests.Property names are returned in camelCase. Values and nesting are returned as provided by the data source.
PT1/PT2, PT3 and PT4 have different structures. Process each product independently.
1. Match
Both requested products returned a Hit (payloads shortened):
2. Partial match
PT3 and PT4 were requested; only PT4 returned a Hit:
3. No match
No product returned a Hit. This response is also returned when none of the requested data sources could provide a usable response.
Errors
400
Validation message, for example "productIds" must contain at least 1 items
The request body is invalid: a required field is missing, the phone format is wrong, or productIds is empty or contains duplicates. details describes the problem.
400
PT_PRODUCT_UNSUPPORTED
A product code is not recognised. Codes are case-sensitive.
401
Unauthorized
The token is missing, invalid or expired. Obtain a new token.
403
Insufficient scope
Your credentials do not have access to this API.
403
PT_PRODUCT_NOT_ENTITLED
One or more requested products are not enabled for your account. details lists them. No products are returned.
500
An internal server error occurred
Unexpected error. Retry later or contact LenderLink.
Using the Mega API
PT1, PT2, PT3 and PT4 can also be requested through the Mega API together with other products. The product payloads are the same; the request and response wrappers differ:
productIds in request
Array: ["PT3", "PT4"]
Comma-separated string: "PT3,PT4"
Person fields
cellphoneNumber, optional email
Full person details (name, date of birth, phone)
Product location
data.<productCode>
response.<productCode>
requestId returned
No
Yes
matchFlag
Yes
No
Last updated