POST /v1/payments/createQrOrder
Creates a QR code order for the Merchant Presented Dynamic QR (C Scan B) payment scenario. The API performs two steps: it creates the order and, if that succeeds, generates a QR code. The merchant receives the QR code to display, and Rebell maintains the relationship between the QR code and the order.
Request Parameters
Business type of the QR code. For Merchant Presented Dynamic QR:
ORDER_CODEMax length: 16 charactersFixed product code provided by Rebell:
- C Scan B Dynamic:
51051000101000100048 - Payment from a merchant PC website: a different fixed code, e.g.
51051000101000100053
Payment result notification URL. When the payment succeeds or the order is closed, Rebell notifies the result to this URL (see notifyPayment). Whether a notification is sent depends on the merchant’s contract.Max length: 1024 characters
JSON-formatted extension data. Supported keys:
channelSource:MERCHANT_MP,MERCHANT_APP,MOBILE_H5,WEBSIT_H5,INSTOREminiAppIdminiAppNameminiAppLogo
"{\"channelSource\":\"MERCHANT_MP\",\"miniAppId\":\"12312312312\"}"Max length: 2048 characters