{
  "x402Version": 2,
  "id": 7547,
  "slug": "7547",
  "resource": "https://animica.dev/x402/credits/buy",
  "description": "Buy a prepaid credit voucher in ONE on-chain settlement, then spend it across every paid product on this gateway with no further settlement and no gas. Send the returned token as \"X-Animica-Credits: anmc_...\" (or \"Authorization: Bearer anmc_...\") on any paid route and the call is served from the balance instead of a payment. Credit is granted at face value plus 10% — that bonus is the Base settlement gas we do not spend on your calls 2..N, returned to you. The voucher is a BEARER secret shown exactly once and stored only as its SHA-256 hash: anyone holding it can spend it, and we cannot recover it for you. Balance and full spend history are readable for free at GET /x402/credits/balance with the token. Unused credit expires 365 days after purchase. Send the token on THIS route to top up an existing voucher instead of minting a new one.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x5D17c40FD6b119dc6006C4Ab3C20a917FCaB2aCD",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "500000",
      "maxTimeoutSeconds": 60
    },
    {
      "scheme": "exact",
      "network": "animica:1",
      "payTo": "anim1zqpsmegc0qcvzjfukm89xs0zeu3eqyyyel7kelehuszvwfarqypky2gr946ga",
      "asset": "ANM",
      "amount": "4864444156181",
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "animica": {
      "catalog": "https://animica.dev/.well-known/x402",
      "content_type": "application/json",
      "currency": "USDC",
      "description": "Buy a prepaid credit voucher in ONE on-chain settlement, then spend it across every paid product on this gateway with no further settlement and no gas. Send the returned token as \"X-Animica-Credits: anmc_...\" (or \"Authorization: Bearer anmc_...\") on any paid route and the call is served from the balance instead of a payment. Credit is granted at face value plus 10% — that bonus is the Base settlement gas we do not spend on your calls 2..N, returned to you. The voucher is a BEARER secret shown exactly once and stored only as its SHA-256 hash: anyone holding it can spend it, and we cannot recover it for you. Balance and full spend history are readable for free at GET /x402/credits/balance with the token. Unused credit expires 365 days after purchase. Send the token on THIS route to top up an existing voucher instead of minting a new one.",
      "documentation": "https://animica.dev/x402#product-credits_buy",
      "name": "Prepaid call credits",
      "openapi": "https://animica.dev/x402/openapi.json",
      "price": "0.50",
      "product": "credits_buy",
      "provider": "Animica",
      "terms": {
        "amount_atomic": "500000",
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "chain_id": 8453,
        "network": "eip155:8453",
        "pay_to": "0x5D17c40FD6b119dc6006C4Ab3C20a917FCaB2aCD",
        "scheme": "exact"
      },
      "x402_version": 2
    },
    "bazaar": {
      "discoverable": true,
      "info": {
        "input": {
          "method": "POST",
          "type": "http"
        },
        "output": {
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "properties": {
              "body": {
                "properties": {
                  "label": {
                    "description": "optional free-text label (<=64 chars) returned with your balance, so an agent can tell its own vouchers apart",
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {},
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "discovery": {
      "discoverable": true,
      "info": {
        "input": {
          "bodyFields": {
            "label": {
              "description": "optional free-text label (<=64 chars) returned with your balance, so an agent can tell its own vouchers apart",
              "required": false,
              "type": "string"
            }
          },
          "bodyType": "json",
          "headers": {
            "X-Animica-Credits": {
              "description": "an existing anmc_ token — when present the purchase TOPS UP that voucher and no new token is minted",
              "required": false
            }
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "description": "voucher {token (shown ONCE, only on a new mint), voucher_id, balance_atomic, balance_usdc, bonus_atomic, expires_at}, how_to_use, and payment metadata",
          "type": "json"
        }
      }
    }
  },
  "tags": [
    "animica",
    "bazaar",
    "discovery"
  ],
  "sourceHost": "animica.dev",
  "lastUpdated": "2026-08-20T04:55:28.521Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-08-20T04:55:28.138Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "animica.dev",
    "manifest_name": "animica.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}