Lili Server API Swagger documentation
https://sandbox.lili.co/
Incorporation type of the business
National ID country (Alpha 2, ISO 3166 format). Note that if a passport number is supplied, this is the passport issuance country
National ID expiration date. Note that if passport number is supplied, this is the passport expiration date
A list of URLs containing the business documents of the customer
https://sandbox.lili.co/lili/api/v1/lead
curl -i -X PUT \
https://sandbox.lili.co/lili/api/v1/lead \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"email": "user@example.com",
"phoneNumber": "string",
"ssn": "XXX-XX-XXXX",
"birthDate": "2019-08-24",
"firstName": "string",
"lastName": "string",
"line1": "string",
"line2": "string",
"city": "string",
"state": "NY",
"country": "NY",
"postalCode": "XXXXX",
"ein": "/regex/",
"businessName": "string",
"businessLine1": "string",
"businessLine2": "string",
"businessCity": "string",
"businessState": "NY",
"businessPostalCode": "XXXXX",
"businessType": "DBA",
"incorporationState": "string",
"uniqueId": "string",
"duns": "string",
"passportNumber": "string",
"idGovNumber": "string",
"idCountry": "string",
"idExpirationDate": "string",
"documentUrls": [
"string"
],
"documentDataList": [
{
"content": "string",
"contentType": "string",
"fileName": "string"
}
]
}'
{ "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac", "location": "http://example.com", "token": "string", "partnerSuppliedId": "string", "personId": "f3e5ff26-28ff-4cd6-9b1b-e303a185a13a" }
https://sandbox.lili.co/lili/api/v1/{customerId}/bankLetter
curl -i -X GET \
'https://sandbox.lili.co/lili/api/v1/{customerId}/bankLetter' \
-H 'Authorization: YOUR_API_KEY_HERE'
https://sandbox.lili.co/lili/api/v1/payments
curl -i -X PUT \
https://sandbox.lili.co/lili/api/v1/payments \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"customerId": "string",
"amount": 0,
"effectiveDate": "2019-08-24T14:15:22Z",
"payeeName": "string",
"receiverAccountNumber": "string",
"traceNumber": "string",
"originatorRoutingNumber": "string",
"originatorAccountNumber": "string"
}'