Alipay Global Payment Integration

Accept payments from global customers with ease

Cashier Payment

Full-page payment flow with multiple payment methods

Try Checkout

Payment Consult

Check available payment methods before checkout

Learn More

API Reference

Complete REST API for full payment control

View API

Available API Endpoints

POST /api/pay/consult

Check available payment methods

POST /api/pay/create

Create a new payment session

GET /api/pay/query/{payment_id}

Query payment status

POST /api/pay/cancel/{payment_id}

Cancel a payment

POST /api/pay/refund

Refund a payment

POST /api/pay/capture

Capture authorized payment

Setup Instructions

  1. Configure your environment variables in Render
  2. Set CLIENT_ID - Your Alipay merchant ID
  3. Set MERCHANT_PRIVATE_KEY - Your RSA private key
  4. Set ALIPAY_PUBLIC_KEY - Alipay's public key
  5. Deploy to Render