Skip to main content

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​

NameTypeDescriptionRequired
subscriberstringSubscriber account ID or SHAMWARI addressNo
providerstringProvider account ID or SHAMWARI addressNo
serviceIdstringSubscription service IDNo

Response​

{
"numberOfSubscriptionPayments": 128,
"errorCode": 0,
"errorDescription": ""
}

Example​

curl "http://localhost:22024/nxt?requestType=getSubscriptionPaymentsCount"