Fund Loan
API endpoint to fund loans for mobile users.
HTTPS Request
POST
https://api.lenmo.app/api/v3/accepted_offers/{id}/fund/
We only fund loan using the user's balance now, not balance and bank as done previously. Validation needed for the API endpoint to work:
1. Offer has to be not processed on dwolla before; processed_on_dwolla
attribute have to be False.
2. Offer has to be Accepted
.
3. LoanRequest status has to be Offered
.
4. Borrower has a primary funding resource.
5. Investor's Balance exceeds the total_amount
attribute of the Loan.
Path Parameters
Name
Type
Description
id*
Long
The accepted offer id to be funded.
Headers
Name
Type
Description
Accept
String
The content type of the response.
Authorization*
String
The bearer token that give the user the authentication to perform this request.
{
'message': 'Loan is started to fund, We will notify you just finish.'
}
Sample Request
curl -X POST "https://api.lenmo.app/api/v3/accepted_offers/125944/fund/" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "X-API-KEY: YOUR_API_KEY" \
-H "X-Timestamp: REQUEST_TIMESTAMP" \
-H "X-HMAC: REQUEST_HMAC"
Last updated