Skip to main content
POST /v1/payments/linkPayCreate Creates an order for merchant mobile-website or app cashier payment and returns a payment link. The API performs two steps: it creates the order and, if that succeeds, generates the payment link (plus platform-specific app links for the Rebell App Cashier).

Request Parameters

string
required
Fixed product code provided by Rebell (the exact value is provided during the SIT stage):
  • Mobile Website product, e.g. 51051000101000100054
  • Rebell App Cashier product, e.g. 51051000101000100086
Max length: 32 characters
object
required
Merchant order details.
string
Payment result notification URL. When the payment succeeds or the order is closed, Rebell notifies the result to this URL (see notifyPayment). Whether a notification is sent depends on the merchant’s contract.Max length: 1024 characters
string
Merchant-defined URL opened after a successful payment. The Rebell app opens it in the phone’s default browser.Max length: 1024 characters
string
JSON-formatted extended data. Supported keys:
  • channelSource: MERCHANT_MP, MERCHANT_APP, MOBILE_H5, WEBSIT_H5, INSTORE
  • miniAppId
Example: "{\"channelSource\":\"MOBILE_H5\",\"miniAppId\":\"12312312312\"}"Max length: 2048 characters

Response Parameters

object
required
Standard result object with resultCode, resultStatus, resultMessage
string
Payment page URL. Returned if the merchant has signed the Rebell App Cashier contract.Max length: 1024 characters
string
required
Echo of the merchant-provided transaction identifier.
string
Rebell-generated unique ID of the payment order.Max length: 64 characters
App link information for the merchant SDK. Returned if the merchant has signed the Rebell App Cashier contract.

Result Codes

Sample

Request

Response