com.atiproto.payment.cart.create

atiproto.com

{
  "id": "com.atiproto.payment.cart.create",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "currency"
          ],
          "properties": {
            "currency": {
              "type": "string",
              "maxLength": 3,
              "description": "ISO 4217 currency code"
            },
            "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 created cart record"
            },
            "cartUri": {
              "type": "string",
              "format": "at-uri",
              "description": "URI of the 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 hosted by atiproto"
            }
          }
        },
        "encoding": "application/json"
      },
      "description": "Create a new empty cart"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against com.atiproto.payment.cart.create

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:4x5dcv6u4wlkjcssto7f22nu
CID
bafyreiffjvfqbqdc7v7kcofgximbqs3ydb2crqbri4gq63674dj7eqxooa
Indexed At
2026-04-29 15:07 UTC
AT-URI
at://did:plc:4x5dcv6u4wlkjcssto7f22nu/com.atproto.lexicon.schema/com.atiproto.payment.cart.create

Referenced Schemas (3)

Lexicon Garden

@