NexusAPI IntegrationRecord Roblox Purchase

Nexus Integrations / API / Roblox Integration

Record Roblox Purchase

Tell Nexus that Roblox has accepted a purchase so Nexus can create the order and entitlement.

1. Endpoint

POSThttps://api.gpirblx.com/api/v1/stores/@me/purchases

Records a ProcessReceipt purchase. Nexus uses the product price and ignores client-supplied price changes.

AuthenticationBearer API key
Accessorders:create

2. Parameters

NameLocationRequiredDescription
storeIdBodyYesThe store ID used by the Roblox integration.
user_idBodyYesThe Roblox buyer ID.
product_idBodyYesThe Nexus product ID.
purchase_idBodyYesThe unique Roblox purchase ID.

3. Request

When sending JSON, include the following request body:

{
  "storeId": "STORE_ID",
  "user_id": "123456789",
  "product_id": "PRODUCT_ID",
  "purchase_id": "ROBLOX_PURCHASE_ID"
}

Example request:

curl -X POST "https://api.gpirblx.com/api/v1/stores/@me/purchases" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"storeId":"STORE_ID","user_id":"123456789","product_id":"PRODUCT_ID","purchase_id":"ROBLOX_PURCHASE_ID"}'

4. Response

Successful response:

{
  "purchaseId": "ROBLOX_PURCHASE_ID",
  "alreadyProcessed": false,
  "order": { "id": "order_id", "status": "DELIVERED" },
  "entitlement": { "id": "entitlement_id", "status": "ACTIVE" }
}