Get Loan History

This endpoint will provide clients with the loans that the user is serving or has served.

get/lending-service/api/v1/loans/{customerId}

Request

  • Base URL
    https://sandbox.interswitchng.com
  • URL
    https://sandbox.interswitchng.com/lending-service/api/v1/loans/{customerId}
  • Auth
    none required

Path parameters

customerIdstring required

The Email or Mobile Number of the user for which history data is being retrieved

Query parameters

startDatestring required

The Start Date/Time to be used as the filter for the data. This will specify the lower bound of the date range.

endDatestring required

The End Date/Time to be used as the filter for the data. This will specify the upper bound of the date range.

channelCodestring required

The Code of the channel for which this request is originating.

pageNumberinteger required

The Number of the page from which the loan history records should be pulled.

pageSizeinteger

The Maximum number of Records to be contained on a page of records.

Headers

Authorizationstring

Response

200

Changes

No recorded changes to this operation across all 1 revision of this API.