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
productCode
string
required

Fixed product code for B Scan C: 51051000101000100040

Maximum string length: 32
paymentRequestId
string
required

Merchant-generated unique ID of the payment request. Idempotency key

Maximum string length: 64
paymentAuthCode
string
required

Payment QR/barcode content scanned from the user's Rebell app. Single-use

Maximum string length: 128
paymentAmount
object
required

Monetary amount. value is a string holding a positive integer in the smallest currency unit (euro cents).

order
object
required
paymentNotifyUrl
string<uri>

Payment result notification URL

Maximum string length: 1024
extendInfo
string

JSON string. Keys: channelSource (INSTORE), miniAppId, miniAppName, miniAppLogo

Maximum string length: 2048

Response

OK

result
object
required
paymentRequestId
string
Maximum string length: 64
paymentId
string

Rebell-generated payment ID

Maximum string length: 64
paymentTime
string<date-time>

Payment success time (ISO 8601)

paymentAmount
object

Monetary amount. value is a string holding a positive integer in the smallest currency unit (euro cents).