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
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
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
Merchant-defined URL opened after a successful payment. The Rebell app opens it in the phone’s default browser.Max length: 1024 characters
JSON-formatted extended data. Supported keys:
channelSource:MERCHANT_MP,MERCHANT_APP,MOBILE_H5,WEBSIT_H5,INSTOREminiAppId
"{\"channelSource\":\"MOBILE_H5\",\"miniAppId\":\"12312312312\"}"Max length: 2048 charactersResponse Parameters
Payment page URL. Returned if the merchant has signed the Rebell App Cashier contract.Max length: 1024 characters
App link information for the merchant SDK. Returned if the merchant has signed the Rebell App Cashier contract.