Kobaru
    Kobaru
    • Kobaru.io Gateway API
      • Introduction
        • What is Kobaru?
        • Quick start
        • How x402 works
      • Integration
        • Standard x402 SDK
        • Advanced SDK
        • Transparent proxy integration
        • Direct API integration
      • Core Concepts
        • Available Chains and Assets
        • Payment schemes
        • Security
        • Usage models
      • Guides
        • Pricing your API
        • Going to Production
        • Testing with devnet
        • Bazaar discovery
      • API Reference
        • Error Handling
        • Get Supported Payment Kinds
        • Verify Payment Authorization
        • Settle Payment
      • Discovery
        • List Discovery Resources
      • Schemas
        • SupportedResponse
        • ErrorResponse
        • UnauthorizedResponse
        • RateLimitResponse
        • VerifySuccessResponse
        • VerifyErrorResponse
        • SettleSuccessResponse
        • SettleErrorResponse
        • DiscoveryResourceItem
        • ListDiscoveryResourcesResponse

    DiscoveryResourceItem

    {
        "resource": "https://api.example.com/weather",
        "type": "http",
        "method": "GET",
        "x402Version": 2,
        "accepts": [
            {
                "scheme": "exact",
                "network": "eip155:8453",
                "maxAmountRequired": "1000",
                "asset": "USDC",
                "payTo": "0x123...",
                "maxTimeoutSeconds": 60,
                "description": "Weather API access",
                "mimeType": "application/json",
                "outputSchema": {
                    "input": {
                        "method": "string",
                        "type": "string",
                        "queryParams": {
                            "property1": null,
                            "property2": null
                        },
                        "bodyFields": {
                            "property1": null,
                            "property2": null
                        },
                        "headers": {
                            "property1": null,
                            "property2": null
                        }
                    },
                    "output": {
                        "type": "string",
                        "properties": {
                            "property1": null,
                            "property2": null
                        },
                        "schema": {
                            "property1": null,
                            "property2": null
                        }
                    }
                },
                "extra": {
                    "property1": null,
                    "property2": null
                }
            }
        ],
        "lastUpdated": "2024-01-15T12:30:00.000Z",
        "provider": {
            "name": "string",
            "description": "string",
            "url": "string"
        },
        "metadata": {
            "type": "string",
            "method": "GET",
            "title": "string",
            "description": "string",
            "input": {
                "type": "string",
                "schema": {
                    "property1": null,
                    "property2": null
                }
            },
            "output": {
                "type": "string",
                "schema": {
                    "property1": null,
                    "property2": null
                }
            },
            "pricing": {
                "model": "string",
                "amount": "string",
                "asset": "string"
            },
            "tags": [
                "string"
            ],
            "provider": {
                "name": "string",
                "description": "string",
                "url": "string",
                "contact": "string"
            },
            "property1": null,
            "property2": null
        }
    }
    Built with