Get Loan payments

The investor can use this endpoint to fetch payments of a given loan.

HTTPS Request

GET https://api.lenmo.app/api/v3/loans/{id}/payments/

This endpoint returns a list of payments related to the requested loan id.

Path Parameters

Name
Type
Description

id*

String

Id of the loan related to the payments

Headers

Name
Type
Description

Accept

String

The content type of the response.

X-API-KEY*

String

The API key that gives the user the authentication to perform this request.

X-Timestamp*

String

The timestamp of the request.

X-HMAC*

String

The HMAC generated for the request.

[
   {
      "id":301,
      "loan":43,
      "payment_amount":"91.17",
      "payment_due_date":"2018-10-16",
      "payment_status":"paid",
      "payment_status_changed":"2018-10-21T16:15:11.126587Z",
      "late_payment_fees_amount":null,
      "created":"2018-10-16T22:17:40.239865Z",
      "modified":"2019-03-25T22:37:49.881808Z",
      "is_late_payment":false,
      "processed_on_dwolla":true,
      "delayed_days_count":0,
      "pay_later_fees":null
   },
   {
      "id":302,
      "loan":43,
      "payment_amount":"91.17",
      "payment_due_date":"2018-10-16",
      "payment_status":"paid",
      "payment_status_changed":"2018-10-21T16:15:06.187661Z",
      "late_payment_fees_amount":null,
      "created":"2018-10-16T22:17:40.251581Z",
      "modified":"2019-03-25T22:37:50.168568Z",
      "is_late_payment":false,
      "processed_on_dwolla":true,
      "delayed_days_count":0,
      "pay_later_fees":null
   },
   {
      "id":309,
      "loan":43,
      "payment_amount":"91.17",
      "payment_due_date":"2018-10-16",
      "payment_status":"paid",
      "payment_status_changed":"2018-10-16T22:17:40.334406Z",
      "late_payment_fees_amount":null,
      "created":"2018-10-16T22:17:40.334358Z",
      "modified":"2019-03-25T22:37:58.022141Z",
      "is_late_payment":false,
      "processed_on_dwolla":true,
      "delayed_days_count":0,
      "pay_later_fees":null
   },
   {
      "id":310,
      "loan":43,
      "payment_amount":"91.17",
      "payment_due_date":"2018-10-16",
      "payment_status":"Missed Payment",
      "payment_status_changed":"2022-11-29T11:21:08.291956Z",
      "late_payment_fees_amount":null,
      "created":"2018-10-16T22:17:40.347821Z",
      "modified":"2022-11-29T11:21:48.807060Z",
      "is_late_payment":false,
      "processed_on_dwolla":true,
      "delayed_days_count":0,
      "pay_later_fees":null
   },
   {
      "id":307,
      "loan":43,
      "payment_amount":"91.17",
      "payment_due_date":"2018-10-16",
      "payment_status":"paid",
      "payment_status_changed":"2018-10-21T16:14:39.254253Z",
      "late_payment_fees_amount":null,
      "created":"2018-10-16T22:17:40.308230Z",
      "modified":"2019-03-25T22:37:56.294834Z",
      "is_late_payment":false,
      "processed_on_dwolla":true,
      "delayed_days_count":0,
      "pay_later_fees":null
   },
   {
      "id":308,
      "loan":43,
      "payment_amount":"91.17",
      "payment_due_date":"2018-10-16",
      "payment_status":"paid",
      "payment_status_changed":"2018-10-16T22:17:40.319419Z",
      "late_payment_fees_amount":null,
      "created":"2018-10-16T22:17:40.319377Z",
      "modified":"2019-03-25T22:37:56.260690Z",
      "is_late_payment":false,
      "processed_on_dwolla":true,
      "delayed_days_count":0,
      "pay_later_fees":null
   },
   {
      "id":306,
      "loan":43,
      "payment_amount":"91.17",
      "payment_due_date":"2018-10-16",
      "payment_status":"paid",
      "payment_status_changed":"2018-10-21T16:14:45.328520Z",
      "late_payment_fees_amount":null,
      "created":"2018-10-16T22:17:40.296727Z",
      "modified":"2019-03-25T22:37:54.251698Z",
      "is_late_payment":false,
      "processed_on_dwolla":true,
      "delayed_days_count":0,
      "pay_later_fees":null
   },
   {
      "id":304,
      "loan":43,
      "payment_amount":"91.17",
      "payment_due_date":"2018-10-16",
      "payment_status":"paid",
      "payment_status_changed":"2018-10-21T16:14:56.220972Z",
      "late_payment_fees_amount":null,
      "created":"2018-10-16T22:17:40.273940Z",
      "modified":"2019-03-25T22:37:53.324683Z",
      "is_late_payment":false,
      "processed_on_dwolla":true,
      "delayed_days_count":0,
      "pay_later_fees":null
   },
   {
      "id":305,
      "loan":43,
      "payment_amount":"91.17",
      "payment_due_date":"2018-10-16",
      "payment_status":"paid",
      "payment_status_changed":"2018-10-21T16:14:50.743028Z",
      "late_payment_fees_amount":null,
      "created":"2018-10-16T22:17:40.285214Z",
      "modified":"2019-03-25T22:37:52.091427Z",
      "is_late_payment":false,
      "processed_on_dwolla":true,
      "delayed_days_count":0,
      "pay_later_fees":null
   },
   {
      "id":303,
      "loan":43,
      "payment_amount":"91.17",
      "payment_due_date":"2018-10-16",
      "payment_status":"paid",
      "payment_status_changed":"2018-10-21T16:15:01.349985Z",
      "late_payment_fees_amount":null,
      "created":"2018-10-16T22:17:40.263157Z",
      "modified":"2019-03-25T22:37:52.036709Z",
      "is_late_payment":false,
      "processed_on_dwolla":true,
      "delayed_days_count":0,
      "pay_later_fees":null
   },
   {
      "id":311,
      "loan":43,
      "payment_amount":"91.17",
      "payment_due_date":"2018-10-17",
      "payment_status":"paid",
      "payment_status_changed":"2018-10-16T22:17:40.358601Z",
      "late_payment_fees_amount":null,
      "created":"2018-10-16T22:17:40.358558Z",
      "modified":"2019-03-25T22:38:00.654317Z",
      "is_late_payment":false,
      "processed_on_dwolla":true,
      "delayed_days_count":0,
      "pay_later_fees":null
   },
   {
      "id":312,
      "loan":43,
      "payment_amount":"91.17",
      "payment_due_date":"2018-10-17",
      "payment_status":"paid",
      "payment_status_changed":"2018-10-16T22:17:40.369242Z",
      "late_payment_fees_amount":null,
      "created":"2018-10-16T22:17:40.369201Z",
      "modified":"2019-03-25T22:37:59.900152Z",
      "is_late_payment":false,
      "processed_on_dwolla":true,
      "delayed_days_count":0,
      "pay_later_fees":null
   }
]

Sample Request

curl -X GET "https://api.lenmo.app/api/v3/loans/43/payments/" \
    -H "accept: application/json" \
    -H "X-API-KEY: YOUR_API_KEY" \
    -H "X-Timestamp: REQUEST_TIMESTAMP" \
    -H "X-HMAC: REQUEST_HMAC"

Response Parameters

Parameter
Type
Description

loan

Long

Id of the loan associated with this payment

payment_amount

Float

USD amount of the payment

payment_due_date

Date

UTC time for the payment due date.

payment_status

String

Status of the payment

payment_status_changed

Date

UTC time for last action, took on this payment

late_payment_fees_amount

Float

If applicable, the late fees of the payment

created

Date

UTC time of the payment creation in our database

modified

Date

UTC time of the last modification applied to the payment

is_late_payment

Boolean

Payment status to indicate of it was not fulfilled in time.

processed_on_dwolla

Boolean

Payment status to indicate if a transfer is initiated

delayed_days_count

Integer

Number of days over the due time.

pay_later_fees

Float

Fees for a pay later option.

Last updated