Activate a murabaha contract
POST/islamic-financing/murabaha/contracts/{id}/activate
Transitions a contract from PENDING to ACTIVE. Runs pre-transaction guards (state check and mandatory downpayment check) and validates the resolved activationDate and firstRepaymentDate before opening any transaction. Returns 422 for any guard or date-validation failure (D-B2-01, D-B2-09, D-B2-10, D-B2-04).
Request
Responses
- 200
- 401
- 403
- 404
- 422
The contract was activated.
Unauthorized
Forbidden
Contract not found.
Guard or date-validation failure — CONTRACT_NOT_PENDING, MANDATORY_DOWNPAYMENT_NOT_RECORDED, ACTIVATION_DATE_IN_FUTURE, ACTIVATION_DATE_EXCEEDS_BACKDATE_LIMIT, or FIRST_REPAYMENT_DATE_OUT_OF_BOUNDS.