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.
Authorization
secretKey AuthorizationBearer <token>
Server-side sk_ key. Grants a subset of the merchant's permissions.
In: header
Path Parameters
id*string
Response Body
application/json
application/json
curl -X POST "https://example.com/v1/x402/resources/string/list"{ "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 } } ]}