Prepayment
Create prepayment record
Creates a prepayment record containing one or multiple repayments.
This endpoint generates a Prepayment created event.
Note: This endpoint requires an account-specific access token.
post/v2/prepayments
Request
- Base URLhttps://sandbox.pismolabs.io/lending
- URLhttps://sandbox.pismolabs.io/lending/v2/prepayments
- AuthHTTP bearer
Headers
Idempotency-Keystring uuid
Optional UUID that makes the request idempotent, enabling you to retry it multiple times while the system processes it only once.
Request body
Example request
{
"repayment_ids": [
"c04fd22b-7d9c-4099-aaf4-9ee002b5a6a7",
"jdu55ks2-7d9c-4099-aaf4-9ee002tkl554"
],
"expiration_date": "2025-04-28",
"reference_date": "2025-04-14"
}Response
Prepayment created.
Example response
{
"allocation_summary": [
{
"loan_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"loan_start_date": "2025-01-15T00:00:00.000Z",
"installment_amount": 156.54,
"minimum_total_payment_delta": 43.46
},
{
"loan_id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"loan_start_date": "2025-03-01T00:00:00.000Z",
"installment_amount": 200,
"minimum_total_payment_delta": 0
}
],
"expected_amount": 100,
"expiration_date": "2026-08-31",
"prepayment_id": "c04fd22b-7d9c-4099-aaf4-9ee002b5a6a7",
"reference_date": "2026-08-01"
}Changes
No recorded changes to this operation across all 1 revision of this API.