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
| Name | Type | Description | Required |
|---|---|---|---|
provider | string | Provider account ID or SHAMWARI address | No |
query | string | Full-text search string | No |
includeDeleted | boolean | Include discontinued services (default false) | No |
firstIndex | int | Pagination start | No |
lastIndex | int | Pagination end | No |
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"