Connect Alipay with Open Flow

Prepare a desktop or mobile payment link with an explicit order number and amount, then check the transaction result.

20,000 free app calls per month (paid services billed separately)

What you can do

Connect an Alipay merchant application to generate signed checkout URLs, query payments, and manage full or partial refunds. Buyers complete payments through Alipay.

Desktop and mobile checkout

Generate signed payment URLs for buyers to open.

Payment and refund status

Query payments, request refunds, and check refund outcomes.

All actions

5 actions

Create Web Payment

Generate a signed Alipay desktop checkout URL locally. The buyer must open the URL and complete payment; use query_payment to verify the transaction status.

alipay.create_web_payment

Create Mobile Payment

Generate a signed Alipay mobile website checkout URL locally. The buyer must open the URL and complete payment; use query_payment to verify the transaction status.

alipay.create_mobile_payment

Query Payment

Query an Alipay transaction and return its verified business response. Check trade_status and the order amount before treating a payment as complete.

alipay.query_payment

Refund Payment

Request a full or partial Alipay refund. Reuse out_request_no and refund_amount on retries. fund_change=Y confirms success; otherwise use query_refund to check the outcome.

alipay.refund_payment

Query Refund

Query an Alipay refund request. Only refund_status=REFUND_SUCCESS confirms a successful refund. Allow at least 10 seconds after requesting the refund before querying.

alipay.query_refund

Connect Alipay with Open Flow

Connect Alipay

20,000 free app calls per month (paid services billed separately)