This Choreo returns detailed information for multiple loans. The documetation for this Kiva resource is available here.
Here is an example of acceptable inputs:
LoanID: 2930
The following is a sample of the information returned by this Choreo:
{
"loans": [
{
"id": 2930,
"name": "Emily",
"description": {
"languages": [
"en"
],
"texts": {
"en": "Auntie Emily lives in Dodowa in the Dangme West District of Ghana and operates in a High School Community as a food vendor. Due to the delicious meals and the hygienic conditions under which she prepares her meals, students and the general public take delight in her meals. she has received training on good health and sanitation from KSF to enable her attract customers. She supplies to a large group and therefore needs a loan of $750.00 from kiva. She also attended training sessions on good loan management and record keeping from KSF."
}
},
"status": "paid",
"funded_amount": 750,
"paid_amount": 750,
"image": {
"id": 9381,
"template_id": 1
},
"activity": "Food Production/Sales",
"sector": "Food",
"use": "Working capital",
"location": {
"country_code": "GH",
"country": "Ghana",
"town": "Dodowa, Dangme West District,",
"geo": {
"level": "country",
"pairs": "8 -2",
"type": "point"
}
},
"partner_id": 19,
"posted_date": "2006-12-25T18:44:21Z",
"loan_amount": 750,
"borrowers": [
{
"first_name": "Emily",
"last_name": "",
"gender": "F",
"pictured": true
}
],
"terms": {
"disbursal_date": "2007-01-08T23:22:23Z",
"disbursal_currency": "USD",
"disbursal_amount": 750,
"loan_amount": 750,
"local_payments": [
{
"due_date": "2007-02-08T08:00:00Z",
"amount": 93.75
},
{
"due_date": "2007-03-08T08:00:00Z",
"amount": 93.75
},
{
"due_date": "2007-04-08T07:00:00Z",
"amount": 93.75
},
{
"due_date": "2007-05-08T07:00:00Z",
"amount": 93.75
},
{
"due_date": "2007-06-08T07:00:00Z",
"amount": 93.75
},
{
"due_date": "2007-07-08T07:00:00Z",
"amount": 93.75
},
{
"due_date": "2007-08-08T07:00:00Z",
"amount": 93.75
},
{
"due_date": "2007-09-08T07:00:00Z",
"amount": 93.75
}
],
"scheduled_payments": [
{
"due_date": "2007-04-16T07:00:00Z",
"amount": 93.75
},
{
"due_date": "2007-05-16T07:00:00Z",
"amount": 93.75
},
{
"due_date": "2007-06-16T07:00:00Z",
"amount": 93.75
},
{
"due_date": "2007-07-16T07:00:00Z",
"amount": 93.75
},
{
"due_date": "2007-08-16T07:00:00Z",
"amount": 93.75
},
{
"due_date": "2007-09-16T07:00:00Z",
"amount": 93.75
},
{
"due_date": "2007-10-16T07:00:00Z",
"amount": 93.75
},
{
"due_date": "2007-11-16T08:00:00Z",
"amount": 93.75
}
],
"loss_liability": {
"nonpayment": "partner",
"currency_exchange": "none"
}
},
"payments": [
{
"amount": 94,
"local_amount": 94,
"processed_date": "2007-03-26T15:45:04Z",
"settlement_date": "2007-10-24T18:22:50Z",
"rounded_local_amount": 94,
"currency_exchange_loss_amount": 0,
"payment_id": 11811,
"comment": "first payment"
},
{
"amount": 94,
"local_amount": 94,
"processed_date": "2007-04-25T13:02:37Z",
"settlement_date": "2007-10-24T18:22:50Z",
"rounded_local_amount": 94,
"currency_exchange_loss_amount": 0,
"payment_id": 13794,
"comment": "Second payment"
},
{
"amount": 94,
"local_amount": 94,
"processed_date": "2007-05-28T10:17:05Z",
"settlement_date": "2007-10-24T18:22:50Z",
"rounded_local_amount": 94,
"currency_exchange_loss_amount": 0,
"payment_id": 18182,
"comment": "scheduled payment"
},
{
"amount": 188,
"local_amount": 188,
"processed_date": "2007-07-24T09:15:39Z",
"settlement_date": "2007-10-24T18:22:50Z",
"rounded_local_amount": 188,
"currency_exchange_loss_amount": 0,
"payment_id": 34808,
"comment": "scheduled_repayment"
},
{
"amount": 94,
"local_amount": 94,
"processed_date": "2007-08-24T09:15:43Z",
"settlement_date": "2007-10-24T18:22:50Z",
"rounded_local_amount": 94,
"currency_exchange_loss_amount": 0,
"payment_id": 45690,
"comment": "scheduled_repayment"
},
{
"amount": 94,
"local_amount": 94,
"processed_date": "2007-09-24T09:15:52Z",
"settlement_date": "2007-10-24T18:22:50Z",
"rounded_local_amount": 94,
"currency_exchange_loss_amount": 0,
"payment_id": 57970,
"comment": "scheduled_repayment"
},
{
"amount": 92,
"local_amount": 92,
"processed_date": "2007-10-24T09:16:06Z",
"settlement_date": "2007-10-24T18:22:50Z",
"rounded_local_amount": 92,
"currency_exchange_loss_amount": 0,
"payment_id": 71197,
"comment": "scheduled_repayment"
}
],
"funded_date": "2006-12-25T23:22:23Z",
"paid_date": "2007-10-24T09:16:06Z",
"journal_totals": {
"entries": 0,
"bulkEntries": 0
}
}
]
}