Refund Use Cases
Compare linked refunds and standalone credits. Follow the linked domain and Integration references for current contracts.
Version scope: V2 refund flows; linked and unlinked cases have different contracts.
Business rules
Review Refunds for the product rules that apply to these use cases.
Linked refundsβ
Positive casesβ
| ID | Trigger or condition | Expected outcome | Reference |
|---|---|---|---|
UC-REFUND-01 | Full refund against an eligible completed payment | The refund is linked to the original payment; confirm its final outcome before treating it as completed. | Create Refund API reference |
UC-REFUND-02 | Partial refund against an eligible completed payment | The refunded amount reduces what remains refundable; later requests must respect that balance. | Create Refund API reference |
Negative casesβ
| ID | Trigger or condition | Expected outcome | Reference |
|---|---|---|---|
UC-REFUND-03 | Requested amount exceeds the remaining refundable amount | Reject the request; the original payment does not gain more refundable balance. | Create Refund API reference |
UC-REFUND-04 | Original payment is ineligible or refund processing fails | Do not report a completed return of funds from request acceptance alone; follow the final refund result. | Create Refund API reference |
Unlinked refundsβ
Positive casesβ
| ID | Trigger or condition | Expected outcome | Reference |
|---|---|---|---|
UC-REFUND-05 | Goodwill or other standalone credit to an eligible saved card | CCG processes a credit without an original CCG payment reference and reports the final outcome. | Unlinked refund processing |
Negative casesβ
| ID | Trigger or condition | Expected outcome | Reference |
|---|---|---|---|
UC-REFUND-06 | Bank account supplied for an unlinked refund | Reject the request because this path requires a card. | Unlinked refund processing |
UC-REFUND-07 | Saved card is not associated with the resolved customer | Reject the request until the customer-method association is valid. | Unlinked refund processing |
Edge casesβ
| ID | Trigger or condition | Expected outcome | Reference |
|---|---|---|---|
UC-REFUND-08 | Processor reports a later failure after the request was accepted | Preserve the asynchronous failure and send the failure outcome; acceptance is not a successful credit. | Unlinked refund processing |
UC-REFUND-09 | Customer is created during the unlinked-refund path | Verify creation and card association before submitting the processor credit. | Unlinked refund processing |