GetSubscriptionPaymentsCount
Returns the count of subscription payment records, optionally filtered by subscriber, provider, or service.
Request
GET /nxt?requestType=getSubscriptionPaymentsCount
All endpoints use port 22024 by default.
Parameters
| Name | Type | Description | Required |
|---|---|---|---|
subscriber | string | Subscriber account ID or SHAMWARI address | No |
provider | string | Provider account ID or SHAMWARI address | No |
serviceId | string | Subscription service ID | No |
Response
{
"numberOfSubscriptionPayments": 128,
"errorCode": 0,
"errorDescription": ""
}
Example
curl "http://localhost:22024/nxt?requestType=getSubscriptionPaymentsCount"