NexusAPI IntegrationCreate Product License

Nexus Integrations / API / Roblox Integration

Create Product License

Create a license entitlement for a published license product.

1. Endpoint

POSThttps://api.gpirblx.com/api/v1/products/{Product-Id}/licenses

Creates a license entitlement for a Roblox user when the product is configured as a license.

AuthenticationBearer API key
Accessorders:create

2. Parameters

NameLocationRequiredDescription
productIdPathYesThe Nexus license product ID.
storeIdBodyYesThe store ID used by the integration key.
user_idBodyYesThe Roblox user ID receiving the license.
purchase_priceBodyYesThe purchase price as a non-negative number.

3. Request

When sending JSON, include the following request body:

{
  "storeId": "STORE_ID",
  "user_id": "123456789",
  "purchase_price": 100
}

Example request:

curl -X POST "https://api.gpirblx.com/api/v1/products/PRODUCT_ID/licenses" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"storeId":"STORE_ID","user_id":"123456789","purchase_price":100}'

4. Response

Successful response:

{
  "success": true,
  "data": {
    "entitlementId": "entitlement_id",
    "productId": "PRODUCT_ID",
    "userId": "nexus_user_id",
    "status": "ACTIVE"
  }
}