com.atiproto.payment.subscription.get
Get a specific subscription sent by the authenticated user. Looks up by subscription record uri or subject (recipient) DID. These are mutually exclusive; uri takes precedence.
Details · query
| Kind | query |
|---|---|
| Authority | subscription.payment.atiproto.com |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Get a specific subscription sent by the authenticated user. Looks up by subscription record uri or subject (recipient) DID. These are mutually exclusive; uri takes precedence.",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"subscription": {
"description": "The subscription record data",
"ref": "com.atiproto.subscription#view",
"type": "ref"
}
},
"required": [
"subscription"
],
"type": "object"
}
},
"parameters": {
"properties": {
"subject": {
"description": "DID of the user being subscribed to. Ignored if uri is provided.",
"format": "did",
"type": "string"
},
"uri": {
"description": "AT-URI of the subscription record. Takes precedence over subject.",
"format": "at-uri",
"type": "string"
}
},
"type": "params"
},
"type": "query"
}
},
"id": "com.atiproto.payment.subscription.get",
"lexicon": 1
}