Api Endpoint

AIPayGen

Turn any text, URL, payment link, Wi-Fi login or contact card into a QR code. Returns an SVG (inline and as a data URI) plus, with include_matrix, the module matrix, with error-correction level L/M/Q/H, custom colors and quiet zone. Up to 2,000 bytes of data at levels L and M, 1,663 at Q, 1,273 at H.

Open interactive test console

Offering

Provider
aipaygen.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://aipaygen.com/v1/qr_code
MIME type
application/json
First seen
2026-11-16T17:39:40.763Z
Last seen
Tags
Utility, Data, developer

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0xebA22e8CD05Cb72A2F913099D6cCA666DD6D35B0"
  }
]

Observed health

Status
Healthy
Latest latency
2707 ms
Average latency
818 ms
HTTP status
402
Last checked
Reachability
100% over 4 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET",
        "HEAD",
        "DELETE"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "data": {
          "type": "string",
          "minLength": 1,
          "maxLength": 2000,
          "description": "What to encode, e.g. \"https://aipaygen.com\" or \"WIFI:T:WPA;S:MyNet;P:secret;;\"."
        },
        "ecc": {
          "description": "Error correction: L 7%, M 15% (default), Q 25% (max 1,663 bytes), H 30% (max 1,273 bytes; use H if you'll overlay a logo).",
          "type": "string",
          "enum": [
            "L",
            "M",
            "Q",
            "H"
          ]
        },
        "dark": {
          "description": "Foreground hex color, default \"#000000\".",
          "type": "string",
          "pattern": "^#[0-9a-f]{3}([0-9a-f]{3})?$"
        },
        "light": {
          "description": "Background hex color, default \"#ffffff\".",
          "type": "string",
          "pattern": "^#[0-9a-f]{3}([0-9a-f]{3})?$"
        },
        "border": {
          "description": "Quiet-zone modules around the code (default 4; scanners need at least 2).",
          "type": "integer",
          "minimum": 0,
          "maximum": 10
        },
        "include_matrix": {
          "description": "Also return the matrix as rows of 0/1 strings.",
          "type": "boolean"
        }
      },
      "required": [
        "data"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object"
    }
  },
  "required": [
    "type"
  ]
}