The final plan for refunding one failed item in a multi-item order, without asking any payment rail to refund part of a payment.
Tickets MSP-192 and MSP-195 already create a partial refund record, but nothing pays it out.
| Order type | How it is paid | A cancelled item gets |
|---|---|---|
| Gift card (Al Fursan) card leg depends on Q1 | One Miles burn per item. One card charge per item, if Moyasar allows it (Q1) | Full reversal of its card charge and Miles burn, at once |
| Physical (Al Fursan) | One Miles burn per item, one card payment per order | Full reversal of its Miles burn. The card share is paid once per order, after the order is final |
| Any order, DPR tenant | One item per order (tenant setting) | Full reversal of the order |
Rules for every type: refund what the customer paid for the item, including its share of any order promo. Return the original currency. Seller cancellations before delivery only.
Moyasar takes one refund per payment, so the card share is refunded once, never twice. Until the Refund API takes an amount, OMS gives ops a task with the exact amount.
Rule: tenant setting itemsPerOrder = ONE. A cart of three checks out as three orders in one flow, one OTP each.
Later: the one-item rule lifts per tenant once Merit has authenticated burn endpoints for that tenant's storefront.
No live tenant contract conflicts with one item per order (Brian, 27 Oct). Source: 26 Oct call.
| Team | Person | Build | Size guess |
|---|---|---|---|
| OMS | Zarar Tahir | Item payments, refund ledger per leg, tenant setting | Two sprints |
| Payment Service | Hamd Zulfiqar, Tamer Labna | N charges, full refund per payment, amount on Refund API | 1 to 2 sprints |
| E-Commerce | Ahmad Wshah's team | Miles wrapper: per-item burn and reversal | One sprint |
| Legacy team | Akshay Chennupati | Comarch spec for token burn and reversal | KT session |
| Storefront | Muneeb Meer | N-charge checkout copy, ONE tenant flow | Under one sprint |
| Exchange Service | Habib and Faiz | Issuer rules, later | Not in this release |
| Ops | Ops lead, KSA | Works the refund queue | Process only |