Since I am not familiar with the API data, could you explain what you are seeing as a discrepancy.
It seems like a pretty important issue if I am reading your comment correctly.
Dan
The "local payments" exposed through the API are invariably smaller than the local payments seen on the "advanced" repayment schedule of the entrepreneur's page.
eg
API (first repayment is 1012.6 PEN) -v-
website (first repayment is 1022.46 PEN)
This reflects the fact that the MFI distributes a loan to the entrepreneur for some local currency amount. The MFI then loads the details at some later time onto Kiva's system, at which point Kiva converts the amount borrowed to USD$
and increases the amount to the next multiple of USD$25, perhaps from USD$200.01 to USD$225.00.
(The same problem exists even if the "local" currency is in USD$, if the amount borrowed by the entrepreneur is not a multiple of USD$25.)
Kiva then raises this higher amount from lenders, sends it to the MFI, which "backfills (plus a bit)" their bank account.
I have suggested, to no avail, that the "next multiple of $25" issue can be overcome by simply sending to the MFI (once the loan is fully-funded) only the amount that the MFI actually requested, and applying an immediate "recredit" to lenders for the excess.
That same methodology would also get around exchange rate fluctuations between when the loan is posted and when the amount is provided to the MFI - just raise a bit more than what was originally requested, but only send the MFI what they want and give the lenders back the extra.
It seems ridiculous that the MFI is having to keep track of two different sets of repayment figures - one from the entrepreneur to them, and one from them to Kiva. (E.g. is there was a $200.01 loan where they were given $225 by Kiva, they have to remember that for every $10.0005 that the entrepreneur gives them, they have to send $11.25 to Kiva.)
Edit: P.S. I have refrained from posting about this before because it could become severely embarrassing for Kiva - money not going to the entrepreneurs at all has got to be worse than money being pre-disbursed to entrepreneurs - but Kiva have had enough time to resolve the issue (or at least mention it somewhere in the help text) and they haven't bothered, so I'm not going to refrain any longer.