Skip to content

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/pay
  • POST /unipay/refund
  • POST /unipay/close
  • POST /unipay/inqury
  • POST /unipay/transfer

Query

  • POST /unipay/query/payOrder
  • POST /unipay/query/refundOrder
  • POST /unipay/query/transferOrder

Sync

  • POST /unipay/sync/order/pay
  • POST /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.