def create(self, params=None): if params is None: params = {} Resource.verify_keys(params, PaymentMethod.create_signature()) self.__check_for_deprecated_attributes(params) return self._post("/payment_methods", {"payment_method": params})
def create(self, params={}): Resource.verify_keys(params, PaymentMethod.create_signature()) return self._post("/payment_methods", {"payment_method": params})