Alipay Global Payment Integration
Accept payments from global customers with ease
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
- Configure your environment variables in Render
- Set
CLIENT_ID- Your Alipay merchant ID - Set
MERCHANT_PRIVATE_KEY- Your RSA private key - Set
ALIPAY_PUBLIC_KEY- Alipay's public key - Deploy to Render