Skip to main content

GetSubscriptionPayments

Lists subscription payment records with optional filtering by subscriber, provider, and service.

Request

GET /nxt?requestType=getSubscriptionPayments

All endpoints use port 22024 by default.

Parameters

NameTypeDescriptionRequired
subscriberstringSubscriber account ID or SHAMWARI addressNo
providerstringProvider account ID or SHAMWARI addressNo
serviceIdstringSubscription service IDNo
firstIndexintPagination startNo
lastIndexintPagination endNo

Response

{
"payments": [
{
"payment": "1234567890123456789",
"service": "9876543210123456789",
"subscriber": "1234567890123456789",
"subscriberRS": "SHAMWARI-ABCD-EFGH-IJKL-MNOPQ",
"provider": "9876543210123456789",
"providerRS": "SHAMWARI-WXYZ-ABCD-EFGH-IJKLM",
"plan": "Basic",
"amountQNT": "100000000",
"timestamp": 1700000000
}
],
"errorCode": 0,
"errorDescription": ""
}

Example

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