POST /v1/payments/createQrOrder
Creates a QR code order for the Merchant Presented Dynamic QR (C Scan B) payment scenario.
Request Parameters
Business type of the QR code. For Merchant Presented Dynamic QR:
ORDER_CODEMax length: 16 charactersFixed value:
51051000101000100048 for C Scan B Dynamic.Max length: 32 charactersProtocol type. Only supports
CGCP.Max length: 16 charactersMerchant order information.
Payment result notification address.Max length: 1024 characters
JSON-formatted extension data.Max length: 2048 characters
Response Parameters
Standard result object with
resultCode, resultStatus, resultMessageEcho of the merchant-provided transaction identifier.
Platform-generated unique payment order ID.
Generated QR code content.
Result Codes
| resultStatus | resultCode | Description |
|---|---|---|
S | SUCCESS | QR order created successfully |
F | PARAM_ILLEGAL | Invalid parameters |
F | REPEAT_REQ_INCONSISTENT | Duplicate request with inconsistent data |
F | ACCESS_DENIED | Valid contract absent |
F | INVALID_SIGNATURE | Signature validation failed |
F | MERCHANT_STATUS_ABNORMAL | Merchant account issues |
U | UNKNOWN_EXCEPTION | Unknown error occurred |
U | REQUEST_TRAFFIC_EXCEED_LIMIT | Rate limit exceeded |