ResourceInfo
Resource information for x402 V2 In V2, resource metadata is a top-level field rather than being embedded in each payment requirement.
Properties
| Property | Type | Required | Description |
|---|---|---|---|
description |
string | Yes | Human-readable description of the resource |
mimeType |
string | Yes | MIME type of the resource response |
url |
string | Yes | URL of the resource being paid for |
View JSON Schema
{
"type": "object",
"description": "Resource information for x402 V2\n\nIn V2, resource metadata is a top-level field rather than being\nembedded in each payment requirement.",
"required": [
"url",
"description",
"mimeType"
],
"properties": {
"description": {
"type": "string",
"description": "Human-readable description of the resource"
},
"mimeType": {
"type": "string",
"description": "MIME type of the resource response"
},
"url": {
"type": "string",
"description": "URL of the resource being paid for"
}
}
}