⚡ Solution Summary
- Use expand=['refunds'] when fetching a charge to access refunds.
- Understand that refunds are includable and not returned by default.
- Review Stripe's documentation on expand for more details.
### Describe the bug
The typing for `Charge` indicates that there should be a `refunds` property:
```python3
refunds: Optional[ListObject["Refund"]]
"""
A list of refunds that have been applied to the charge.
"""
```
Attempting to access it raises an `AttributeError`.
### To Reproduce
Fetch a charge and attempt to access it's `refunds` attribute.
### Expected behavior
It should work.
### Code snippets
```Python
```
### OS
macOS
### Language version
Python 3.120
### Library version
12.1.0
### API version
-
### Additional context
_No response_
Discussion & Fixes