update for adding new external APIs with payment parameters