API Center
OpenAPI Download
Both files can be imported directly into Bruno or other OpenAPI-compatible tools.
Which File Should I Use?
Agent merchants
Use unipay-agent.yaml when upstream channel selection is transparent to the merchant. Requests do not include channel; the backend routes by the enabled ISV channel configuration.
Special merchants
Use unipay-special.yaml when the merchant manages upstream channels explicitly. Payment, transfer, and inqury requests include channel.
Endpoint Groups
Trade
POST /unipay/payPOST /unipay/refundPOST /unipay/closePOST /unipay/inquryPOST /unipay/transfer
Query
POST /unipay/query/payOrderPOST /unipay/query/refundOrderPOST /unipay/query/transferOrder
Sync
POST /unipay/sync/order/payPOST /unipay/sync/order/refund
Covered Content
- Request and response signature rules
- Common request fields and response envelope
- Request examples, success examples, and failure examples
- Common error codes and payment-domain error codes
See Security & Signature and Error Codes for integration details.