Authorization
secretKey Server-side sk_ key. Grants a subset of the merchant's permissions.
In: header
Path Parameters
Response Body
application/json
application/json
curl -X POST "https://example.com/v1/x402/resources/string/unlist"{ "id": "string", "merchantId": "string", "url": "string", "description": "string", "mimeType": "string", "price": { "amount": "string", "asset": "string", "formatted": "string", "display": "string" }, "maxTimeoutSeconds": 0, "listed": true, "accepts": [ { "chain": "string", "asset": "string", "contract": "string", "payTo": "string", "transferMethod": "string", "domain": { "property1": null, "property2": null } } ]}List a resource in the public index
Opts the resource into the public cross-merchant x402 index. The resource stays sellable by URL either way; listing only decides whether an agent browsing the index is shown it.
What is for sale, across every merchant
The cross-merchant discovery index: every resource a merchant has opted into the public index, newest first. Pass `merchant` instead to read one merchant's resources — the per-merchant read is not paginated and is not limited to listed ones. Nothing is listed by default. Listing only decides whether a discovery reader is shown a resource; an unlisted resource is still payable by anyone holding its URL, because the URL is the access control.