com.atiproto.payment.cart.clone
Clone an existing cart, creating new item and subscription records. Useful for reopening expired carts or repeating payments.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | cart.payment.atiproto.com |
| Indexed |
Procedure
procedure · POSTInput
application/jsonredirectUrl
string · uriURI to redirect to after checkout is complete/cancelled
AT-URI of the cart to clone
workflow
refWorkflow callback envelope. Present on agent-driven callbacks; absent on initial calls.
Output
application/jsoncart
refThe new cart record
cartUri
string · at-uriURI of the new cart record
checkoutUrl
string · uriCheckout URL for the new cart
items
arrayNewly created item records
subscriptions
arrayNewly created subscription records
workflow
refWorkflow envelope. When present, the agent runs the actions and calls back. When absent, this is the final native result.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
com.atiproto.payment.cart.create
procedureCreate a new empty cart
-
com.atiproto.payment.cart.put
procedureUpdate a cart. Only open carts can be updated.
-
Get a specific cart sent by the authenticated user, including resolved item and subscription records. One of `uri`, `itemUri`, or `subscriptionUri` is required.
-
com.atiproto.payment.item.create
procedureCreate a item on a DID or specific record. Creates or adds to a cart and returns a checkout URL.
-
com.atiproto.payment.subscription.create
procedureCreate a subscription to a user. Returns a one-off cart with checkout URL.