com.atiproto.payment.cart.list

List carts created by the authenticated user.

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

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "cartResponse": {
      "properties": {
        "cid": {
          "description": "CID of the cart record",
          "format": "cid",
          "type": "string"
        },
        "record": {
          "ref": "com.atiproto.cart#view",
          "type": "ref"
        },
        "uri": {
          "description": "AT-URI of the cart record",
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "uri",
        "cid",
        "record"
      ],
      "type": "object"
    },
    "main": {
      "description": "List carts created by the authenticated user.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "carts": {
              "items": {
                "ref": "#cartResponse",
                "type": "ref"
              },
              "type": "array"
            },
            "cursor": {
              "description": "Pagination cursor for next page",
              "maxLength": 512,
              "type": "string"
            }
          },
          "required": [
            "carts"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "description": "Pagination cursor",
            "maxLength": 512,
            "type": "string"
          },
          "limit": {
            "default": 20,
            "description": "Results per page (1-100, default: 20)",
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "status": {
            "description": "Filter by cart status",
            "enum": [
              "open",
              "completed",
              "expired",
              "abandoned"
            ],
            "maxLength": 64,
            "type": "string"
          },
          "subject": {
            "description": "Optional: only return carts whose items pay this recipient DID",
            "format": "did",
            "type": "string"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "com.atiproto.payment.cart.list",
  "lexicon": 1
}