Skip to main content
POST
cURL

Authorizations

Signature
string
header
required

RSA SHA256 signature header. Example: Signature: algorithm=SHA256withRSA, keyVersion=1, signature=<base64UrlEncode(signature)>

Client-Id
string
header
required

Rebell-assigned Client Id.

Request-Time
string
header
required

ISO 8601 / RFC 3339 timestamp, at least accurate to seconds (e.g. 2024-01-10T12:00:00Z).

Body

application/json
bizType
enum<string>
required

QR business type. ORDER_CODE for Merchant Presented Dynamic QR

Available options:
ORDER_CODE
Maximum string length: 16
productCode
string
required

Fixed product code: 51051000101000100048 for C Scan B Dynamic (PC website payment uses a different code, e.g. 51051000101000100053). Provided by Rebell during SIT

Maximum string length: 32
codeType
enum<string>
required

QR code protocol. Only CGCP is supported

Available options:
CGCP
Maximum string length: 16
order
object
required
paymentNotifyUrl
string<uri>

Payment result notification URL

Maximum string length: 1024
extendInfo
string

JSON string. Keys: channelSource (MERCHANT_MP, MERCHANT_APP, MOBILE_H5, WEBSIT_H5, INSTORE), miniAppId, miniAppName, miniAppLogo

Maximum string length: 2048

Response

OK

result
object
required
merchantTransId
string
required

Echo of the merchant transaction ID

Maximum string length: 64
acquirementId
string

Rebell-generated unique ID of the payment order

Maximum string length: 64
qrCode
string

QR code payload to render (not an image)

Maximum string length: 64