RE*) reaches a reportable status.data.orderId as the order being notified (VA* original or RE* child).data.orderStatus / data.refundStatus / data.businessType. Order state is orderStatus, not data.status.orderStatus is SUCCESS.RE* child. Do not treat original-order orderStatus=REFUNDED as the refund terminal notification.RE* id.eventId.PAY_IN / CASH_OUT)orderStatus | Meaning |
|---|---|
INIT | Accepted and initialized. |
PROCESSING | In progress. |
MANUAL_PROCESSING | Manual review. |
SUCCESS | Completed successfully. Stays SUCCESS during/after refund. |
FAIL | Failed before completion. |
refundStatus copied from the child and refundOrderId.PAYIN_REFUND / PAYOUT_REFUND)| Stage | envelope status / data.orderStatus | refundStatus |
|---|---|---|
| Created / channel not terminal | PROCESSING | REFUNDING |
| Funds confirmed and ledger posted | REFUNDED | REFUNDED |
| Channel explicitly failed | FAIL | REFUND_FAILED |