Module Import alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list
N/A N/A stripe N/A charges N/A utils create N/A N/A charge amount N/A None N/A N/A 
    Creates a refund for a particular charge

    Args:
        charge: the charge against which to create the refund
        amount: how much should the refund be, defaults to None, in which case
                the full amount of the charge will be refunded
     N/A N/A amount None N/A N/A N/A N/A N/A stripe Refund create charge N/A charge stripe_id N/A N/A N/A N/A N/A stripe Refund create charge N/A charge stripe_id amount N/A N/A utils convert_amount_for_api N/A N/A charges calculate_refund_amount charge amount amount N/A charge currency N/A N/A N/A charges sync_charge_from_stripe_data N/A charge stripe_charge N/A