Opts the link into the public x402 payable index, where agents discover and pay it. The link stays payable by anyone holding its URL either way; listing only decides whether a discovery reader 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/payment-links/string/list"{ "id": "string", "kind": "string", "merchant": { "id": "string", "name": "string", "city": "string", "countryCode": "string", "categoryCode": "string" }, "amount": { "amount": "string", "asset": "string", "formatted": "string", "display": "string" }, "currency": "string", "lines": [ { "productId": "string", "quantity": 0 } ], "title": "string", "merchantReference": "string", "metadata": { "property1": "string", "property2": "string" }, "url": "string", "payable": true, "listed": true, "expiresAt": "string", "disabledAt": "string", "createdAt": "string", "updatedAt": "string", "version": 0}