{
"id": "com.atiproto.payment.cart.clone",
"defs": {
"main": {
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"uri"
],
"properties": {
"uri": {
"type": "string",
"format": "at-uri",
"description": "AT-URI of the cart to clone"
},
"workflow": {
"ref": "com.atiproto.actions#inboundWorkflow",
"type": "ref",
"description": "Workflow callback envelope. Present on agent-driven callbacks; absent on initial calls."
},
"redirectUrl": {
"type": "string",
"format": "uri",
"description": "URI to redirect to after checkout is complete/cancelled"
}
}
},
"encoding": "application/json"
},
"output": {
"schema": {
"type": "object",
"properties": {
"cart": {
"ref": "com.atiproto.cart#view",
"type": "ref",
"description": "The new cart record"
},
"items": {
"type": "array",
"items": {
"ref": "com.atiproto.item#view",
"type": "ref"
},
"description": "Newly created item records"
},
"cartUri": {
"type": "string",
"format": "at-uri",
"description": "URI of the new cart record"
},
"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."
},
"checkoutUrl": {
"type": "string",
"format": "uri",
"description": "Checkout URL for the new cart"
},
"subscriptions": {
"type": "array",
"items": {
"ref": "com.atiproto.subscription#view",
"type": "ref"
},
"description": "Newly created subscription records"
}
}
},
"encoding": "application/json"
},
"description": "Clone an existing cart, creating new item and subscription records. Useful for reopening expired carts or repeating payments."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}
Metadata
- DID
-
did:plc:4x5dcv6u4wlkjcssto7f22nu
- CID
-
bafyreieh7jjnk6dg4oirb4lyqsfreachxc7lb4k7upev4bztd3a5xjxahq
- Indexed At
- 2026-04-29 15:07 UTC
- AT-URI
-
at://did:plc:4x5dcv6u4wlkjcssto7f22nu/com.atproto.lexicon.schema/com.atiproto.payment.cart.clone