Skip to main content
POST
/
v1
/
payments
/
linkPayCreate
cURL
curl -X POST https://api.rebellapp.com/v1/payments/linkPayCreate \
  -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 '{
    "productCode": "5105010010000100040",
    "paymentRequestId": "checkout-20240321-987",
    "paymentAmount": {
      "currency": "EUR",
      "value": 499
    },
    "order": {
      "orderDescription": "Monthly subscription - Premium plan"
    },
    "settlementStrategy": {
      "settlementCurrency": "EUR"
    }
  }'
{
  "result": {
    "resultStatus": "S",
    "resultCode": "<string>",
    "resultMessage": "<string>"
  },
  "redirectUrl": "<string>",
  "appLinks": {
    "android": {
      "applicationId": "<string>",
      "bundleId": "<string>",
      "targetPath": "<string>",
      "shortUrl": "<string>"
    },
    "ios": {
      "applicationId": "<string>",
      "bundleId": "<string>",
      "targetPath": "<string>",
      "shortUrl": "<string>"
    }
  },
  "paymentId": "<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
productCode
string
required

Payment product type assigned by Rebell

paymentRequestId
string
required

Merchant-generated unique ID (idempotency key). Must be unique per transaction.

paymentAmount
object
required

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

order
object
settlementStrategy
object

Response

OK

result
object
required
redirectUrl
string

Deep link to open Rebell SuperApp directly

Platform-specific app link metadata

paymentId
string

Payment identifier to be used for inquiry or reconciliation