ToolAssay

Seller-side check that an Allowance vault receipt on NEAR paid a given account a

Seller-side check that an Allowance vault receipt on NEAR paid a given account at least a given amount, bound to the seller request hash, at final finality. Returns valid or the reason (not paid yet, wrong payee, amount, asset or request, unknown receipt, not a vault) and the vault code hash read at the same block.

Answeringour last check, 2026-11-26
7 of 7checks answered this week
530 msmedian answer time
$0.005listed price per call
$0.005price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://x402-services.soldano.workers.dev/v1/receipt/verify-near

CategoryCode and developer
Provider hostx402-services.soldano.workers.dev
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days15 from 7 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-26 valid payment request 402$0.005 707 ms
2026-11-25 valid payment request 402$0.005 456 ms
2026-11-24 valid payment request 402$0.005 525 ms
2026-11-23 valid payment request 402$0.005 636 ms
2026-11-22 valid payment request 402$0.005 580 ms
2026-11-21 valid payment request 402$0.005 504 ms
2026-11-20 valid payment request 402$0.005 530 ms
2026-11-19 valid payment request 402$0.005 598 ms
2026-11-18 valid payment request 402$0.005 48 ms
2026-11-17 valid payment request 402$0.005 521 ms
2026-11-16 valid payment request 402$0.005 536 ms
2026-11-15 valid payment request 402$0.005 497 ms
2026-11-14 valid payment request 402$0.005 460 ms
2026-11-13 valid payment request 402$0.005 507 ms
2026-11-12 valid payment request 402$0.005 501 ms
2026-11-11 valid payment request 402$0.005 502 ms
2026-11-10 valid payment request 402$0.005 542 ms
2026-11-09 valid payment request 402$0.005 536 ms
2026-11-08 valid payment request 402$0.005 419 ms
2026-11-07 valid payment request 402$0.005 535 ms
2026-11-06 valid payment request 402$0.005 421 ms
2026-11-05 valid payment request 402$0.005 462 ms
2026-11-04 valid payment request 402$0.005 968 ms
2026-11-03 valid payment request 402$0.005 490 ms
2026-11-02 valid payment request 402$0.005 428 ms
2026-11-01 valid payment request 402$0.005 397 ms

Example input (from the provider)

{
  "body": {
    "minAmount": "20000000000000000000000",
    "payee": "api.example.near",
    "receiptId": 3,
    "requestHash": "n4bQgYhMfWWaL+qgxVrQFaO/TxsrC4Is0V1sFbDwCgg=",
    "vault": "vault.alice.near"
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "asset": {
              "anyOf": [
                {
                  "const": "near",
                  "type": "string"
                },
                {
                  "properties": {
                    "ft": {
                      "description": "NEAR account id, e.g. alice.near or a 64-hex implicit account",
                      "maxLength": 64,
                      "minLength": 2,
                      "pattern": "^(([a-z\\d]+[-_])*[a-z\\d]+\\.)*([a-z\\d]+[-_])*[a-z\\d]+$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "ft"
                  ],
                  "type": "object"
                }
              ],
              "description": "\"near\" (default) or {\"ft\": \"<NEP-141 token contract>\"}"
            },
            "minAmount": {
              "description": "minimum amount in base units: yoctoNEAR, or the token smallest unit when asset is an ft",
              "pattern": "^\\d{1,40}$",
              "type": "string"
            },
            "network": {
              "description": "NEAR network; default: testnet for *.testnet accounts, mainnet otherwise",
              "enum": [
                "mainnet",
                "testnet"
              ],
              "type": "string"
            },
            "nonce": {
              "description": "alternative to requestHash: the nonce the seller issued; the hash is computed server-side",
              "maxLength": 256,
              "type": "string"
            },
            "payee": {
              "description": "the account that must have been paid (usually the seller itself)",
              "maxLength": 64,
              "minLength": 2,
              "pattern": "^(([a-z\\d]+[-_])*[a-z\\d]+\\.)*([a-z\\d]+[-_])*[a-z\\d]+$",
              "type": "string"
            },
            "receiptId": {
              "description": "receipt id returned by the vault pay call",
              "maximum": 9007199254740991,
              "minimum": 0,
              "type": "integer"
            },
            "requestHash": {
              "description": "base64(sha256(utf8(nonce))): the 32-byte request hash the receipt must carry",
              "type": "string"
            },
            "vault": {
              "description": "Allowance vault account that issued the receipt",
              "maxLength": 64,
              "minLength": 2,
              "pattern": "^(([a-z\\d]+[-_])*[a-z\\d]+\\.)*([a-z\\d]+[-_])*[a-z\\d]+$",
              "type": "string"
            }
          },
          "required": [
            "vault",
            "receiptId",
            "payee",
            "minAmount"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "block": {
              "type": "object"
            },
            "checkedAt": {
              "type": "string"
            },
            "detail": {
              "type": "string"
            },
            "paid": {
              "type": "boolean"
            },
            "reason": {},
            "receipt": {},
            "valid": {
              "type": "boolean"
            },
            "vault": {
              "type": "object"
            }
          },
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON