Refactor createPaymentMethod to return only ids