Skip to content
On this page

Get a Loan Schedule of a User

In order to get a single loan schedule for a user's transaction, use the following endpoint.

MethodEnd Point URL
GEThttps://sandbox.tendopay.ph/api/payroll/v1/loan/{tp_company_id}/{tp_user_id}/{tp_transaction_id}/loan-schedules/{tp_loan_schedule_id}

Example

Example Request

bash
curl --location --request GET 'https://sandbox.tendopay.ph/api/payroll/v1/loan/123456/789043/1122333/loan-schedules/784663'

Example Response

json
 {
          "schedule_id": 784663,
          "tp_user_id": 734100,
          "tp_transaction_id": 305728,
          "due_date": "2022-04-15",
          "amount": 780,
          "paid_amount": 0,
          "due_amount": 780,
          "status": "UNPAID",
          "created_at": "2022-03-15T10:56:25+08:00",
          "updated_at": "2022-03-15T10:56:25+08:00",
          "deleted_at": null
        }