Fetch Transfer History

The investor can use this endpoint to fetch their transfer history on Lenme.

HTTPS Request

GET https://api.lenmo.app/api/v3/transfer_history/

Transfer history is returned in a paginated response.

Headers

NameTypeDescription

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.

{
   "count":2,
   "next":null,
   "previous":null,
   "results":[
      {
         "date":"2023-03-07",
         "transactions":[
            {
               "transfer_status":"pending",
               "transfer_type":"Fund Loans",
               "transfer_amount":"-53.11",
               "transfer_source_dest":"to MP",
               "loan_request_id":781768,
               "loan_id":837,
               "borrower_id":2894
            }
         ]
      },
      {
         "date":"2023-03-02",
         "transactions":[
            {
               "transfer_status":"processed",
               "transfer_type":"Withdrawal",
               "transfer_amount":"-20.00",
               "transfer_source_dest":"to Checking",
               "loan_request_id":null,
               "loan_id":null,
               "borrower_id":null
            }
         ]
      }
   ]
}

Sample Request

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

Response Parameters

ParameterTypeDescription

date

Date

Transfer Date

transactions

List of transfer obj.

A list of transactions grouped by transfer date

TransferHistory.transfer_status

String

Status of a transfer .e.g pending, processed or failed

TransferHistory.transfer_type

String

Type of a transfer .e.g Add Money, Withdrawal, Fund Loans, Monthly Payments, Collection, Lender Subscription, Default Crypto, Liquidate Crypto, Reward, Refund

TransferHistory.transfer_amount

String

Amount of transfer in USD

TransferHistory.transfer_source_dest

String

Indicates the transfer initiation either to or from source

TransferHistory.loan_request_id

Long

Id of the loan request associated with the transfer

TransferHistory.loan_id

Long

Id of the loan associated with the transfer

TransferHistory.borrower_id

Long

Id of the borrower associated with the transfer

Last updated