---
title: refundReason
framework: advancedcommerceapi
role: symbol
role_heading: Type
path: advancedcommerceapi/refundreason
---

# refundReason

A reason to request a refund.

## Declaration

```data
string refundReason
```

## Possible Values

UNINTENDED_PURCHASE: The customer didn’t intend to make the in-app purchase. FULFILLMENT_ISSUE: The customer had issues with receiving or using the in-app purchase. UNSATISFIED_WITH_PURCHASE: The customer wasn’t satisfied with the in-app purchase. LEGAL: The customer requested a refund based on a legal reason. OTHER: The customer requested a refund for other reasons. MODIFY_ITEMS_REFUND: The customer modified one or more items in the subscription, which results in a refund. SIMULATE_REFUND_DECLINE: For testing purposes only, a simulation of a refund that the App Store declines. The App Store declines refunds with this reason. This reason is valid only when you test your app in the sandbox environment or in TestFlight.

## See Also

### Data types

- [currency](advancedcommerceapi/currency.md)
- [description](advancedcommerceapi/description.md)
- [dependentSKU](advancedcommerceapi/dependentsku.md)
- [displayName](advancedcommerceapi/displayname.md)
- [effective](advancedcommerceapi/effective.md)
- [period](advancedcommerceapi/period.md)
- [price](advancedcommerceapi/price.md)
- [proratedPrice](advancedcommerceapi/proratedprice.md)
- [retainBillingCycle](advancedcommerceapi/retainbillingcycle.md)
- [refundAmount](advancedcommerceapi/refundamount.md)
- [refundRiskingPreference](advancedcommerceapi/refundriskingpreference.md)
- [SKU](advancedcommerceapi/sku.md)
- [storefront](advancedcommerceapi/storefront.md)
- [taxCode](advancedcommerceapi/taxcode.md)
- [targetProductId](advancedcommerceapi/targetproductid.md)
