{
"id": "com.atiproto.payment.subscription.validate",
"defs": {
"main": {
"type": "query",
"output": {
"schema": {
"type": "object",
"required": [
"valid"
],
"properties": {
"valid": {
"type": "boolean",
"description": "Whether the authed sender has an active, verified subscription"
},
"amount": {
"type": "integer",
"description": "Subscription amount in cents"
},
"reason": {
"type": "string",
"maxLength": 1024,
"description": "If invalid, reason for rejection"
},
"currency": {
"type": "string",
"maxLength": 3,
"description": "Currency of the subscription"
}
}
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"properties": {
"amount": {
"type": "integer",
"description": "Expected subscription amount in cents. If omitted, only checks that a subscription exists."
},
"subject": {
"type": "string",
"format": "did",
"description": "DID of the creator being subscribed to. Ignored if subscriptionUri is provided."
},
"subscriptionUri": {
"type": "string",
"format": "at-uri",
"description": "AT-URI of a specific subscription record. Takes precedence over subject."
}
}
},
"description": "Validate that the authenticated user (as the sender/subscriber) has an active, Stripe-verified subscription. Looks up by subscriptionUri (a specific subscription record) or subject (recipient DID). These are mutually exclusive; subscriptionUri takes precedence."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}
Metadata
- DID
-
did:plc:4x5dcv6u4wlkjcssto7f22nu
- CID
-
bafyreic26enay5exir6ek4uzh3v7kw2yhldes5ezsb4gkzdoeqyaxhnkje
- Indexed At
- 2026-04-29 15:05 UTC
- AT-URI
-
at://did:plc:4x5dcv6u4wlkjcssto7f22nu/com.atproto.lexicon.schema/com.atiproto.payment.subscription.validate