This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "class": ["error", "SirenError"], | |
| "properties": { | |
| "code": "org.kiva.ApplicationError", | |
| "summary": "Oops, this one's our fault. If you could be so kind to tell about how this happened, we'd really appreciate it.", | |
| "http_status": "Internal Server Error", | |
| "http_code": 500 | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "location": { | |
| "town": { | |
| "id": 154 | |
| } | |
| }, | |
| "activity": { | |
| "id": 72 | |
| }, | |
| "businessName": "Lucy: Lucy's Crafts", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "theme_name":"General", | |
| "description_language":"English", | |
| "activity":"Rickshaw", | |
| "location":"Ali Pur Chatta: Pakistan", | |
| "loan_representative":"Jim Jones", | |
| "image_url":"dropbox.come/image/1234.jpg", | |
| "client_waiver_signed":true, | |
| "loanuse":"Some loan use", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "loan_theme_instance_id": 991, | |
| "pfp_min_lenders": 25, | |
| "pfp_expiration_days": 15 | |
| }, | |
| { | |
| "loan_theme_instance_id": 992, | |
| "pfp_min_lenders": 85, | |
| "pfp_expiration_days": 12 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "client_waiver_signed":true, | |
| "internal_client_id":"group-client-1", | |
| "internal_loan_id":"group-loan-1", | |
| "group_name":"group-name", | |
| "entreps":[ | |
| { | |
| "first_name":"borrower-given-1", | |
| "last_name":"borrower-family-1", | |
| "gender":"male", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| POST https://api.dev.kivaws.org/v3/partner/123/repayments | |
| { | |
| "partner_token":"xxxx", | |
| "user_id":234, | |
| "repayments":[ | |
| { | |
| "loan_id":"1234", | |
| "client_id":"abc(optional)", | |
| "amount":33.33 | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| POST https://api.dev.kivaws.org/v3/partner/123/loan_draft | |
| { | |
| "partner_token": "xxxx", | |
| "description_language_id":1, | |
| "activity_id":"56", | |
| "theme_type_id":"227", | |
| "location":"Dahod: India", | |
| "rep_person_id":"1234", | |
| "client_waiver_signed":true, | |
| "loanuse":"Loan Use", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| POST https://api.dev.kivaws.org/v3/partner/123/loan_draft | |
| { | |
| "partner_token": "xxx", | |
| "description_language_id":1, | |
| "theme_type_id":"227", | |
| "activity_id":"56", | |
| "location":"Dahod: India", | |
| "rep_person_id":"1234", | |
| "internal_client_id":"group_client_123", | |
| "internal_loan_id":"group_loan_123", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| POST https://api.dev.kivaws.org/v3/partner/123/journals | |
| { | |
| "partner_token":"xxx", | |
| "journals": [ | |
| { | |
| "internal_loan_id": "loan_123", | |
| "internal_client_id": "client_123(optional)", | |
| "subject":"Journal subject 1", | |
| "body": "Journal body 1 with some interesting content", | |
| "image_url": "https://site.com/image1.jpg" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| GET https://api.dev.kivaws.org/v3/partner/123/loans?status=inactive&limit=50 | |
| Authorization header: "xxx_partner_token_xxx" | |
| OR | |
| GET https://api.dev.kivaws.org/v3/partner/123/loans?query=123_MIS_loan_id | |
| Response: | |
| { | |
| "total_records":1, | |
| "data":{ | |
| "12345":{ |
OlderNewer