diff --git a/localstripe/resources.py b/localstripe/resources.py index 40de8ad1..42c2a8bc 100644 --- a/localstripe/resources.py +++ b/localstripe/resources.py @@ -277,10 +277,10 @@ def __init__(self): schedule_webhook(Event('balance.available', self)) @classmethod - def _api_retrieve(self): - obj = store.get(self.object) + def _api_retrieve(cls): + obj = store.get(cls.object) if obj is None: - return self() + return cls() return obj def _export(self, expand=None):