v1

latestOpenAPI 3.1.02026-07-24233206489.1 KB
repayments

Create a manual repayment

Creates a manual repayment entry for a loan or account.

post/v1/capitals/repayments

Request body

amountinteger required
loan_idstring required

Example request

{
  "amount": 10000,
  "loan_id": "loan_123"
}

Response

OK

messagestring

Example response

{
  "data": {
    "amount": 10000,
    "checkout_url": "https://checkout.paymongo.com/session/checkout_123",
    "id": "repayment_123",
    "loan_id": "loan_123"
  }
}