com.atiproto.payment.cart.create
Create a new empty cart
Details · procedure
| Kind | procedure |
|---|---|
| Authority | cart.payment.atiproto.com |
| Indexed |
Procedure
procedure · POSTInput
application/jsonISO 4217 currency code
maxLength: 3
redirectUrl
string · uriURI to redirect to after checkout is complete/cancelled
workflow
refWorkflow callback envelope. Present on agent-driven callbacks; absent on initial calls.
Output
application/jsoncart
refThe created cart record
cartUri
string · at-uriURI of the cart record
checkoutUrl
string · uriCheckout URL hosted by atiproto
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.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.cart.clone
procedureClone an existing cart, creating new item and subscription records. Useful for reopening expired carts or repeating payments.
-
com.atiproto.payment.subscription.create
procedureCreate a subscription to a user. Returns a one-off cart with checkout URL.
-
com.atiproto.payment.cart.put
procedureUpdate a cart. Only open carts can be updated.