---
title: revocationReason
framework: appstoreserverapi
role: symbol
role_heading: Type
path: appstoreserverapi/revocationreason
---

# revocationReason

The reason for a refunded transaction.

## Declaration

```data
int32 revocationReason
```

## Possible Values

0: The App Store refunded the transaction on behalf of the customer for other reasons, for example, an accidental purchase. 1: The App Store refunded the transaction on behalf of the customer due to an actual or perceived issue within your app.

## Discussion

Discussion For Family Sharing transactions, the revocation reason value is 0 if the customer leaves the family group or the owner stops sharing. If the purchaser of a Family Sharing transaction receives a refund, the revocation reason for Family Sharing transactions matches the value of the purchaser’s revocation reason.

## See Also

### Revocation

- [revocationDate](appstoreserverapi/revocationdate.md)
- [revocationPercentage](appstoreserverapi/revocationpercentage.md)
- [revocationType](appstoreserverapi/revocationtype.md)
