For the interface alipay.dut.customer.agreement.page.sign, follow the steps below to invoke Alipay Wallet.
Before the merchant can open the sign page, the merchant must install Alipay Wallet. If the following characters exist, Alipay Wallet is installed successfully:
Call the interface (alipay.dut.customer.agreement.page.sign) to generate an agreement URL:
https://openapi.alipaydev.com/gateway.do?_input_charset=UTF-8&access_info={"channel":"ALIPAYAPP"}&external_sign_no=123456789-1-52188048¬ify_url=http://sandbox.hq.agoda.com/PaymentNotification-qa/AlipayBNPL/SaveNotification&partner=2088621880535422&product_code=GENERAL_WITHHOLDING_P&return_url=http://devto.payment.webservices.agoda.local/paypal/Success.aspx&sales_product_code=FOREX_GENERAL_WITHHOLDING&scene=INDUSTRY|HOTEL&service=alipay.dut.customer.agreement.page.sign&sign=2198439006194efadc0cc81501ffeccf&sign_type=MD5
Then encode the URL:
https%3A%2F%2Fopenapi.alipaydev.com%2Fgateway.do%3F_input_charset%3DUTF-8%26access_info%3D%7B%22channel%22%3A%22ALIPAYAPP%22%7D%26external_sign_no%3D123456789-1-52188048%26notify_url%3Dhttp%3A%2F%2Fsandbox.hq.agoda.com%2FPaymentNotification-qa%2FAlipayBNPL%2FSaveNotification%26partner%3D2088621880535422%26product_code%3DGENERAL_WITHHOLDING_P%26return_url%3Dhttp%3A%2F%2Fdevto.payment.webservices.agoda.local%2Fpaypal%2FSuccess.aspx%26sales_product_code%3DFOREX_GENERAL_WITHHOLDING%26scene%3DINDUSTRY%7CHOTEL%26service%3Dalipay.dut.customer.agreement.page.sign%26sign%3D2198439006194efadc0cc81501ffeccf%26sign_type%3DMD5
Connect the above URL to alipays://platformapi/startapp?appId=20000067&url=
alipays://platformapi/startapp?appId=20000067&url=https%3A%2F%2Fopenapi.alipaydev.com%2Fgateway.do%3F_input_charset%3DUTF-8%26access_info%3D%7B%22channel%22%3A%22ALIPAYAPP%22%7D%26external_sign_no%3D123456789-1-52188048%26notify_url%3Dhttp%3A%2F%2Fsandbox.hq.agoda.com%2FPaymentNotification-qa%2FAlipayBNPL%2FSaveNotification%26partner%3D2088621880535422%26product_code%3DGENERAL_WITHHOLDING_P%26return_url%3Dhttp%3A%2F%2Fdevto.payment.webservices.agoda.local%2Fpaypal%2FSuccess.aspx%26sales_product_code%3DFOREX_GENERAL_WITHHOLDING%26scene%3DINDUSTRY%7CHOTEL%26service%3Dalipay.dut.customer.agreement.page.sign%26sign%3D2198439006194efadc0cc81501ffeccf%26sign_type%3DMD5
The merchant can open the above URL with the client App to invoke Alipay Wallet, and then access the sign page.