XGuard Settle API

The Settle API from XGuard — 1 operation(s) for settle.

Operations 1

POST /settle Firewall-check, route and settle an x402 payment with replay protection and… #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/xguardgate-com:xguardgate-com-settle-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

xguardgate-com-settle-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: XGuard Universal Paid AI Agent + Secretless Gateway Settle…
  version: 5.1.0
  description: Describe a supported outcome. Receive normalized results or an exact x402 price, then authorize and retry the same request. Start with intent:demo for free.
servers:
- url: https://api.xguardgate.com
tags:
- name: Settle
paths:
  /settle:
    post:
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - paymentPayload
              - paymentRequirements
              properties:
                x402Version:
                  const: 2
                paymentPayload:
                  type: object
                  required:
                  - x402Version
                  - accepted
                  - payload
                  properties:
                    x402Version:
                      const: 2
                    accepted:
                      type: object
                    payload:
                      type: object
                paymentRequirements:
                  type: object
                  required:
                  - scheme
                  - network
                  - asset
                  - payTo
                  - amount
      summary: Firewall-check, route and settle an x402 payment with replay protection and…
      responses:
        '200':
          description: Settlement result
        '400':
          description: Blocked by XGuard payment firewall
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicError'
        '402':
          description: XGuard usage credits required after free allowance
        '409':
          description: Request rejected with repair instructions; no automatic retry of ambiguous settlement.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicError'
        '413':
          description: Request rejected with repair instructions; no automatic retry of ambiguous settlement.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicError'
        '429':
          description: Request rejected with repair instructions; no automatic retry of ambiguous settlement.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicError'
        '503':
          description: Request rejected with repair instructions; no automatic retry of ambiguous settlement.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicError'
      description: Send the full x402 v2 paymentPayload and paymentRequirements on each request. payment_payload/payment and payment_requirements/requirements are accepted aliases; an encoded Payment-Signature value may supply the payload. Conflicting aliases are rejected. A prior verification response or client trust flag cannot authorize settlement.
      tags:
      - Settle
      operationId: postSettle
      x-operation-id-source: derived
components:
  schemas:
    PublicError:
      type: object
      required:
      - ok
      - error
      - error_code
      - request_id
      - next
      properties:
        ok:
          const: false
        error_code:
          type: string
        request_id:
          type: string
        next:
          type: object
        error:
          type: object
          required:
          - code
          - message
          - retryable
          - docs
          properties:
            code:
              type: string
            message:
              type: string
            field:
              type: string
            required_fields:
              type: array
              items:
                type: string
            retryable:
              type: boolean
            docs:
              type: string
              format: uri
            example:
              type: object