{"lexicon":1,"id":"money.atmosphere.payment.listSubscriptions","defs":{"subscription":{"type":"object","required":["paymentId","recipientDid","originatorDid","amountCents","currency","status","createdAt"],"properties":{"paymentId":{"type":"string","maxLength":128},"recipientDid":{"type":"string","format":"did"},"originatorDid":{"type":"string","format":"did"},"amountCents":{"type":"integer"},"currency":{"type":"string","minLength":3,"maxLength":3},"interval":{"type":"string","knownValues":["month","quarter","year"],"maxLength":16},"status":{"type":"string","maxLength":64},"metadata":{"type":"unknown","description":"Sanitized public display hints only. Raw app metadata, buyer notes, private messages, emails, addresses, and fulfillment data are not returned."},"entitlements":{"type":"array","items":{"type":"ref","ref":"com.atproto.repo.strongRef"}},"listing":{"type":"ref","ref":"com.atproto.repo.strongRef"},"createdAt":{"type":"string","format":"datetime"}}},"main":{"type":"query","description":"List active subscriptions for the authenticated payer. Requires a service-auth JWT signed by the payer DID.","parameters":{"type":"params","properties":{"status":{"type":"string","knownValues":["active","all"],"maxLength":16},"limit":{"type":"integer","minimum":1,"maximum":100,"default":50},"cursor":{"type":"string","maxLength":512}}},"output":{"encoding":"application/json","schema":{"type":"object","required":["subscriptions"],"properties":{"subscriptions":{"type":"array","items":{"type":"ref","ref":"#subscription"}},"cursor":{"type":"string","maxLength":512}}}}}}}