GetSubscriptionService
Retrieves a single subscription service by its transaction ID.
Request
GET /nxt?requestType=getSubscriptionService
All endpoints use port 22024 by default.
Parameters
| Name | Type | Description | Required |
|---|---|---|---|
serviceId | string | Subscription service ID (unsigned long) | Yes |
Response
{
"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=getSubscriptionService&serviceId=9876543210123456789"