How fulfillment works

The fulfillment callback is used to:

  • Get a license key/activation code/serial number from a partner's server
  • Activate a license key to a partner's server

Nexway provides standard fulfillment client-side REST APIs with a predefined set of calls/actions and a common payload.

In this documentation, some words refer the same entity: Customer, Publisher, and Partner all mean "you".

Common payload/body "LicenseRequest"

The Nexway Monetize Platform will send a common payload called LicenseRequest Resource for all requested actions.

To ease the implementation on your side, you can see the swagger file and the associated swagger UI.

You can use the Swagger Editor to generate API server skeleton code for your language (PHP, java, etc.).

List of actions

Each action is associated with an event on the Nexway Monetize Platform. Some actions are only useful in a subscription context.

Action Event on Nexway side Endpoint called on your side Result
New Order is confirmed Activate or get a license key for a product
Cancel Order is canceled Cancel/Revoke a license key
Renew (subscription only) Renewal of subscription product Get a new key or extend key validity
Suspend (subscription only) Suspension of subscription product Suspend/Cancel a license key
Reactivate (subscription only) Reactivation of subscription product Reactivate a license key or get a new one

Sample fulfillment server

Nexway provides a sample fulfillment server for you to implement on your side to test expected behavior. Documentation is available here.