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: Mobile Website, e.g. 51051000101000100054; Rebell App Cashier, e.g. 51051000101000100086. Provided by Rebell during SIT

Maximum string length: 32
order
object
required
paymentNotifyUrl
string<uri>

Payment result notification URL

Maximum string length: 1024
paymentRedirectUrl
string<uri>

URL opened in the default browser after a successful payment

Maximum string length: 1024
extendInfo
string

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

Maximum string length: 2048

Response

OK

result
object
required
merchantTransId
string
required

Echo of the merchant transaction ID

Maximum string length: 64
redirectUrl
string

Payment URL. Returned if the merchant signed the Rebell App Cashier contract

Maximum string length: 1024

App link information for the merchant SDK. Returned if the merchant signed the Rebell App Cashier contract

acquirementId
string

Rebell-generated unique ID of the payment order, used for inquiry and reconciliation

Maximum string length: 64