def api_list(
        cls,
        api_key=djstripe_settings.STRIPE_SECRET_KEY,
        *,
        customer: Customer,
        **kwargs,
    ):
        """
        Call the stripe API's list operation for this model.
        :param api_key: The api key to use for this request. \
            Defaults to djstripe_settings.STRIPE_SECRET_KEY.
        :type api_key: string
        See Stripe documentation for accepted kwargs for each object.
        :returns: an iterator over all items in the query
        """
        # Update kwargs with `expand` param
        kwargs = cls.get_expand_params(api_key, **kwargs)

        return Customer.stripe_class.list_sources(
            object="source",
            api_key=api_key,
            stripe_version=djstripe_settings.STRIPE_API_VERSION,
            customer=customer.id,
            **kwargs,
        ).auto_paging_iter()

        Call the stripe API's list operation for this model.
        :param api_key: The api key to use for this request.             Defaults to djstripe_settings.STRIPE_SECRET_KEY.
        :type api_key: string
        See Stripe documentation for accepted kwargs for each object.
        :returns: an iterator over all items in the query
        
djstripe/models/payment_methods.py