def METHOD_NAME(self):
    r = self.secret('balance').json()
    balance = Decimal(0)
    for a in r['available']:
        if a['currency'].lower() == settings.CURRENCY_ISO.lower():
            balance += Decimal(a['amount']) / 100
            break
    else:
        raise StripeException("No available balance entry found for currency {}".format(settings.CURRENCY_ISO))
    for p in r['pending']:
        if p['currency'].lower() == settings.CURRENCY_ISO.lower():
            balance += Decimal(p['amount']) / 100
            break
    else:
        raise StripeException("No pending balance entry found for currency {}".format(settings.CURRENCY_ISO))
    return balance