mayarin
GET
/v1/x402/resources

Authorization

secretKey
AuthorizationBearer <token>

Server-side sk_ key. Grants a subset of the merchant's permissions.

In: header

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/x402/resources"
{  "resources": [    {      "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          }        }      ]    }  ]}