Add payment method logic to api & ember