POST /v1/entitlements/purchase-context:check
EntitlementService_GetPurchaseContext
The server validates credentials, tenant, environment and permissions. This page does not send requests. Replace example values; deployed server validation remains authoritative.
Parameters
No path or query parameters.
Request body
actionstringbusiness_idstringcapability_idstringcustomer_account_idstringproduct_idstringresource_idstring
cURL
curl --request POST 'https://pay.bytecome.com/v1/entitlements/purchase-context:check' \
--header 'Authorization: Bearer <NEXUS_ACCESS_TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
"product_id": "<product-id>",
"resource_id": "<delivery-resource-id>",
"action": "read"
}'Response contract
200 · OK
accessobjectExpand fields
allowedbooleandecision_idstringgrant_idstringreasonstringsubject_user_idstringusage_scopestringvalid_tostring
access_checkedbooleanaccountsarrayExpand fields
idstringnamestring
can_usebooleancheckout_pathstringcontext_idstringcustomer_account_idstringnext_actionstringpending_order_idstringproduct_idstringpurchasablebooleanpurchase_statusstringreasonstringstorefront_pathstringsubject_user_idstring
Generated responses do not enumerate every runtime error. See the integration guide for authentication, conflicts and retries.