com.atiproto.payment.cart.get

Get a specific cart sent by the authenticated user, including resolved item and subscription records. One of `uri`, `itemUri`, or `subscriptionUri` is required.

Repository @atiproto.com did:plc:4x5dcv6u4wlkjcssto7f22nu namespace authority
Details · query
Kindquery
Authoritycart.payment.atiproto.com
Indexed

Query

query · GET

Parameters

query string

itemUri

string · at-uri

AT-URI of an item record. Returns the cart that contains this item. Ignored if uri is provided.

subscriptionUri

string · at-uri

AT-URI of a subscription record. Returns the cart that contains this subscription. Ignored if uri or itemUri is provided.

uri

string · at-uri

AT-URI of the cart record. Takes precedence over itemUri and subscriptionUri.

Output

application/json

cart

requiredref

The cart record data

checkoutUrl

string · uri

Checkout URL, only present when cart status is open

cid

string · cid

Cart record CID

items

requiredarray

Resolved item records referenced by this cart

itemsref

subscriptions

requiredarray

Resolved subscription records referenced by this cart

itemsref

uri

requiredstring · at-uri

Cart record URI

Side-effect workflow to sync server status with PDS status.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Get a cart that pays the authenticated user — a cart whose items target this user. Look up by cart URI, by a contained item record URI, or by a contained subscription record URI. One of `uri`, `itemUri`, or `subscriptionUri` is required.

  • List carts whose items pay the authenticated user — i.e. carts targeting this user as a payment recipient. Read-only, no PDS writes.

  • List carts created by the authenticated user.

  • A record representing a shopping cart for items/subscriptions

  • Get a specific subscription sent by the authenticated user. Looks up by subscription record uri or subject (recipient) DID. These are mutually exclusive; uri takes precedence.