XDC AI · Schema
GetX402ResourceResponse
Artificial IntelligencePaymentsBlockchainAutonomous AgentsXDCNetwork
Properties
| Name | Type | Description |
|---|---|---|
| 402 | string | Payment Required challenge containing the payment requirements. |
| accepts | array | List of payment options offered by the service. |
| accepts[].scheme | string | Payment scheme, e.g., "exact". |
| accepts[].network | string | Network identifier, e.g., "xdc" for v1 or "eip155:50" for v2. |
| accepts[].maxAmountRequired | string | Maximum amount required in base units (v1). |
| accepts[].amount | string | Exact amount required in base units (v2). |
| accepts[].payTo | string | Recipient address to receive the USDC payment. |
| accepts[].asset | string | Asset contract address (USDC). |
| accepts[].maxTimeoutSeconds | integer | Maximum time the payment authorization is valid. |
| accepts[].extra | object | Additional metadata. |
| accepts[].extra.name | string | Asset name, e.g., "USDC". |
| accepts[].extra.version | string | Asset version. |
| accepts[].extra.assetTransferMethod | string | Transfer method, e.g., "eip3009" (present in v2 entry). |
| 200 | string | Successful response with the requested data after payment settlement. |
| X-PAYMENT-RESPONSE | string | Receipt header containing settlement confirmation (v1). |
| PAYMENT-RESPONSE | string | Receipt header containing settlement confirmation (v2). |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/xdcai-tech/json-schema/xdcai-tech-get-x402-resource-response-schema.json",
"title": "GetX402ResourceResponse",
"x-generated": "2026-11-29",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/_ae-authored/xdcai-tech-openapi-generated.yml#/components/schemas/GetX402ResourceResponse",
"type": "object",
"properties": {
"402": {
"type": "string",
"description": "Payment Required challenge containing the payment requirements."
},
"accepts": {
"type": "array",
"description": "List of payment options offered by the service."
},
"accepts[].scheme": {
"type": "string",
"description": "Payment scheme, e.g., \"exact\"."
},
"accepts[].network": {
"type": "string",
"description": "Network identifier, e.g., \"xdc\" for v1 or \"eip155:50\" for v2."
},
"accepts[].maxAmountRequired": {
"type": "string",
"description": "Maximum amount required in base units (v1)."
},
"accepts[].amount": {
"type": "string",
"description": "Exact amount required in base units (v2)."
},
"accepts[].payTo": {
"type": "string",
"description": "Recipient address to receive the USDC payment."
},
"accepts[].asset": {
"type": "string",
"description": "Asset contract address (USDC)."
},
"accepts[].maxTimeoutSeconds": {
"type": "integer",
"description": "Maximum time the payment authorization is valid."
},
"accepts[].extra": {
"type": "object",
"description": "Additional metadata."
},
"accepts[].extra.name": {
"type": "string",
"description": "Asset name, e.g., \"USDC\"."
},
"accepts[].extra.version": {
"type": "string",
"description": "Asset version."
},
"accepts[].extra.assetTransferMethod": {
"type": "string",
"description": "Transfer method, e.g., \"eip3009\" (present in v2 entry)."
},
"200": {
"type": "string",
"description": "Successful response with the requested data after payment settlement."
},
"X-PAYMENT-RESPONSE": {
"type": "string",
"description": "Receipt header containing settlement confirmation (v1)."
},
"PAYMENT-RESPONSE": {
"type": "string",
"description": "Receipt header containing settlement confirmation (v2)."
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/xdcai-tech-get-x402-resource-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.