{ "opencollection": "1.0.0", "info": { "name": "Xfers Bank Account Repayments API", "version": "3" }, "items": [ { "info": { "name": "Repayments", "type": "folder" }, "items": [ { "info": { "name": "List Repayment", "type": "http" }, "http": { "method": "GET", "url": "https://id.xfers.com/api/v3/loans/:loan_id/repayments", "params": [ { "name": "loan_id", "value": "", "type": "path", "description": "Loan ID. You can find this from the response when you create loan." } ] }, "docs": "Get the Details of a repayment given a loan id" }, { "info": { "name": "Create Repayment", "type": "http" }, "http": { "method": "POST", "url": "https://id.xfers.com/api/v3/loans/:loan_id/repayments", "params": [ { "name": "loan_id", "value": "", "type": "path", "description": "Loan ID. You can find this from the response when you create loan." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a disbursement report to complete a loan disbursement process. We will pass this loan asynchronously and give callback after complete" }, { "info": { "name": "Repayment Notification Callback", "type": "http" }, "http": { "method": "POST", "url": "https://id.xfers.com/api/notify_repayment_callback", "body": { "type": "json", "data": "{}" } }, "docs": "This is Xfers' callback request to your server to notify repayment status" }, { "info": { "name": "Get Repayment", "type": "http" }, "http": { "method": "GET", "url": "https://id.xfers.com/api/v3/loans/:loan_id/repayments/:loan_repayment_id", "params": [ { "name": "loan_id", "value": "", "type": "path", "description": "Loan ID. You can find this from the response when you create loan." }, { "name": "loan_repayment_id", "value": "", "type": "path", "description": "Loan ID. You can find this from the response when you create loan." } ] }, "docs": "Get the Detail of a repayment given its id" }, { "info": { "name": "Repayments Reconciliation", "type": "http" }, "http": { "method": "POST", "url": "https://id.xfers.com/api/v3/loans/repayments/reconciliations", "body": { "type": "form-urlencoded", "data": [ { "name": "page", "value": "" }, { "name": "per_page", "value": "" } ] }, "auth": { "type": "apikey", "key": "X-XFERS-USER-API-KEY", "value": "{{X-XFERS-USER-API-KEY}}", "placement": "header" } }, "docs": "Get Outstanding Repayments. Response of this reconciliation request will be in callback." } ] } ], "bundled": true }