- Last Updated: 2022-01-16 21:31:02
Common Response Parameters
Notes
status represents the order status. For payment, refund, and reversal orders, the success or failure is determined by the value of status.
status has four possible values: PENDING, SUCCESS, FAILED, CLOSED, representing processing, success, failure, and order closed respectively.
All API responses have Content-Type: application/json. Responses follow a unified format:
- Active QR code payment is asynchronous. A code of
00000003 means the business request was accepted and is awaiting user payment. The order will show as PENDING. The payment result can be retrieved by querying the transaction order manually.
- For WeChat passive scan payment (MICROPAY), if the user pays successfully,
SUCCESS is returned directly. If a network error or timeout occurs, PENDING is returned — query the transaction result via the query API.
- When the request succeeds, the
data field contains the business data of the response.
- For
code definitions, refer to the Error Codes. The message field contains the error description.
traceId is the trace number generated by this call. Provide it when reporting API call issues.
Common Errors FAQ