Documentation Index
Fetch the complete documentation index at: https://docs-alpha.pepay.io/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Search returns product results you can use to build discovery and browsing experiences. Results typically include enough metadata to render a product card (title, image, price) and aproductId you can use for product details and checkout flows.
Authentication
Requiresx-commerce-api-key.
Request
Endpoint:GET /api/commerce/search
Response
Errors
400invalid search parameters401missing/invalid commerce auth
Examples
- Next step for purchases: fetch product offers, then create a Checkout invoice (optionally via Merchant carts for server-managed flows).

