Skip to main content
POST
/
v1
/
payments
/
createQROrder
cURL
curl -X POST https://api.rebellapp.com/v1/payments/createQROrder \
  -H "Content-Type: application/json" \
  -H "Client-Id: YOUR_CLIENT_ID" \
  -H "Request-Time: 2024-01-10T12:00:00Z" \
  -H "Signature: algorithm=SHA256withRSA, keyVersion=1, signature=BASE64_SIGNATURE" \
  -d '{
    "bizType": "ORDER_CODE",
    "productCode": "5105010010000100040",
    "codeType": "CGCP",
    "paymentRequestId": "REQ_abc_123",
    "paymentAmount": {
      "currency": "EUR",
      "value": 1000
    },
    "order": {
      "orderDescription": "Latte x2"
    },
    "paymentNotifyUrl": "https://merchant.example.com/webhook"
  }'
{
  "result": {
    "resultStatus": "S",
    "resultCode": "<string>",
    "resultMessage": "<string>"
  },
  "paymentRequestId": "<string>",
  "paymentId": "<string>",
  "qrCode": "<string>"
}

Authorizations

Signature
string
header
required

RSA SHA256 signature header. Example: Signature: algorithm=SHA256withRSA, keyVersion=0, signature=BASE64...

Client-Id
string
header
required

Rebell-assigned Client Id.

Request-Time
string
header
required

RFC3339 timestamp (e.g., 2019-05-28T12:12:00+08:00).

Body

application/json
bizType
enum<string>
required
Available options:
ORDER_CODE
productCode
string
required
codeType
enum<string>
required
Available options:
CGCP
paymentRequestId
string
required
paymentAmount
object
required

Amount in minor units (e.g., cents).

order
object
paymentNotifyUrl
string<uri>
extendInfo
string

JSON string e.g. {"key":"value"}

Response

OK

result
object
required
paymentRequestId
string
paymentId
string
qrCode
string