com.atiproto.payment.subscription.put

atiproto.com

Documentation

Update a pending subscription. Only pending subscriptions can be updated.

main procedure

Update a pending subscription. Only pending subscriptions can be updated.

Input

Encodingapplication/json
uri stringat-uri Required

AT-URI of the subscription record to update

Output

Encodingapplication/json
cid stringcid Optional

New CID of the updated record

uri stringat-uri Optional

Updated subscription record URI

Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://bsky.social)
Enter valid JSON for the request body
View raw schema
{
  "type": "procedure",
  "input": {
    "schema": {
      "type": "object",
      "required": [
        "uri",
        "record"
      ],
      "properties": {
        "uri": {
          "type": "string",
          "format": "at-uri",
          "description": "AT-URI of the subscription record to update"
        },
        "record": {
          "ref": "com.atiproto.subscription",
          "type": "ref"
        },
        "workflow": {
          "ref": "com.atiproto.actions#inboundWorkflow",
          "type": "ref",
          "description": "Workflow callback envelope. Present on agent-driven callbacks; absent on initial calls."
        }
      }
    },
    "encoding": "application/json"
  },
  "output": {
    "schema": {
      "type": "object",
      "properties": {
        "cid": {
          "type": "string",
          "format": "cid",
          "description": "New CID of the updated record"
        },
        "uri": {
          "type": "string",
          "format": "at-uri",
          "description": "Updated subscription record URI"
        },
        "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."
        }
      }
    },
    "encoding": "application/json"
  },
  "description": "Update a pending subscription. Only pending subscriptions can be updated."
}

Lexicon Garden

@