Correct a previously posted repayment or correction on an active murabaha contract
POST/islamic-financing/murabaha/contracts/{id}/transactions/{transactionId}/corrections
Applies a signed delta to the named transaction's effective amount without deleting or mutating it: records a new append-only RepaymentCorrectionTransaction linked forward-only to its target, replays the contract's allocation from the target's value date forward to produce net-delta ledger rows, and posts one GL entry sized to the delta and dated at the target's original value date. Never touches Profit Income or Unearned Profit. Idempotent via the Idempotency-Key header.
Request
Responses
- 201
- 401
- 403
- 404
- 409
- 422
- 503
The correction was recorded.
Unauthorized
Forbidden
Contract not found, or the target transaction does not exist or belongs to another contract (TRANSACTION_NOT_FOUND).
CONTRACT_NOT_ACTIVE, CONTRACT_RESCHEDULED, CORRECTION_IN_FROZEN_PERIOD, TRANSACTION_ALREADY_CORRECTED, or CORRECTION_WINDOW_EXPIRED.
ZERO_DELTA_REJECTED, CORRECTION_BELOW_ZERO, OVERPAYMENT_EXCEEDS_OUTSTANDING, or ACCOUNTING_PERIOD_CLOSED.
Lock-wait timeout acquiring the contract row (REPAYMENT_LOCK_TIMEOUT). Retry after the interval in the Retry-After header.