Checking access…

Skip to main content
Audience: CCG Platform Engineers

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​

IDTrigger or conditionExpected outcomeReference
UC-REFUND-01Full refund against an eligible completed paymentThe refund is linked to the original payment; confirm its final outcome before treating it as completed.Create Refund API reference
UC-REFUND-02Partial refund against an eligible completed paymentThe refunded amount reduces what remains refundable; later requests must respect that balance.Create Refund API reference

Negative cases​

IDTrigger or conditionExpected outcomeReference
UC-REFUND-03Requested amount exceeds the remaining refundable amountReject the request; the original payment does not gain more refundable balance.Create Refund API reference
UC-REFUND-04Original payment is ineligible or refund processing failsDo not report a completed return of funds from request acceptance alone; follow the final refund result.Create Refund API reference

Unlinked refunds​

Positive cases​

IDTrigger or conditionExpected outcomeReference
UC-REFUND-05Goodwill or other standalone credit to an eligible saved cardCCG processes a credit without an original CCG payment reference and reports the final outcome.Unlinked refund processing

Negative cases​

IDTrigger or conditionExpected outcomeReference
UC-REFUND-06Bank account supplied for an unlinked refundReject the request because this path requires a card.Unlinked refund processing
UC-REFUND-07Saved card is not associated with the resolved customerReject the request until the customer-method association is valid.Unlinked refund processing

Edge cases​

IDTrigger or conditionExpected outcomeReference
UC-REFUND-08Processor reports a later failure after the request was acceptedPreserve the asynchronous failure and send the failure outcome; acceptance is not a successful credit.Unlinked refund processing
UC-REFUND-09Customer is created during the unlinked-refund pathVerify creation and card association before submitting the processor credit.Unlinked refund processing