REST Example: Refund Initiated With a Payment Card {#cp-retail-refund-cup-ex-rest-card}
=======================================================================================

Request

```
{
    "clientReferenceInformation": {
        "code": "Refund",
        "comments": "Refund",
        "transactionId": "uniqueValue221",
        "partner": {
            "thirdPartyCertificationNumber": "testTPCN",
            "developerId": "cup12",
            "solutionId": "cup123"
        }
    },
    "processingInformation": {
        "commerceIndicator": "retail"
    },
    "pointOfSaleInformation": {
        "terminalId": "12345678",
        "trackData": ";6225830010000202=27126210000000000001F?",
        "emv": {
            "cardSequenceNumber": 1
        },
        "entryMode": "contact"
    },
    "orderInformation": {
        "amountDetails": {
            "totalAmount": "100.00",
            "currency": "CNY"
        }
    },
    "merchantInformation": {
        "transactionLocalDateTime": "20260724085022"
    }
}
```

Response to a Successful Request

```
{
    "_links": {
        "void": {
            "method": "POST",
            "href": "/pts/v2/refunds/7848896021147003640428/voids"
        },
        "self": {
            "method": "GET",
            "href": "/pts/v2/refunds/7848896021147003640428"
        }
    },
    "clientReferenceInformation": {
        "code": "Refund",
        "transactionId": "uniqueValue221"
    },
    "id": "7848896021147003640428",
    "orderInformation": {
        "amountDetails": {
            "currency": "cny"
        }
    },
    "processorInformation": {
        "retrievalReferenceNumber": "2300058480",
        "settlementDate": "0724"
    },
    "reconciliationId": "620510228807",
    "refundAmountDetails": {
        "currency": "CNY",
        "refundAmount": "100.00"
    },
    "status": "PENDING",
    "submitTimeUtc": "2026-07-24T10:40:07Z"
}
```

