Investments API

Create an investment

Create an investment. This API call needs your JWT Token for authentication.

Parameters

Description

loan_id
Required
Create an investment for the specified loan ID.
amount
Required
Amount which will be invested

Example

                    
POST /api/investment HTTP/1.1
Host: api.bitlendingclub.com
Accept: application/vnd.blc.v1+json
Authorization: Bearer {PLACE_YOUR_TOKEN_HERE}
Cache-Control: no-cache
Content-Type: application/x-www-form-urlencoded

loan_id=2918&amount=2.1234
                

Response

						
{
    "id" : 77
}