Skip to main content
POST
Create or initialize cart

Authorizations

x-commerce-api-key
string
header
required

Legacy alias for commerce-scoped API keys. Prefer x-api-key with scope=commerce.

Body

application/json
wallet_address
string
Pattern: ^0x[a-fA-F0-9]{40}$
wallet_network
enum<string>
Available options:
ethereum,
bsc,
base,
solana
customer_id
string
Maximum string length: 255
item
object

Response

Cart created successfully

success
boolean
Example:

true

message
string
data
object

Initialized cart snapshot