{
  "generated_at": "2026-04-24T15:01:35.625676+00:00",
  "slug": "gateway-spraay-app-api-v1-invoice-create",
  "title": "Spraay \u00b7 Create Invoice",
  "url": "https://gateway.spraay.app/api/v1/invoice/create",
  "category": "finance",
  "summary": "Generate a new invoice specifying creator address, token, and amount for settlement.",
  "seo": {
    "title": "Spraay Invoice Creation API - x402 0.005 USDC",
    "description": "Create crypto invoices with payment transactions via x402. Pay 0.005 USDC on Base. Invoice ID returned on creation."
  },
  "use_cases": [
    "Automate billing for agent services",
    "Create payment requests for DAO contributions",
    "Streamline B2B crypto invoicing workflows"
  ],
  "ideal_buyer": "Service marketplaces and DAOs needing programmable invoice generation with on-chain settlement.",
  "example_prompt": "Create an invoice for 100 USDC from creator 0x123...",
  "example_request_body": {
    "token": "USDC",
    "amount": "100",
    "creator": "0x1234567890123456789012345678901234567890"
  },
  "risk_notes": [],
  "pricing_sanity": {
    "flag": "cheap",
    "ratio": 0.167,
    "median_category_atomic": 30000
  },
  "pricing_review_required": false,
  "pricing_decimal_suspect": false,
  "trust_tier": "indexed_external",
  "accepts": [
    {
      "scheme": "exact",
      "network": "base",
      "pay_to": "0xad62f03c7514bb8c51f1ea70c2b75c37404695c8",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "max_amount_required_atomic": "5000",
      "max_timeout_seconds": 300,
      "mime_type": "application/json",
      "description": "Create invoice with payment tx.",
      "verified": false,
      "hints": {
        "input": {
          "body": {
            "required": [
              "creator",
              "token",
              "amount"
            ],
            "properties": {
              "token": {
                "type": "string"
              },
              "amount": {
                "type": "string"
              },
              "creator": {
                "type": "string"
              }
            }
          },
          "type": "http",
          "method": "POST",
          "bodyType": "json"
        },
        "output": {
          "type": "json",
          "example": {
            "status": "created",
            "invoice": {
              "id": "INV-A1B2"
            }
          }
        }
      }
    }
  ],
  "origin": {
    "slug": "gateway-spraay-app",
    "host": "gateway.spraay.app",
    "url": "https://gateway.spraay.app"
  },
  "json_ld": {
    "@id": "https://x402all.com/resource/gateway-spraay-app-api-v1-invoice-create",
    "url": "https://x402all.com/resource/gateway-spraay-app-api-v1-invoice-create",
    "name": "Spraay \u00b7 Create Invoice",
    "@type": "WebAPI",
    "offers": {
      "url": "https://x402all.com/resource/gateway-spraay-app-api-v1-invoice-create",
      "@type": "Offer",
      "price": "0.005",
      "availability": "https://schema.org/InStock",
      "priceCurrency": "USDC",
      "priceSpecification": {
        "@type": "UnitPriceSpecification",
        "price": "0.005000",
        "unitText": "call",
        "priceCurrency": "USDC"
      },
      "eligibleCustomerType": "Agent",
      "additionalProperty": [
        {
          "@type": "PropertyValue",
          "name": "paymentNetwork",
          "value": "base"
        },
        {
          "@type": "PropertyValue",
          "name": "paymentAsset",
          "value": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
        }
      ]
    },
    "sameAs": "https://gateway.spraay.app/api/v1/invoice/create",
    "@context": "https://schema.org",
    "provider": {
      "@id": "https://x402all.com/server/gateway-spraay-app",
      "url": "https://gateway.spraay.app",
      "name": "gateway.spraay.app",
      "@type": "Organization"
    },
    "identifier": "gateway-spraay-app-api-v1-invoice-create",
    "description": "Create crypto invoices with payment transactions via x402. Pay 0.005 USDC on Base. Invoice ID returned on creation.",
    "potentialAction": {
      "@type": "BuyAction",
      "target": "https://axon402.com/test-buy?resource=gateway-spraay-app-api-v1-invoice-create",
      "description": "Test-buy this endpoint on AXON"
    },
    "applicationCategory": "finance"
  },
  "axon_deep_link": "https://axon402.com/test-buy?resource=gateway-spraay-app-api-v1-invoice-create"
}
