v1

latestOpenAPI 3.1.02026-07-24233206489.1 KB
repayments

Create a direct lender repayment

Notifies the system that a direct repayment was made to the lender.

post/v1/capitals/lenders/repayments

Request body

amountinteger required
currency'PHP' required
loan_idstring required
reference_idstring required

Example request

{
  "amount": 10000,
  "currency": "PHP",
  "loan_id": "loan_123",
  "reference_id": "ref_abc123"
}

Response

OK

messagestring

Example response

{
  "data": {
    "amount": 10000,
    "created_at": "2024-01-01T00:00:00Z",
    "currency": "PHP",
    "id": "repayment_123",
    "loan_id": "loan_123"
  }
}