com.atiproto.payment.item.put
Update a pending item. Only pending items can be updated.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | item.payment.atiproto.com |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Update a pending item. Only pending items can be updated.",
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"record": {
"ref": "com.atiproto.item",
"type": "ref"
},
"uri": {
"description": "AT-URI of the item record to update",
"format": "at-uri",
"type": "string"
},
"workflow": {
"description": "Workflow callback envelope. Present on agent-driven callbacks; absent on initial calls.",
"ref": "com.atiproto.actions#inboundWorkflow",
"type": "ref"
}
},
"required": [
"uri",
"record"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cid": {
"description": "New CID of the updated record",
"format": "cid",
"type": "string"
},
"uri": {
"description": "Updated item record URI",
"format": "at-uri",
"type": "string"
},
"workflow": {
"description": "Workflow envelope. When present, the agent runs the actions and calls back. When absent, this is the final native result.",
"ref": "com.atiproto.actions#outboundWorkflow",
"type": "ref"
}
},
"type": "object"
}
},
"type": "procedure"
}
},
"id": "com.atiproto.payment.item.put",
"lexicon": 1
}