Allowance receipt verification (NEAR)
verify_allowance_receiptSeller-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. Price: $0.005 USDC per call (x402).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | No | "near" (default) or {"ft": "<NEP-141 token contract>"} | |
| nonce | No | alternative to requestHash: the nonce the seller issued; the hash is computed server-side | |
| payee | Yes | the account that must have been paid (usually the seller itself) | |
| vault | Yes | Allowance vault account that issued the receipt | |
| network | No | NEAR network; default: testnet for *.testnet accounts, mainnet otherwise | |
| minAmount | Yes | minimum amount in base units: yoctoNEAR, or the token smallest unit when asset is an ft | |
| receiptId | Yes | receipt id returned by the vault pay call | |
| requestHash | No | base64(sha256(utf8(nonce))): the 32-byte request hash the receipt must carry |