Skip to main content

GetSubscriptionServices

Lists subscription services with optional filtering by provider, search query, and deleted status.

Request

GET /nxt?requestType=getSubscriptionServices

All endpoints use port 22024 by default.

Parameters

NameTypeDescriptionRequired
providerstringProvider account ID or SHAMWARI addressNo
querystringFull-text search stringNo
includeDeletedbooleanInclude discontinued services (default false)No
firstIndexintPagination startNo
lastIndexintPagination endNo

Response

{
"services": [
{
"service": "9876543210123456789",
"name": "Premium Service",
"description": "Premium subscription",
"provider": "1234567890123456789",
"providerRS": "SHAMWARI-ABCD-EFGH-IJKL-MNOPQ",
"holdingId": "1234567890123456789",
"holdingType": 1,
"plans": [
{
"plan": "Basic",
"description": "Basic plan",
"duration": 30,
"amountQNT": "100000000"
}
],
"deleted": false
}
],
"errorCode": 0,
"errorDescription": ""
}

Example

curl "http://localhost:22024/nxt?requestType=getSubscriptionServices&provider=SHAMWARI-ABCD-EFGH-IJKL-MNOPQ"