Add pay apis, and related page