Repayments

Create a manual repayment

Creates a manual repayment entry for a loan or account.

post/v1/capitals/repayments

Request

  • Base URL
    https://api.paymongo.com
  • URL
    https://api.paymongo.com/v1/capitals/repayments
  • Auth
    HTTP basic

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"
  },
  "message": "application submitted successfully"
}

Changes

No recorded changes to this operation across all 1 revision of this API.