Repayments
Simulate a repayment
Simulates the automatic daily sales repayment for a contract. Updates loan balance and creates a repayment record, but does not trigger a wallet transfer.
post/v1/capitals/lenders/contracts/{contract_id}/simulate/repayment
Request
- Base URLhttps://api.paymongo.com
- URLhttps://api.paymongo.com/v1/capitals/lenders/contracts/{contract_id}/simulate/repayment
- AuthHTTP basic
Path parameters
contract_idstring required
Contract ID
Request body
Example request
{
"sales_amount": 50000
}Response
OK
Example response
{
"data": {
"amount": 10000,
"created_at": "2024-01-01 00:00:00+00:00",
"currency": "PHP",
"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.