com.atiproto.payment.subscription.cancel

atiproto.com

{
  "id": "com.atiproto.payment.subscription.cancel",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "subscriptionUri"
          ],
          "properties": {
            "workflow": {
              "ref": "com.atiproto.actions#inboundWorkflow",
              "type": "ref",
              "description": "Workflow callback envelope. Present on agent-driven callbacks; absent on initial calls."
            },
            "subscriptionUri": {
              "type": "string",
              "format": "at-uri",
              "description": "AT-URI of the subscription to cancel"
            }
          }
        },
        "encoding": "application/json"
      },
      "output": {
        "schema": {
          "type": "object",
          "properties": {
            "workflow": {
              "ref": "com.atiproto.actions#outboundWorkflow",
              "type": "ref",
              "description": "Workflow envelope. When present, the agent runs the actions and calls back. When absent, this is the final native result."
            },
            "accessUntil": {
              "type": "string",
              "format": "datetime",
              "description": "Timestamp when access expires"
            },
            "subscription": {
              "ref": "com.atiproto.subscription#view",
              "type": "ref",
              "description": "Updated subscription record"
            },
            "subscriptionUri": {
              "type": "string",
              "format": "at-uri",
              "description": "URI of the updated subscription record"
            }
          }
        },
        "encoding": "application/json"
      },
      "description": "Cancel an active subscription"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against com.atiproto.payment.subscription.cancel

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:4x5dcv6u4wlkjcssto7f22nu
CID
bafyreigtxtdlre55nub4verzk4nzvwitj3i43qn3gj2h3qe47flfoxwake
Indexed At
2026-04-29 15:05 UTC
AT-URI
at://did:plc:4x5dcv6u4wlkjcssto7f22nu/com.atproto.lexicon.schema/com.atiproto.payment.subscription.cancel

Referenced Schemas (3)

Lexicon Garden

@