def METHOD_NAME(self, params=None):
    if params is None:
        params = {}
    Resource.verify_keys(params, CreditCard.create_signature())
    self.__check_for_deprecated_attributes(params)
    return self._post("/payment_methods", {"credit_card": params})