Get the repayment schedule of an active murabaha contract
GET/islamic-financing/murabaha/contracts/{id}/schedule
Returns the persisted repayment schedule and derived outstanding balance (sum of non-PAID instalment principal + profit), decorated per instalment with how much of its profit has been recognised as income and how much is still deferred, plus the same deferred total across the whole contract. A product recognises profit either on instalment due dates or day by day; both are reported through the same fields, so the response shape does not depend on the product's recognition mode. Every amount is derived from event rows at read time, never stored. Rejected with 422 if the contract is not in Active state.
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 500
The repayment schedule.
Unauthorized
Forbidden
Contract not found.
INVALID_ACCOUNT_STATE: the contract is not in Active state; errorSource is : is CONTRACT_NOT_ACTIVE.
The stored schedule data is inconsistent; errorSource is : is one of SCHEDULE_NOT_FOUND, ACCRUAL_DERIVATION_FAILED or RECOGNITION_EXCEEDS_SCHEDULED_PROFIT.