Fulfillment sample Server

Sample fulfillment server is provided to allow to test the expected behaviour that you have to implement on your side.

Nexway Monetize platform's will post a LicenseRequest in JSON format filled with all needed information to process the request (new, renew, ...) during the purchase and/or subscription workflow.

Example of LicenseRequest

This is what you could receive to get an activation code for your software. Nexway Monetize will be able to deliver the activation to John Doe in the Order Confirmation's email.

You can try it here by using the Fulfillment Server Sample.

{
    "metadata": {
      "externalContext": "what-ever-coming-from-your-cart-url-and/or-your-product-definition",
      "order": "8f271701-7f73-4d35-8624-0cac91c923ea"
    },
    "product": {
          "nexwayFulfillmentId": "74cadfbb-c263-42a7-ab2d-b403a664bc43",
          "nexwayProductId": "81e1907e-80b7-4b44-a1f0-5daefb678757",
          "publisherProductId": "MS56493XT",
          "endDate": "20170513",
          "startDate": "20160514",
          "quantity": 1
    },
    "user": {
          "email": "jdoe@com2us.com",
          "firstName": "John",
          "lastName": "Doe",
          "companyName": "Doe Inc."
    }
}

List of available sample APIs

Operation HTTP Request Resource Request Description
licensesNew
POST /sample-fulfillment-provider/licenses/new
LicenseRequest Get a new activation code
licensesCancel
POST /sample-fulfillment-provider/licenses/cancel
LicenseRequest Cancel the given activation code
licensesRenew
POST /sample-fulfillment-provider/licenses/renew
LicenseRequest Get a new sample activation code
licensesSuspend
POST /sample-fulfillment-provider/licenses/suspend
LicenseRequest Suspend the given activation code
licensesReactivate
POST /sample-fulfillment-provider/licenses/reactivate
LicenseRequest Reactivate the given activation code
licensesPause
POST /sample-fulfillment-provider/licenses/pause
LicenseRequest Pause the given activation code