Skip to content

Publish License

The License project is mainly carried out in scenarios such as Tool Authorization, Membership, and Recharge Credits.

iDataRiver provides merchants with license hosting services. Merchants do not need to manage licenses yourself. iDataRiver will do this for you, and provide API support for merchants with development capabilities.

How to use

  1. After the consumer pays for the order, licenses will be auto generated for shipment (each order is limited to 100 licenses)
  2. The consumer can use the license to redeem it at the merchant
  3. The merchant can check whether the license is valid and the business status
  4. After the merchant confirms that the license is correct, the merchant can activate it (that is, mark it as used)

Note

Activating the license on our platform only means marking the it as used, and the merchant still needs to redeem the consumer's license rights.

The license can only be activated once, and will be marked as USED.

Manage License

iDataRiver provides merchants with two ways to manage licenses

Business states of the license

In order to make the use of license more flexible, each license product can set its own Business states.

Business states will be returned when you query the license, so it can be used to save some business params.

Example

If your license is for the software usage time, you may want to know how many days of software usage time should be added by querying the license.

Or when your license business is your tool usage credits, you will want to know how many credits should be added by querying the license.

Regardless of the specific value of the time or credits, you can save it to the Business states of the license.

Note

Business states is publicly visible, so do not store private data.

Publish license project

Unlike digital goods, which requires uploading data assets first, the license type of goods will auto generate licenses, and the inventory quantity is set by the merchant.

Except for inventory customization and Business states, the rest of the logic is no different from publishing digital goods, so you can refer to the digital goods document completely.

Make things simple and timeproof.