> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stellarx402.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Resolve one discovered resource



## OpenAPI

````yaml /openapi.json get /discovery/resource
openapi: 3.1.0
info:
  title: openx402 Facilitator API
  version: 0.1.0
  description: >-
    HTTP, Bazaar discovery, analytics, and facilitator endpoints for openx402 on
    Stellar. This production API playground targets the public hosted testnet
    facilitator. Self-hosted operators can copy this specification and replace
    the server URL.
servers:
  - url: https://facilitator-production-8430.up.railway.app
    description: Hosted Stellar testnet preview
security: []
tags:
  - name: Health
    description: Liveness and readiness checks.
  - name: Facilitator
    description: x402 verification, settlement, and supported capabilities.
  - name: Bazaar discovery
    description: Public catalog browsing and ranked search.
  - name: Analytics
    description: Operator analytics. Fields and access depend on deployment configuration.
paths:
  /discovery/resource:
    get:
      tags:
        - Bazaar discovery
      summary: Resolve one discovered resource
      operationId: getDiscoveryResource
      parameters:
        - $ref: '#/components/parameters/TypeRequired'
        - $ref: '#/components/parameters/ResourceUrl'
        - $ref: '#/components/parameters/ToolName'
      responses:
        '200':
          description: The current resource and payment options.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SingleDiscoveryResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  parameters:
    TypeRequired:
      name: type
      in: query
      required: true
      schema:
        type: string
        enum:
          - http
          - mcp
    ResourceUrl:
      name: url
      in: query
      required: true
      schema:
        type: string
        format: uri
        example: https://api.example.com/weather
    ToolName:
      name: toolName
      in: query
      schema:
        type: string
        example: get_weather
  schemas:
    SingleDiscoveryResponse:
      type: object
      required:
        - x402Version
        - resource
      properties:
        x402Version:
          type: integer
          example: 2
        resource:
          $ref: '#/components/schemas/DiscoveryResource'
    DiscoveryResource:
      type: object
      required:
        - resource
        - type
        - x402Version
        - accepts
      properties:
        resource:
          type: string
          format: uri
        type:
          type: string
          enum:
            - http
            - mcp
        x402Version:
          type: integer
          example: 2
        accepts:
          type: array
          items:
            $ref: '#/components/schemas/PaymentAccept'
        lastUpdated:
          type: string
          format: date-time
        description:
          type: string
        serviceName:
          type: string
        tags:
          type: array
          items:
            type: string
        extensions:
          type: object
          additionalProperties: true
      additionalProperties: true
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: string
        details:
          type: array
          items:
            type: string
      additionalProperties: true
    PaymentAccept:
      type: object
      additionalProperties: true
      properties:
        scheme:
          type: string
        network:
          type: string
        asset:
          type: string
        amount:
          type: string
        payTo:
          type: string
  responses:
    BadRequest:
      description: Invalid request or filter.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    NotFound:
      description: No matching catalog resource was found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'

````