{
  "info": {
    "name": "InsumerAPI",
    "description": "On-chain verification API. 46 operations across 37 blockchains. ECDSA-signed responses. Docs: https://insumermodel.com/developers/",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "apikey",
    "apikey": [
      {
        "key": "key",
        "value": "X-API-Key",
        "type": "string"
      },
      {
        "key": "value",
        "value": "{{apiKey}}",
        "type": "string"
      },
      {
        "key": "in",
        "value": "header",
        "type": "string"
      }
    ]
  },
  "item": [
    {
      "name": "Key Discovery",
      "item": [
        {
          "name": "Get JWKS Public Key Set",
          "request": {
            "auth": {
              "type": "noauth"
            },
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/jwks",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "jwks"
              ]
            },
            "description": "Get JWKS public key set. No auth required."
          },
          "response": [
            {
              "name": "200 OK (three EC kids on one key, then two AKP post-quantum entries)",
              "originalRequest": {
                "auth": {
                  "type": "noauth"
                },
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/jwks",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "jwks"
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=86400"
                }
              ],
              "cookie": [],
              "body": "{\n  \"keys\": [\n    {\n      \"kty\": \"EC\",\n      \"crv\": \"P-256\",\n      \"x\": \"...\",\n      \"y\": \"...\",\n      \"use\": \"sig\",\n      \"alg\": \"ES256\",\n      \"kid\": \"insumer-attest-v1\"\n    },\n    {\n      \"kty\": \"EC\",\n      \"crv\": \"P-256\",\n      \"x\": \"...\",\n      \"y\": \"...\",\n      \"use\": \"sig\",\n      \"alg\": \"ES256\",\n      \"kid\": \"insumer-attest-v2\"\n    },\n    {\n      \"kty\": \"EC\",\n      \"crv\": \"P-256\",\n      \"x\": \"...\",\n      \"y\": \"...\",\n      \"use\": \"sig\",\n      \"alg\": \"ES256\",\n      \"kid\": \"insumer-trust-v2\"\n    },\n    {\n      \"kty\": \"AKP\",\n      \"alg\": \"ML-DSA-65\",\n      \"pub\": \"...\",\n      \"use\": \"sig\",\n      \"kid\": \"insumer-attest-pq1\"\n    },\n    {\n      \"kty\": \"AKP\",\n      \"alg\": \"ML-DSA-65\",\n      \"pub\": \"...\",\n      \"use\": \"sig\",\n      \"kid\": \"insumer-trust-pq1\"\n    }\n  ]\n}"
            }
          ]
        },
        {
          "name": "List Compliance Templates",
          "request": {
            "auth": {
              "type": "noauth"
            },
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/compliance/templates",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "compliance",
                "templates"
              ]
            },
            "description": "List pre-configured compliance templates (Coinbase KYC, Gitcoin Passport). No auth required."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "auth": {
                  "type": "noauth"
                },
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/compliance/templates",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "compliance",
                    "templates"
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                },
                {
                  "key": "Cache-Control",
                  "value": "public, max-age=3600"
                }
              ],
              "cookie": [],
              "body": "{\n  \"ok\": true,\n  \"data\": {\n    \"templates\": {\n      \"coinbase_verified_account\": {\n        \"provider\": \"Coinbase\",\n        \"description\": \"Coinbase Verified Account\",\n        \"chainId\": 8453,\n        \"chainName\": \"Base\"\n      },\n      \"coinbase_verified_country\": {\n        \"provider\": \"Coinbase\",\n        \"description\": \"Coinbase Verified Country\",\n        \"chainId\": 8453,\n        \"chainName\": \"Base\"\n      },\n      \"coinbase_one\": {\n        \"provider\": \"Coinbase\",\n        \"description\": \"Coinbase One Member\",\n        \"chainId\": 8453,\n        \"chainName\": \"Base\"\n      },\n      \"gitcoin_passport_score\": {\n        \"provider\": \"Gitcoin\",\n        \"description\": \"Gitcoin Passport Score (≥20)\",\n        \"chainId\": 10,\n        \"chainName\": \"Optimism\"\n      },\n      \"gitcoin_passport_active\": {\n        \"provider\": \"Gitcoin\",\n        \"description\": \"Gitcoin Passport Active\",\n        \"chainId\": 10,\n        \"chainName\": \"Optimism\"\n      }\n    }\n  },\n  \"meta\": {\n    \"version\": \"1.0\",\n    \"timestamp\": \"2026-02-27T12:00:00.000Z\"\n  }\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "On-Chain Verification",
      "item": [
        {
          "name": "Attest On-Chain Conditions",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"wallet\": \"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045\",\n  \"conditions\": [\n    {\n      \"type\": \"token_balance\",\n      \"contractAddress\": \"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48\",\n      \"chainId\": 1,\n      \"threshold\": \"1000\",\n      \"label\": \"USDC >= 1000\"\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/attest",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "attest"
              ]
            },
            "description": "Verify 1-10 on-chain conditions. Returns ECDSA-signed booleans. 1 credit (2 with Merkle proofs). Send threshold as a decimal string (\"1000\", not 1000): keys created today sign under the v2 scheme and reject a JSON number with 400, while pre-cutover v1 keys accept both. To also receive a Wallet Auth token and its post-quantum signature, add format: \"jwt\" - see the next request."
          },
          "response": [
            {
              "name": "200 OK (v2 key: kid insumer-attest-v2 + post-quantum signature)",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "X-API-Key",
                    "value": "{{apiKey}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"wallet\": \"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045\",\n  \"conditions\": [\n    {\n      \"type\": \"token_balance\",\n      \"contractAddress\": \"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48\",\n      \"chainId\": 1,\n      \"threshold\": \"1000\",\n      \"label\": \"USDC >= 1000\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/v1/attest",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "attest"
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"ok\": true,\n  \"data\": {\n    \"attestation\": {\n      \"id\": \"ATST-A7C3E1B2D4F56789\",\n      \"pass\": true,\n      \"results\": [\n        {\n          \"condition\": 0,\n          \"label\": \"USDC >= 1000\",\n          \"type\": \"token_balance\",\n          \"chainId\": 1,\n          \"met\": true,\n          \"evaluatedCondition\": {\n            \"type\": \"token_balance\",\n            \"chainId\": 1,\n            \"contractAddress\": \"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48\",\n            \"operator\": \"gte\",\n            \"threshold\": \"1000\"\n          },\n          \"conditionHash\": \"0x3a7f...\",\n          \"blockNumber\": \"0x12f4a80\",\n          \"blockTimestamp\": \"2026-02-26T12:34:56.000Z\"\n        }\n      ],\n      \"passCount\": 1,\n      \"failCount\": 0,\n      \"attestedAt\": \"2026-02-26T12:34:57.000Z\",\n      \"expiresAt\": \"2026-02-26T13:04:57.000Z\"\n    },\n    \"sig\": \"<88-char base64, P1363 r||s>\",\n    \"kid\": \"insumer-attest-v2\",\n    \"pqSig\": \"<base64 ML-DSA-65 signature>\",\n    \"pqKid\": \"insumer-attest-pq1\"\n  },\n  \"meta\": {\n    \"creditsRemaining\": 42,\n    \"creditsCharged\": 1,\n    \"version\": \"1.0\",\n    \"timestamp\": \"2026-02-26T12:34:57.000Z\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Attest with Wallet Auth Token (format: jwt)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"wallet\": \"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045\",\n  \"format\": \"jwt\",\n  \"conditions\": [\n    {\n      \"type\": \"token_balance\",\n      \"contractAddress\": \"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48\",\n      \"chainId\": 1,\n      \"threshold\": \"1\",\n      \"label\": \"USDC >= 1\"\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/attest",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "attest"
              ]
            },
            "description": "Same as the call above plus format: \"jwt\", which adds two tokens to the response and costs no extra credit. jwt is the Wallet Auth by InsumerAPI token, an ES256 JWT any standard JWT library verifies against the JWKS. pqJwt is its post-quantum twin, a compact JWS with alg ML-DSA-65 under kid insumer-attest-pq1; checking it takes an ML-DSA-65 verifier such as insumer-verify (npm or PyPI).\n\nVerifier contract for pqJwt: after verifying the JWS, confirm its payload and the ES256 jwt payload carry an IDENTICAL claim set, the same member names and for every member a deeply equal JSON value (objects compared without regard to member order, arrays in order, numbers by value). Any difference, whether a changed value, a missing member or an extra member on either side, makes the post-quantum signature refuted. Compare parsed JSON, never bytes: byte-identical payload segments satisfy this trivially, but a verifier MUST NOT require byte identity, since two serializers may order members differently. Checking only jti, exp and pass is not sufficient, as it leaves results and conditionHash unbound. See the state attestation spec, Section 12 Check 6, and test vectors 24 and 25.\n\nA relying party that reads claims from the jwt must have verified that jwt; verifying the attestation beside it is not a substitute."
          },
          "response": [
            {
              "name": "200 OK (jwt + pqJwt beside sig/kid and the post-quantum signature)",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "X-API-Key",
                    "value": "{{apiKey}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"wallet\": \"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045\",\n  \"format\": \"jwt\",\n  \"conditions\": [\n    {\n      \"type\": \"token_balance\",\n      \"contractAddress\": \"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48\",\n      \"chainId\": 1,\n      \"threshold\": \"1\",\n      \"label\": \"USDC >= 1\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/v1/attest",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "attest"
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"ok\": true,\n  \"data\": {\n    \"attestation\": {\n      \"id\": \"ATST-095941EB9538CA1D\",\n      \"pass\": true,\n      \"results\": [\n        {\n          \"condition\": 0,\n          \"label\": \"USDC >= 1\",\n          \"type\": \"token_balance\",\n          \"chainId\": 1,\n          \"met\": true,\n          \"evaluatedCondition\": {\n            \"type\": \"token_balance\",\n            \"chainId\": 1,\n            \"contractAddress\": \"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48\",\n            \"operator\": \"gte\",\n            \"threshold\": \"1\"\n          },\n          \"conditionHash\": \"0x74618266...\",\n          \"blockNumber\": \"0x18d451b\",\n          \"blockTimestamp\": \"2026-09-22T20:42:23.000Z\"\n        }\n      ],\n      \"passCount\": 1,\n      \"failCount\": 0,\n      \"attestedAt\": \"2026-09-22T20:42:31.806Z\",\n      \"expiresAt\": \"2026-09-22T21:12:31.806Z\"\n    },\n    \"sig\": \"<88-char base64, P1363 r||s>\",\n    \"kid\": \"insumer-attest-v2\",\n    \"jwt\": \"<compact JWS, alg ES256, kid insumer-attest-v2>\",\n    \"pqSig\": \"<base64 ML-DSA-65 signature>\",\n    \"pqKid\": \"insumer-attest-pq1\",\n    \"pqJwt\": \"<compact JWS, alg ML-DSA-65, kid insumer-attest-pq1>\"\n  },\n  \"meta\": {\n    \"creditsRemaining\": 8,\n    \"creditsCharged\": 1,\n    \"version\": \"1.0\",\n    \"timestamp\": \"2026-09-22T20:42:32.088Z\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Wallet Trust Profile",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"wallet\": \"0x1601843c5E9bC251A3272907010AFa41Fa18347E\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/trust",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "trust"
              ]
            },
            "description": "Wallet trust fact profile. 155 base checks across 27 chains in 10 dimensions (stablecoins, governance, NFTs, staking, institutional stablecoins, tokenized treasuries, stablecoin deposits, wrapped bitcoin, names, account); optional Solana/XRPL/Bitcoin/Tron wallets take it up to 176 across 29 chains in 14 dimensions, in a fixed order. conditionSetVersion \"2026-10-08\" names the check list. 3 credits (6 with Merkle)."
          },
          "response": [
            {
              "name": "200 OK (v2 key: kid insumer-trust-v2 + post-quantum signature)",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "X-API-Key",
                    "value": "{{apiKey}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"wallet\": \"0x1601843c5E9bC251A3272907010AFa41Fa18347E\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/v1/trust",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "trust"
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"ok\": true,\n  \"data\": {\n    \"trust\": {\n      \"id\": \"TRST-81224\",\n      \"wallet\": \"0x1601843c5E9bC251A3272907010AFa41Fa18347E\",\n      \"conditionSetVersion\": \"2026-10-08\",\n      \"dimensions\": {\n        \"stablecoins\": {\n          \"checks\": [\n            {\n              \"label\": \"USDC on Ethereum\",\n              \"chainId\": 1,\n              \"met\": false,\n              \"evaluatedCondition\": {\n                \"type\": \"token_balance\",\n                \"chainId\": 1,\n                \"contractAddress\": \"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48\",\n                \"operator\": \"gt\",\n                \"threshold\": 0,\n                \"decimals\": 6\n              },\n              \"conditionHash\": \"0x27254c13e7bfb9e96dc90f7c54a7d2b05a5647fd38a00b2dc1bff58a236bbebf\",\n              \"blockNumber\": \"0x18eea5a\",\n              \"blockTimestamp\": \"2026-10-07T21:52:59.000Z\"\n            },\n            {\n              \"label\": \"USDC on Base\",\n              \"chainId\": 8453,\n              \"met\": true,\n              \"evaluatedCondition\": {\n                \"type\": \"token_balance\",\n                \"chainId\": 8453,\n                \"contractAddress\": \"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\",\n                \"operator\": \"gt\",\n                \"threshold\": 0,\n                \"decimals\": 6\n              },\n              \"conditionHash\": \"0x39c2094ef29fa7ea94e2db2ba02734ff06db035f47b1245fddd18be9e0e2d2f3\",\n              \"blockNumber\": \"0x31e312e\",\n              \"blockTimestamp\": \"2026-10-07T21:53:03.000Z\"\n            }\n          ],\n          \"passCount\": 6,\n          \"failCount\": 46,\n          \"notEvaluatedCount\": 0,\n          \"total\": 52\n        },\n        \"governance\": {\n          \"checks\": [],\n          \"passCount\": 0,\n          \"failCount\": 8,\n          \"notEvaluatedCount\": 0,\n          \"total\": 8\n        },\n        \"nfts\": {\n          \"checks\": [],\n          \"passCount\": 0,\n          \"failCount\": 3,\n          \"notEvaluatedCount\": 0,\n          \"total\": 3\n        },\n        \"staking\": {\n          \"checks\": [],\n          \"passCount\": 0,\n          \"failCount\": 5,\n          \"notEvaluatedCount\": 0,\n          \"total\": 5\n        },\n        \"institutional_stablecoins\": {\n          \"checks\": [\n            {\n              \"label\": \"EURCV on Ethereum\",\n              \"chainId\": 1,\n              \"met\": false,\n              \"evaluatedCondition\": {\n                \"type\": \"token_balance\",\n                \"chainId\": 1,\n                \"contractAddress\": \"0x5f7827fdeb7c20b443265fc2f40845b715385ff2\",\n                \"operator\": \"gt\",\n                \"threshold\": 0,\n                \"decimals\": 18\n              },\n              \"conditionHash\": \"0x0686a9c43f56bd396a0182761ec161f8a8ff8e431fdfd696665cd9d9de3de26d\",\n              \"blockNumber\": \"0x18eea5a\",\n              \"blockTimestamp\": \"2026-10-07T21:52:59.000Z\"\n            }\n          ],\n          \"passCount\": 0,\n          \"failCount\": 2,\n          \"notEvaluatedCount\": 6,\n          \"total\": 8\n        },\n        \"tokenized_treasuries\": {\n          \"checks\": [],\n          \"passCount\": 0,\n          \"failCount\": 15,\n          \"notEvaluatedCount\": 1,\n          \"total\": 16\n        },\n        \"stablecoin_deposits\": {\n          \"checks\": [],\n          \"passCount\": 5,\n          \"failCount\": 34,\n          \"notEvaluatedCount\": 0,\n          \"total\": 39\n        },\n        \"wrapped_bitcoin\": {\n          \"checks\": [],\n          \"passCount\": 0,\n          \"failCount\": 12,\n          \"notEvaluatedCount\": 0,\n          \"total\": 12\n        },\n        \"names\": {\n          \"checks\": [],\n          \"passCount\": 0,\n          \"failCount\": 2,\n          \"notEvaluatedCount\": 0,\n          \"total\": 2\n        },\n        \"account\": {\n          \"checks\": [\n            {\n              \"label\": \"Contract code on Ethereum\",\n              \"chainId\": 1,\n              \"met\": true,\n              \"evaluatedCondition\": {\n                \"type\": \"account_code\",\n                \"chainId\": 1,\n                \"expect\": \"contract\",\n                \"operator\": \"code_state\"\n              },\n              \"conditionHash\": \"0xfd7b6aa42eb012184fa54d9d5d99c6ab18481e0ce33ec0ec0e9d28d37b54ccbc\",\n              \"blockNumber\": \"0x18eea5a\",\n              \"blockTimestamp\": \"2026-10-07T21:52:59.000Z\"\n            },\n            {\n              \"label\": \"EIP-7702 delegation on Ethereum\",\n              \"chainId\": 1,\n              \"met\": false,\n              \"evaluatedCondition\": {\n                \"type\": \"account_code\",\n                \"chainId\": 1,\n                \"expect\": \"eip7702\",\n                \"operator\": \"code_state\"\n              },\n              \"conditionHash\": \"0xdef6fadcef95f59f4621fa2bf788e6be0ffc0492dba22038999b8cd757adf18b\",\n              \"blockNumber\": \"0x18eea5a\",\n              \"blockTimestamp\": \"2026-10-07T21:52:59.000Z\"\n            }\n          ],\n          \"passCount\": 5,\n          \"failCount\": 5,\n          \"notEvaluatedCount\": 0,\n          \"total\": 10\n        }\n      },\n      \"summary\": {\n        \"totalChecks\": 155,\n        \"totalPassed\": 16,\n        \"totalFailed\": 132,\n        \"totalNotEvaluated\": 7,\n        \"dimensionsWithActivity\": 3,\n        \"dimensionsChecked\": 10\n      },\n      \"profiledAt\": \"2026-10-07T21:53:04.795Z\",\n      \"expiresAt\": \"2026-10-07T22:23:04.795Z\"\n    },\n    \"sig\": \"<88-char base64, P1363 r||s>\",\n    \"kid\": \"insumer-trust-v2\",\n    \"pqSig\": \"<base64 ML-DSA-65 signature>\",\n    \"pqKid\": \"insumer-trust-pq1\"\n  },\n  \"meta\": {\n    \"version\": \"1.0\",\n    \"timestamp\": \"2026-10-07T21:53:05.439Z\",\n    \"creditsRemaining\": 850,\n    \"creditsCharged\": 3\n  }\n}"
            }
          ]
        },
        {
          "name": "Batch Wallet Trust Profiles",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"wallets\": [\n    { \"wallet\": \"0x1601843c5E9bC251A3272907010AFa41Fa18347E\", \"solanaWallet\": \"DXK4yMpigbTSqv33nJk1tJucXB4E3rDmTXn3yZmiFAXt\" },\n    { \"wallet\": \"0xBBBBBbbBBb9cC5e90e3b3Af64bdAF62C37EEFFCb\" },\n    { \"wallet\": \"0xB561B1e79E448bC3A7aC4Dc377EeECBc99505f60\" }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/trust/batch",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "trust",
                "batch"
              ]
            },
            "description": "Batch wallet trust profiles. Up to 10 wallets, the same 155-check set (up to 176 with optional wallets) per wallet. 3 credits/wallet."
          },
          "response": [
            {
              "name": "200 OK (v2 key: kid insumer-trust-v2 + post-quantum signature per entry)",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "X-API-Key",
                    "value": "{{apiKey}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"wallets\": [\n    { \"wallet\": \"0x1601843c5E9bC251A3272907010AFa41Fa18347E\", \"solanaWallet\": \"DXK4yMpigbTSqv33nJk1tJucXB4E3rDmTXn3yZmiFAXt\" },\n    { \"wallet\": \"0xBBBBBbbBBb9cC5e90e3b3Af64bdAF62C37EEFFCb\" },\n    { \"wallet\": \"0xB561B1e79E448bC3A7aC4Dc377EeECBc99505f60\" }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/v1/trust/batch",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "trust",
                    "batch"
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"ok\": true,\n  \"data\": {\n    \"results\": [\n      {\n        \"trust\": {\n          \"id\": \"TRST-74167\",\n          \"wallet\": \"0x1601843c5E9bC251A3272907010AFa41Fa18347E\",\n          \"conditionSetVersion\": \"2026-10-08\",\n          \"dimensions\": {\n            \"stablecoins\": {\n              \"checks\": [],\n              \"passCount\": 6,\n              \"failCount\": 46,\n              \"notEvaluatedCount\": 0,\n              \"total\": 52\n            },\n            \"governance\": {\n              \"checks\": [],\n              \"passCount\": 0,\n              \"failCount\": 8,\n              \"notEvaluatedCount\": 0,\n              \"total\": 8\n            },\n            \"nfts\": {\n              \"checks\": [],\n              \"passCount\": 0,\n              \"failCount\": 3,\n              \"notEvaluatedCount\": 0,\n              \"total\": 3\n            },\n            \"staking\": {\n              \"checks\": [],\n              \"passCount\": 0,\n              \"failCount\": 5,\n              \"notEvaluatedCount\": 0,\n              \"total\": 5\n            },\n            \"institutional_stablecoins\": {\n              \"checks\": [],\n              \"passCount\": 0,\n              \"failCount\": 4,\n              \"notEvaluatedCount\": 4,\n              \"total\": 8\n            },\n            \"tokenized_treasuries\": {\n              \"checks\": [],\n              \"passCount\": 0,\n              \"failCount\": 15,\n              \"notEvaluatedCount\": 1,\n              \"total\": 16\n            },\n            \"stablecoin_deposits\": {\n              \"checks\": [],\n              \"passCount\": 5,\n              \"failCount\": 34,\n              \"notEvaluatedCount\": 0,\n              \"total\": 39\n            },\n            \"wrapped_bitcoin\": {\n              \"checks\": [],\n              \"passCount\": 0,\n              \"failCount\": 12,\n              \"notEvaluatedCount\": 0,\n              \"total\": 12\n            },\n            \"names\": {\n              \"checks\": [],\n              \"passCount\": 0,\n              \"failCount\": 2,\n              \"notEvaluatedCount\": 0,\n              \"total\": 2\n            },\n            \"account\": {\n              \"checks\": [],\n              \"passCount\": 5,\n              \"failCount\": 5,\n              \"notEvaluatedCount\": 0,\n              \"total\": 10\n            },\n            \"solana\": {\n              \"checks\": [],\n              \"passCount\": 1,\n              \"failCount\": 13,\n              \"notEvaluatedCount\": 0,\n              \"total\": 14\n            }\n          },\n          \"summary\": {\n            \"totalChecks\": 169,\n            \"totalPassed\": 17,\n            \"totalFailed\": 147,\n            \"totalNotEvaluated\": 5,\n            \"dimensionsWithActivity\": 4,\n            \"dimensionsChecked\": 11\n          },\n          \"profiledAt\": \"2026-10-07T21:53:03.720Z\",\n          \"expiresAt\": \"2026-10-07T22:23:03.720Z\"\n        },\n        \"sig\": \"<88-char base64, P1363 r||s>\",\n        \"kid\": \"insumer-trust-v2\",\n        \"pqSig\": \"<base64 ML-DSA-65 signature>\",\n        \"pqKid\": \"insumer-trust-pq1\"\n      },\n      {\n        \"trust\": {\n          \"id\": \"TRST-C7EA2\",\n          \"wallet\": \"0xBBBBBbbBBb9cC5e90e3b3Af64bdAF62C37EEFFCb\",\n          \"conditionSetVersion\": \"2026-10-08\",\n          \"dimensions\": {\n            \"stablecoins\": {\n              \"checks\": [],\n              \"passCount\": 11,\n              \"failCount\": 41,\n              \"notEvaluatedCount\": 0,\n              \"total\": 52\n            },\n            \"governance\": {\n              \"checks\": [],\n              \"passCount\": 2,\n              \"failCount\": 6,\n              \"notEvaluatedCount\": 0,\n              \"total\": 8\n            },\n            \"nfts\": {\n              \"checks\": [],\n              \"passCount\": 0,\n              \"failCount\": 3,\n              \"notEvaluatedCount\": 0,\n              \"total\": 3\n            },\n            \"staking\": {\n              \"checks\": [],\n              \"passCount\": 3,\n              \"failCount\": 2,\n              \"notEvaluatedCount\": 0,\n              \"total\": 5\n            },\n            \"institutional_stablecoins\": {\n              \"checks\": [],\n              \"passCount\": 2,\n              \"failCount\": 0,\n              \"notEvaluatedCount\": 6,\n              \"total\": 8\n            },\n            \"tokenized_treasuries\": {\n              \"checks\": [],\n              \"passCount\": 0,\n              \"failCount\": 15,\n              \"notEvaluatedCount\": 1,\n              \"total\": 16\n            },\n            \"stablecoin_deposits\": {\n              \"checks\": [],\n              \"passCount\": 6,\n              \"failCount\": 33,\n              \"notEvaluatedCount\": 0,\n              \"total\": 39\n            },\n            \"wrapped_bitcoin\": {\n              \"checks\": [],\n              \"passCount\": 4,\n              \"failCount\": 8,\n              \"notEvaluatedCount\": 0,\n              \"total\": 12\n            },\n            \"names\": {\n              \"checks\": [],\n              \"passCount\": 0,\n              \"failCount\": 2,\n              \"notEvaluatedCount\": 0,\n              \"total\": 2\n            },\n            \"account\": {\n              \"checks\": [],\n              \"passCount\": 2,\n              \"failCount\": 8,\n              \"notEvaluatedCount\": 0,\n              \"total\": 10\n            }\n          },\n          \"summary\": {\n            \"totalChecks\": 155,\n            \"totalPassed\": 30,\n            \"totalFailed\": 118,\n            \"totalNotEvaluated\": 7,\n            \"dimensionsWithActivity\": 7,\n            \"dimensionsChecked\": 10\n          },\n          \"profiledAt\": \"2026-10-07T21:53:03.495Z\",\n          \"expiresAt\": \"2026-10-07T22:23:03.495Z\"\n        },\n        \"sig\": \"<88-char base64, P1363 r||s>\",\n        \"kid\": \"insumer-trust-v2\",\n        \"pqSig\": \"<base64 ML-DSA-65 signature>\",\n        \"pqKid\": \"insumer-trust-pq1\"\n      },\n      {\n        \"trust\": {\n          \"id\": \"TRST-CFD45\",\n          \"wallet\": \"0xB561B1e79E448bC3A7aC4Dc377EeECBc99505f60\",\n          \"conditionSetVersion\": \"2026-10-08\",\n          \"dimensions\": {\n            \"stablecoins\": {\n              \"checks\": [],\n              \"passCount\": 2,\n              \"failCount\": 50,\n              \"notEvaluatedCount\": 0,\n              \"total\": 52\n            },\n            \"governance\": {\n              \"checks\": [],\n              \"passCount\": 0,\n              \"failCount\": 8,\n              \"notEvaluatedCount\": 0,\n              \"total\": 8\n            },\n            \"nfts\": {\n              \"checks\": [],\n              \"passCount\": 0,\n              \"failCount\": 3,\n              \"notEvaluatedCount\": 0,\n              \"total\": 3\n            },\n            \"staking\": {\n              \"checks\": [],\n              \"passCount\": 1,\n              \"failCount\": 4,\n              \"notEvaluatedCount\": 0,\n              \"total\": 5\n            },\n            \"institutional_stablecoins\": {\n              \"checks\": [],\n              \"passCount\": 0,\n              \"failCount\": 2,\n              \"notEvaluatedCount\": 6,\n              \"total\": 8\n            },\n            \"tokenized_treasuries\": {\n              \"checks\": [],\n              \"passCount\": 0,\n              \"failCount\": 15,\n              \"notEvaluatedCount\": 1,\n              \"total\": 16\n            },\n            \"stablecoin_deposits\": {\n              \"checks\": [],\n              \"passCount\": 0,\n              \"failCount\": 39,\n              \"notEvaluatedCount\": 0,\n              \"total\": 39\n            },\n            \"wrapped_bitcoin\": {\n              \"checks\": [],\n              \"passCount\": 2,\n              \"failCount\": 10,\n              \"notEvaluatedCount\": 0,\n              \"total\": 12\n            },\n            \"names\": {\n              \"checks\": [],\n              \"passCount\": 0,\n              \"failCount\": 2,\n              \"notEvaluatedCount\": 0,\n              \"total\": 2\n            },\n            \"account\": {\n              \"checks\": [],\n              \"passCount\": 0,\n              \"failCount\": 10,\n              \"notEvaluatedCount\": 0,\n              \"total\": 10\n            }\n          },\n          \"summary\": {\n            \"totalChecks\": 155,\n            \"totalPassed\": 5,\n            \"totalFailed\": 143,\n            \"totalNotEvaluated\": 7,\n            \"dimensionsWithActivity\": 3,\n            \"dimensionsChecked\": 10\n          },\n          \"profiledAt\": \"2026-10-07T21:53:03.686Z\",\n          \"expiresAt\": \"2026-10-07T22:23:03.686Z\"\n        },\n        \"sig\": \"<88-char base64, P1363 r||s>\",\n        \"kid\": \"insumer-trust-v2\",\n        \"pqSig\": \"<base64 ML-DSA-65 signature>\",\n        \"pqKid\": \"insumer-trust-pq1\"\n      }\n    ],\n    \"summary\": {\n      \"requested\": 3,\n      \"succeeded\": 3,\n      \"failed\": 0\n    }\n  },\n  \"meta\": {\n    \"version\": \"1.0\",\n    \"timestamp\": \"2026-10-07T21:53:03.926Z\",\n    \"creditsCharged\": 9,\n    \"creditsRemaining\": 853\n  }\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Credits",
      "item": [
        {
          "name": "Check Credit Balance",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/credits",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "credits"
              ]
            },
            "description": "Check API credit balance."
          }
        },
        {
          "name": "Buy API Credits",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"txHash\": \"0x...\",\n  \"chainId\": 8453,\n  \"amount\": 5,\n  \"updateWallet\": false,\n  \"senderSignature\": \"0x...\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/credits/buy",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "credits",
                "buy"
              ]
            },
            "description": "Buy API credits with USDC. Volume discounts: $5–$99 = 25 credits/$1 ($0.04/call), $100–$499 = 33/$1 ($0.03), $500+ = 50/$1 ($0.02). Supported chains: USDC on Ethereum, Base, Polygon, Arbitrum, Optimism, BNB Chain, Avalanche, Solana. Bitcoin, Tron and USDT are not accepted. amount is required. Non-refundable. First purchase registers sender wallet and carries a senderSignature from it; subsequent purchases must match and need no signature. Set updateWallet: true with a senderSignature from the new wallet to change the registered wallet. The paying wallet signs this exact text (five lines joined by \\n, no trailing newline) and sends it as senderSignature: api.insumermodel.com / Confirm the wallet that sent this payment. / Purpose: credit purchase / Chain: eip155:<chainId> (or solana) / Transaction: <txHash, 0x lowercase hex on EVM>. EVM: EIP-191 personal_sign (ERC-1271 smart wallets accepted). Solana: ed25519 signMessage, base58 or base64. A request without it returns 400 with the exact text to sign."
          }
        },
        {
          "name": "Buy API Key with USDC",
          "request": {
            "auth": {
              "type": "noauth"
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"txHash\": \"0x...\",\n  \"chainId\": 8453,\n  \"amount\": 5,\n  \"appName\": \"my-agent\",\n  \"senderSignature\": \"0x...\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/keys/buy",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "keys",
                "buy"
              ]
            },
            "description": "Buy a new API key with USDC. No auth required. Send USDC (Ethereum, Base, Polygon, Arbitrum, Optimism, BNB Chain, Avalanche or Solana) to the platform wallet, then provide the tx hash and senderSignature to get a key. One key per wallet address. Use POST /v1/credits/buy to top up existing keys. The paying wallet signs this exact text (five lines joined by \\n, no trailing newline) and sends it as senderSignature: api.insumermodel.com / Confirm the wallet that sent this payment. / Purpose: key purchase / Chain: eip155:<chainId> (or solana) / Transaction: <txHash, 0x lowercase hex on EVM>. EVM: EIP-191 personal_sign (ERC-1271 smart wallets accepted). Solana: ed25519 signMessage, base58 or base64. A request without it returns 400 with the exact text to sign."
          }
        }
      ]
    },
    {
      "name": "Keys & Billing",
      "item": [
        {
          "name": "Create Free API Key",
          "request": {
            "auth": {
              "type": "noauth"
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"email\": \"you@example.com\",\n  \"appName\": \"my-agent\",\n  \"tier\": \"free\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/keys/create",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "keys",
                "create"
              ]
            },
            "description": "Instant free-tier signup: send an email and an app name, get a working insr_live_ key in the response. Free tier = 10 free verifications plus 100 requests a day. The key is returned exactly once and never emailed. One free key per email; rate-limited per client address. Keys minted here sign under the v2 scheme (kid insumer-attest-v2 / insumer-trust-v2) and require /v1/attest thresholds as decimal strings. Flat {success, key, ...} response, not the {ok, data, meta} envelope. No auth required."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "auth": {
                  "type": "noauth"
                },
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"email\": \"you@example.com\",\n  \"appName\": \"my-agent\",\n  \"tier\": \"free\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/v1/keys/create",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "keys",
                    "create"
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"success\": true,\n  \"key\": \"insr_live_...\",\n  \"name\": \"my-agent\",\n  \"tier\": \"free\",\n  \"dailyLimit\": 100,\n  \"apiKeyCredits\": 10\n}"
            }
          ]
        },
        {
          "name": "Buy Tiered Key with Crypto",
          "request": {
            "auth": {
              "type": "noauth"
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"tier\": \"pro\",\n  \"email\": \"you@example.com\",\n  \"appName\": \"my-agent\",\n  \"txHash\": \"0x...\",\n  \"chainId\": 8453,\n  \"senderSignature\": \"0x...\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/keys/purchase",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "keys",
                "purchase"
              ]
            },
            "description": "Email-based tiered key purchase (Pro = $29: 10000 requests/day, 1,000 attest credits; Enterprise = $99: 100000 requests/day, 5,000 attest credits). Send the tier amount in USDC (EVM or Solana) to the platform wallet, then submit the tx hash and senderSignature. Key is valid 30 days; renew by paying again. chainId is an EVM chain ID or 'solana'. Flat {success, key, ...} response. All purchases are final. No auth required. The paying wallet signs this exact text (five lines joined by \\n, no trailing newline) and sends it as senderSignature: api.insumermodel.com / Confirm the wallet that sent this payment. / Purpose: key purchase / Chain: eip155:<chainId> (or solana) / Transaction: <txHash, 0x lowercase hex on EVM>. EVM: EIP-191 personal_sign (ERC-1271 smart wallets accepted). Solana: ed25519 signMessage, base58 or base64. A request without it returns 400 with the exact text to sign."
          },
          "response": []
        },
        {
          "name": "Start Card Subscription Checkout",
          "request": {
            "auth": {
              "type": "noauth"
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"tier\": \"pro\",\n  \"email\": \"you@example.com\",\n  \"appName\": \"my-agent\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/keys/checkout",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "keys",
                "checkout"
              ]
            },
            "description": "Creates a hosted card checkout session for a monthly Pro ($29/mo) or Enterprise ($99/mo) subscription and returns its URL. After payment the key is retrieved once via GET /v1/keys/retrieve. Pass keyHash (from POST /v1/keys/lookup) to upgrade an existing key in place; email and appName are then optional. Flat {success, url} response. No auth required."
          },
          "response": []
        },
        {
          "name": "Retrieve Key After Checkout",
          "request": {
            "auth": {
              "type": "noauth"
            },
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/keys/retrieve?sessionId=cs_...",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "keys",
                "retrieve"
              ],
              "query": [
                {
                  "key": "sessionId",
                  "value": "cs_...",
                  "description": "Checkout session ID from the success redirect (required)"
                }
              ]
            },
            "description": "Called by the post-checkout redirect with the checkout sessionId. Returns the new key exactly once, then invalidates the retrieval (a second call returns 404). Flat {success, key, ...} response. No auth required."
          },
          "response": []
        },
        {
          "name": "Look Up Key Account",
          "request": {
            "auth": {
              "type": "noauth"
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"key\": \"{{apiKey}}\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/keys/lookup",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "keys",
                "lookup"
              ]
            },
            "description": "Paste-your-key account lookup. Returns a safe subset: name, tier, key suffix, owner email, credit balance, daily limit, usage counters, timestamps, expiry, subscription flag, and the keyHash used by /v1/keys/checkout and /v1/credits/topup. Key goes in the body, not the header. Rate-limited per client address. Flat {success, ...} response."
          },
          "response": []
        },
        {
          "name": "Buy Credits by Card",
          "request": {
            "auth": {
              "type": "noauth"
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"keyHash\": \"<64-hex keyHash from /v1/keys/lookup>\",\n  \"credits\": 500\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/credits/topup",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "credits",
                "topup"
              ]
            },
            "description": "One-time card payment for 100 to 50000 additional verification credits at the subscriber's tier rate ($0.029/credit Pro, $0.02/credit Enterprise). Subscribers only: free-tier keys get 403 and buy credits on-chain via POST /v1/credits/buy instead. keyHash comes from POST /v1/keys/lookup. Flat {success, url} response."
          },
          "response": []
        },
        {
          "name": "Open Billing Portal",
          "request": {
            "auth": {
              "type": "noauth"
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"key\": \"{{apiKey}}\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/billing/portal",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "billing",
                "portal"
              ]
            },
            "description": "Returns a billing portal URL where a subscriber manages or cancels the card subscription. Only keys with an active card subscription qualify (400 otherwise). Key goes in the body, not the header. Rate-limited per client address. Flat {success, url} response."
          },
          "response": []
        }
      ]
    },
    {
      "name": "Merchant Directory",
      "item": [
        {
          "name": "List Merchants",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/merchants?token=&verified=",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "merchants"
              ],
              "query": [
                {
                  "key": "token",
                  "value": "",
                  "description": "Filter by token symbol (optional)"
                },
                {
                  "key": "verified",
                  "value": "",
                  "description": "Filter by verification status (optional, boolean)"
                }
              ]
            },
            "description": "List merchants. Optional query params: token, verified."
          }
        },
        {
          "name": "Get Merchant Details",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/merchants/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "merchants",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "your-merchant-id",
                  "description": "Merchant ID"
                }
              ]
            },
            "description": "Get merchant details with tier structures."
          }
        },
        {
          "name": "Token and NFT Registry",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/tokens?chain=&symbol=&type=",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "tokens"
              ],
              "query": [
                {
                  "key": "chain",
                  "value": "",
                  "description": "Filter by chain (optional)"
                },
                {
                  "key": "symbol",
                  "value": "",
                  "description": "Filter by token symbol (optional)"
                },
                {
                  "key": "type",
                  "value": "",
                  "description": "Filter by type (optional)"
                }
              ]
            },
            "description": "Token and NFT registry. Optional query params: chain, symbol, type."
          }
        },
        {
          "name": "Submit to Registry",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Acme Founders\",\n  \"contractAddress\": \"0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D\",\n  \"chainId\": 8453,\n  \"chainName\": \"Base\",\n  \"standard\": \"ERC-721\",\n  \"source\": \"partner-app\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/registry/submit",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "registry",
                "submit"
              ]
            },
            "description": "Submit a token/NFT to the public registry as pending for review. X-API-Key required (free, no credits). Idempotent per chain + address."
          }
        },
        {
          "name": "Public Token Registry",
          "request": {
            "auth": {
              "type": "noauth"
            },
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/registry/tokens",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "registry",
                "tokens"
              ]
            },
            "description": "Public read of the approved token and NFT registries in the shape browser-side integrations consume. Only active entries are returned. Flat {tokens, nfts} response, not the standard envelope. Cached at the edge. No auth required."
          },
          "response": []
        },
        {
          "name": "Public Merchant Directory",
          "request": {
            "auth": {
              "type": "noauth"
            },
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/registry/merchants",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "registry",
                "merchants"
              ]
            },
            "description": "Public read of the merchant directory with each merchant's recognized domains, token tiers, and NFT collections. Flat {merchants} response, not the standard envelope. For the filterable, paginated directory use GET /v1/merchants. No auth required."
          },
          "response": []
        }
      ]
    },
    {
      "name": "Discount Verification",
      "item": [
        {
          "name": "Check Discount Eligibility",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/discount/check?wallet=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045&merchant=your-merchant-id&solanaWallet=",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "discount",
                "check"
              ],
              "query": [
                {
                  "key": "wallet",
                  "value": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
                  "description": "EVM wallet address (required)"
                },
                {
                  "key": "merchant",
                  "value": "your-merchant-id",
                  "description": "Merchant ID (required)"
                },
                {
                  "key": "solanaWallet",
                  "value": "",
                  "description": "Solana wallet address (optional)"
                }
              ]
            },
            "description": "Calculate discount for wallet + merchant."
          }
        },
        {
          "name": "Create Signed Discount Code",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"wallet\": \"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045\",\n  \"merchantId\": \"your-merchant-id\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/verify",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "verify"
              ]
            },
            "description": "Create signed discount code (INSR-XXXXX, valid 30 min). A code that carries a discount costs 1 credit from the API key that owns the store; a 0% result is free. A caller using another key is not charged. Paid discount codes requested with a key other than the store's owner are subject to an hourly limit (429; the message says when to try again)."
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "X-API-Key",
                    "value": "{{apiKey}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"wallet\": \"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045\",\n  \"merchantId\": \"your-merchant-id\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/v1/verify",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "verify"
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"ok\": true,\n  \"data\": {\n    \"verified\": true,\n    \"totalDiscount\": 15,\n    \"code\": \"INSR-A7K3M\",\n    \"expiresAt\": \"2026-02-22T12:30:00.000Z\",\n    \"breakdown\": [\n      {\n        \"symbol\": \"UNI\",\n        \"tier\": \"Gold\",\n        \"discount\": 10\n      }\n    ],\n    \"stripeCodeCreated\": true,\n    \"cloverDiscountName\": null,\n    \"merchantName\": \"Coffee House\",\n    \"sig\": \"<88-char base64, P1363 r||s>\",\n    \"usdcPayment\": {\n      \"evmAddress\": \"0xABC...def\",\n      \"preferredChainId\": 8453,\n      \"preferredChainName\": \"Base\",\n      \"usdcContract\": \"0x833589fC...\",\n      \"solanaAddress\": null,\n      \"supportedChains\": [\n        {\n          \"chainId\": 1,\n          \"name\": \"Ethereum\",\n          \"usdcContract\": \"0xA0b86991...\"\n        },\n        {\n          \"chainId\": 8453,\n          \"name\": \"Base\",\n          \"usdcContract\": \"0x833589fC...\"\n        }\n      ]\n    }\n  },\n  \"meta\": {\n    \"version\": \"1.0\",\n    \"timestamp\": \"2026-02-22T12:00:00.000Z\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Confirm USDC Payment",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"code\": \"INSR-XXXXX\",\n  \"txHash\": \"0x...\",\n  \"chainId\": 8453\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/payment/confirm",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "payment",
                "confirm"
              ]
            },
            "description": "Verify USDC payment for discount code."
          }
        }
      ]
    },
    {
      "name": "Commerce Protocols",
      "item": [
        {
          "name": "ACP Discount Eligibility",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"wallet\": \"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045\",\n  \"merchantId\": \"your-merchant-id\",\n  \"items\": [\n    {\n      \"path\": \"$.line_items[0]\",\n      \"amount\": 2500\n    },\n    {\n      \"path\": \"$.line_items[1]\",\n      \"amount\": 1500\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/acp/discount",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "acp",
                "discount"
              ]
            },
            "description": "ACP (OpenAI/Stripe) format discount eligibility. A code that carries a discount costs 1 credit from the API key that owns the store; a 0% result is free. A caller using another key is not charged."
          },
          "response": [
            {
              "name": "200 OK (eligible; kid insumer-attest-v1, no post-quantum signature)",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "X-API-Key",
                    "value": "{{apiKey}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"wallet\": \"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045\",\n  \"merchantId\": \"your-merchant-id\",\n  \"items\": [\n    {\n      \"path\": \"$.line_items[0]\",\n      \"amount\": 2500\n    },\n    {\n      \"path\": \"$.line_items[1]\",\n      \"amount\": 1500\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/v1/acp/discount",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "acp",
                    "discount"
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"ok\": true,\n  \"data\": {\n    \"protocol\": \"acp\",\n    \"version\": \"2026-04-17\",\n    \"discounts\": {\n      \"codes\": [],\n      \"applied\": [\n        {\n          \"id\": \"INSR-A7K3M\",\n          \"coupon\": {\n            \"id\": \"insumer-insr-a7k3m\",\n            \"name\": \"Token Holder Discount (15% off)\",\n            \"percent_off\": 15\n          },\n          \"amount\": 600,\n          \"automatic\": true,\n          \"method\": \"across\",\n          \"priority\": 10,\n          \"allocations\": [\n            {\n              \"path\": \"$.line_items[0]\",\n              \"amount\": 375\n            },\n            {\n              \"path\": \"$.line_items[1]\",\n              \"amount\": 225\n            }\n          ],\n          \"start\": \"2026-02-27T12:00:00Z\",\n          \"end\": \"2026-02-27T12:30:00Z\"\n        }\n      ],\n      \"rejected\": []\n    },\n    \"verification\": {\n      \"code\": \"INSR-A7K3M\",\n      \"expiresAt\": \"2026-02-27T12:30:00Z\",\n      \"breakdown\": [\n        {\n          \"symbol\": \"UNI\",\n          \"tier\": \"Gold\",\n          \"discount\": 15\n        }\n      ],\n      \"sig\": \"<88-char base64, P1363 r||s>\",\n      \"kid\": \"insumer-attest-v1\"\n    }\n  },\n  \"meta\": {\n    \"creditsCharged\": 0,\n    \"creditsRemaining\": 99,\n    \"version\": \"1.0\",\n    \"timestamp\": \"2026-02-27T12:00:00.000Z\"\n  }\n}"
            }
          ]
        },
        {
          "name": "UCP Discount Eligibility",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"wallet\": \"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045\",\n  \"merchantId\": \"your-merchant-id\",\n  \"items\": [\n    {\n      \"path\": \"$.line_items[0]\",\n      \"amount\": 2500\n    },\n    {\n      \"path\": \"$.line_items[1]\",\n      \"amount\": 1500\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/ucp/discount",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "ucp",
                "discount"
              ]
            },
            "description": "UCP (Google) format discount eligibility, dev.ucp.shopping.discount fragment per UCP release 2026-08-25. Send items[] or subtotal to get an applied entry with an absolute amount; with neither, applied is empty and the discount is in the verification object. A code that carries a discount costs 1 credit from the API key that owns the store; a 0% result is free. A caller using another key is not charged."
          },
          "response": [
            {
              "name": "200 OK (eligible; kid insumer-attest-v1, no post-quantum signature)",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "X-API-Key",
                    "value": "{{apiKey}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"wallet\": \"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045\",\n  \"merchantId\": \"your-merchant-id\",\n  \"items\": [\n    {\n      \"path\": \"$.line_items[0]\",\n      \"amount\": 2500\n    },\n    {\n      \"path\": \"$.line_items[1]\",\n      \"amount\": 1500\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/v1/ucp/discount",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "ucp",
                    "discount"
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"ok\": true,\n  \"data\": {\n    \"protocol\": \"ucp\",\n    \"version\": \"2026-08-25\",\n    \"extension\": \"dev.ucp.shopping.discount\",\n    \"discounts\": {\n      \"codes\": [],\n      \"applied\": [\n        {\n          \"title\": \"Token Holder Discount \\u2014 15% Off\",\n          \"amount\": 600,\n          \"automatic\": true,\n          \"method\": \"across\",\n          \"priority\": 10,\n          \"allocations\": [\n            {\n              \"path\": \"$.line_items[0]\",\n              \"amount\": 375\n            },\n            {\n              \"path\": \"$.line_items[1]\",\n              \"amount\": 225\n            }\n          ]\n        }\n      ]\n    },\n    \"verification\": {\n      \"code\": \"INSR-A7K3M\",\n      \"expiresAt\": \"2026-02-27T12:30:00Z\",\n      \"sig\": \"<88-char base64, P1363 r||s>\",\n      \"kid\": \"insumer-attest-v1\"\n    }\n  },\n  \"meta\": {\n    \"creditsCharged\": 0,\n    \"creditsRemaining\": 99,\n    \"version\": \"1.0\",\n    \"timestamp\": \"2026-02-27T12:00:00.000Z\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Validate Discount Code",
          "request": {
            "auth": {
              "type": "noauth"
            },
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/codes/:code",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "codes",
                ":code"
              ],
              "variable": [
                {
                  "key": "code",
                  "value": "INSR-XXXXX",
                  "description": "Discount code to validate"
                }
              ]
            },
            "description": "Validate INSR-XXXXX discount code. No auth required."
          },
          "response": [
            {
              "name": "200 OK (valid code)",
              "originalRequest": {
                "auth": {
                  "type": "noauth"
                },
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/codes/:code",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "codes",
                    ":code"
                  ],
                  "variable": [
                    {
                      "key": "code",
                      "value": "INSR-XXXXX",
                      "description": "Discount code to validate"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"ok\": true,\n  \"data\": {\n    \"valid\": true,\n    \"code\": \"INSR-A7K3M\",\n    \"merchantId\": \"acme-store\",\n    \"discountPercent\": 15,\n    \"expiresAt\": \"2026-02-27T12:30:00Z\",\n    \"createdAt\": \"2026-02-27T12:00:00Z\"\n  },\n  \"meta\": {\n    \"version\": \"1.0\",\n    \"timestamp\": \"2026-02-27T12:00:05.000Z\"\n  }\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Merchant Onboarding",
      "item": [
        {
          "name": "Create Merchant",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"companyName\": \"My Store\",\n  \"companyId\": \"my-store\",\n  \"location\": \"New York, NY\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/merchants",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "merchants"
              ]
            },
            "description": "Create merchant. The creating API key owns it and pays 1 regular credit per code, scan or tap at the store."
          }
        },
        {
          "name": "Request Domain Verification Token",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"domain\": \"mystore.com\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/merchants/:id/domain-verification",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "merchants",
                ":id",
                "domain-verification"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "your-merchant-id",
                  "description": "Merchant ID"
                }
              ]
            },
            "description": "Request domain verification token."
          }
        },
        {
          "name": "Trigger Domain Verification Check",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/merchants/:id/domain-verification",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "merchants",
                ":id",
                "domain-verification"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "your-merchant-id",
                  "description": "Merchant ID"
                }
              ]
            },
            "description": "Trigger domain verification check. Rate limited per merchant (429 says when to retry)."
          }
        },
        {
          "name": "Configure Token Tiers",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"ownToken\": {\n    \"symbol\": \"USDC\",\n    \"chainId\": 1,\n    \"contractAddress\": \"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48\",\n    \"decimals\": 6,\n    \"tiers\": [\n      { \"name\": \"Bronze\", \"threshold\": 100, \"discount\": 5 },\n      { \"name\": \"Silver\", \"threshold\": 1000, \"discount\": 10 },\n      { \"name\": \"Gold\", \"threshold\": 10000, \"discount\": 15 }\n    ]\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/merchants/:id/tokens",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "merchants",
                ":id",
                "tokens"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "your-merchant-id",
                  "description": "Merchant ID"
                }
              ]
            },
            "description": "Configure token tiers."
          }
        },
        {
          "name": "Configure NFT Collections",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"nftCollections\": [\n    {\n      \"name\": \"Bored Apes\",\n      \"contractAddress\": \"0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D\",\n      \"chainId\": 1,\n      \"discount\": 20\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/merchants/:id/nfts",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "merchants",
                ":id",
                "nfts"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "your-merchant-id",
                  "description": "Merchant ID"
                }
              ]
            },
            "description": "Configure NFT collections."
          }
        },
        {
          "name": "Update Merchant Settings",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"discountMode\": \"highest\",\n  \"discountCap\": 25\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/merchants/:id/settings",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "merchants",
                ":id",
                "settings"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "your-merchant-id",
                  "description": "Merchant ID"
                }
              ]
            },
            "description": "Update discount mode, cap, USDC payments."
          }
        },
        {
          "name": "Buy credits for a store's owner key (compatibility)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"txHash\": \"0x...\",\n  \"chainId\": 8453,\n  \"amount\": 5,\n  \"updateWallet\": false,\n  \"senderSignature\": \"0x...\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/merchants/:id/credits",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "merchants",
                ":id",
                "credits"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "your-merchant-id",
                  "description": "Merchant ID"
                }
              ]
            },
            "description": "Kept for compatibility: buys credits (flat 25 per $1) into the owner API key's regular balance. POST /v1/credits/buy is the normal top-up. USDC only; amount is required. First purchase registers sender wallet and carries a senderSignature from it; subsequent purchases must match. Set updateWallet: true with a senderSignature from the new wallet to change registered wallet. Same signed text as POST /v1/credits/buy (Purpose: credit purchase)."
          }
        },
        {
          "name": "Publish to Directory",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/merchants/:id/directory",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "merchants",
                ":id",
                "directory"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "your-merchant-id",
                  "description": "Merchant ID"
                }
              ]
            },
            "description": "Publish merchant to public directory."
          }
        },
        {
          "name": "Get Merchant Status",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/merchants/:id/status",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "merchants",
                ":id",
                "status"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "your-merchant-id",
                  "description": "Merchant ID"
                }
              ]
            },
            "description": "Full private merchant details including verification status."
          }
        },
        {
          "name": "Partner Assert Domain",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"domain\": \"acme-coffee.com\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/merchants/:id/verification",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "merchants",
                ":id",
                "verification"
              ]
            },
            "description": "White-label partner records that it verified an org's domain in its own branded flow (method=partner). RESTRICTED to designated partner keys; self-serve keys must use the domain-verification challenge flow."
          }
        },
        {
          "name": "List Domain Claims",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/merchants/:id/claims",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "merchants",
                ":id",
                "claims"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "your-merchant-id",
                  "description": "Merchant ID"
                }
              ]
            },
            "description": "Domain-ownership dispute flow: when another party claims your verified domain, the claim queues here for your decision. Returns pending claims for the merchant's verified domain (empty list if none). 403 if this merchant is not the owner of record. Owner key only."
          },
          "response": []
        },
        {
          "name": "Resolve Domain Claim",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"claimId\": \"claim-id-from-list\",\n  \"action\": \"approve\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/merchants/:id/claims",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "merchants",
                ":id",
                "claims"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "your-merchant-id",
                  "description": "Merchant ID"
                }
              ]
            },
            "description": "Approve or deny one pending claim on this merchant's verified domain. Approving associates the claimant with the domain record; denying closes the claim. Each claim resolves once (a second attempt returns 409). Owner key only."
          },
          "response": []
        },
        {
          "name": "Release Domain Binding",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/merchants/:id/release",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "merchants",
                ":id",
                "release"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "your-merchant-id",
                  "description": "Merchant ID"
                }
              ]
            },
            "description": "Marks the merchant's verified-domain binding as cancelled, starting the 30-day lapse window after which another party may verify and take the domain. Idempotent: always 200 with released true or false plus a reason. Owner key only."
          },
          "response": []
        }
      ]
    },
    {
      "name": "White-Label Scanner",
      "item": [
        {
          "name": "Add Scanner PIN",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Front Register\",\n  \"pin\": \"4821\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/merchants/:id/scanners",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "merchants",
                ":id",
                "scanners"
              ]
            },
            "description": "Add an in-person scanner PIN (4-8 digits; a limited number per merchant) on a merchant you manage. Owner key only."
          }
        },
        {
          "name": "Remove Scanner PIN",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"remove\": \"a1b2c3d4e5f6\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/merchants/:id/scanners",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "merchants",
                ":id",
                "scanners"
              ]
            },
            "description": "Remove a scanner PIN by id. Owner key only."
          }
        },
        {
          "name": "List Scanners",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/merchants/:id/scanners",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "merchants",
                ":id",
                "scanners"
              ]
            },
            "description": "List a merchant's scanners (id + name only; PINs never returned). Owner key only."
          }
        },
        {
          "name": "Scanner Session (PIN login)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"merchantId\": \"acme-coffee\",\n  \"pin\": \"4821\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/scanner/session",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "scanner",
                "session"
              ]
            },
            "description": "Validate a scanner PIN and return merchant config for a login-less branded scanner. Repeated failed PIN attempts are limited per merchant (429)."
          }
        },
        {
          "name": "Verify Pass",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"merchantId\": \"acme-coffee\",\n  \"qr\": {\n    \"w\": \"0x1234...5678\",\n    \"t\": \"ACME:1500.00@8453\",\n    \"ts\": 1749150000000,\n    \"n\": \"a1b2c3\",\n    \"sig\": \"<base64 P1363 signature>\"\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/pass/verify",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "pass",
                "verify"
              ]
            },
            "description": "Verify a scanned pass: checks the InsumerAPI ECDSA signature, 65s freshness, then computes the discount vs merchant config. No companion sign endpoint exists."
          }
        }
      ]
    },
    {
      "name": "Platform",
      "item": [
        {
          "name": "Service Health Check",
          "request": {
            "auth": {
              "type": "noauth"
            },
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/health",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "health"
              ]
            },
            "description": "Liveness probe covering the API, its datastore, and the attestation signing key. 200 when all checks pass, 503 when any fails. Flat status object, not the standard envelope. No auth required."
          },
          "response": []
        },
        {
          "name": "Request Chain Support",
          "request": {
            "auth": {
              "type": "noauth"
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"chainName\": \"Example Chain\",\n  \"chainId\": 12345,\n  \"networkType\": \"evm\",\n  \"rpcUrl\": \"https://rpc.example.com\",\n  \"contactName\": \"Your Name\",\n  \"contactEmail\": \"you@example.com\",\n  \"organizationName\": \"Your Company\",\n  \"message\": \"Why this chain matters to your integration\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/v1/chain-request",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "chain-request"
              ]
            },
            "description": "Public intake for chain-support requests. Reviewed by a human; nothing is enabled automatically. Rate limited per email. Flat {success, message} response. No auth required."
          },
          "response": []
        }
      ]
    }
  ],
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.insumermodel.com",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "your-api-key-here",
      "type": "string"
    }
  ]
}
