CLI docs

ReferenceTest values

ReferenceVisa CLI's profile

Test values

The simulation's test card, the recorded signature, the conformance key and test listing, the failure cases we ran and what each refusal looks like.

Markdownllms.txt
On this page

Everything on this page is something we ran. Nothing here touches a real agent or a real card, and none of these values works outside the example or page it belongs to.

Simulation card and code

The Try it block on Verify your agent accepts one card number and one code.

InputTest value
Card number4111 1111 1111 1111
One-time code123456

The simulation accepts card number 4111 1111 1111 1111 and one-time code 123456, and nothing else.

These work only in that page's simulation. Anything else is refused in the browser, and nothing you type is sent or stored. They won't pass the real card step, so never enter a real card in the simulation.

Signature vector

This is a signature from Visa CLI's signing code, made with a throwaway key that isn't listed anywhere. Use it to test your rebuild of the signature base, in any language. vector.mjs on Verifier code runs it, with the clock held at 1794000030, and prints vector verified.

ValueTest value
RequestPOST https://market.example/tasks/42/claim?ref=a
Body{"task":42}
keyid11111111-2222-4333-8444-555555555555
created, expires1794000000, 1794000060
content-digestsha-256=:lVH0Kpm71IxwuPvOjdCShjrzCouWTVbs3GY4TjGfhnk=:
Public key, base64 of the PEM
LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUNvd0JRWURLMlZ3QXlFQUlWTDQwWnQ1SFNS
Rk1rTGhYeTZyYkxmUCtudHFYdE1BbDVZT0JwaUIyeEk9Ci0tLS0tRU5EIFBVQkxJQyBLRVkt
LS0tLQo=

Join those three lines before you decode them. The full headers and signature base are under One signed request, step by step.

Conformance key and test listing

The test cases, all but the attacker-key case, are signed with one public test key, RFC 8032 test vector 1. The attacker-key case is signed with test vector 2's key on purpose. Its secret is printed in the RFC, so anyone can sign with it, and it's listed nowhere. Use it to sign test requests of your own, and never add it, or any key from the test cases, to a list of keys your service trusts: anyone can sign with it.

ValueTest value
Secret seed, hex9d61b19deffd5a60ba844af492ec2cc44449c5697b326919703bac031cae7f60
Public key x, base64url11qYAYKxCrfVS_7TyWQHOg7hcvPapiMlrwIaaPcHURo
Thumbprint keyidkPrK_qmxVWaYVA9wwBF6Iuo3vVzz7TxHCTwXBygrS4k
UUID keyid11111111-2222-4333-8444-555555555555

This is the listing the stand-in registry returns for that key in every listed case:

Test listing
{
  "id": "vector-agent",
  "name": "vector agent",
  "isActive": true,
  "createdAt": null,
  "updatedAt": null,
  "keys": [
    {
      "id": "11111111-2222-4333-8444-555555555555",
      "agentId": "vector-agent",
      "keyName": "kPrK_qmxVWaYVA9wwBF6Iuo3vVzz7TxHCTwXBygrS4k",
      "status": "active",
      "algorithm": "ed25519",
      "publicKey": "LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUNvd0JRWURLMlZ3QXlFQTExcVlBWUt4Q3JmVlMvN1R5V1FIT2c3aGN2UGFwaU1scndJYWFQY0hVUm89Ci0tLS0tRU5EIFBVQkxJQyBLRVktLS0tLQo=",
      "jkt": "kPrK_qmxVWaYVA9wwBF6Iuo3vVzz7TxHCTwXBygrS4k",
      "expirationDate": null
    }
  ]
}

All of it is in tap-http-request-v1.json, as key and listing, beside the cases.

Failure cases

Each row below is a case in fixture.mjs, which runs against a stand-in registry on your machine and prints these results. The stand-in isn't Visa CLI, and its answers say nothing about a real agent.

What we sentResult
A correct request, with a UUID or a thumbprint keyid200 ok
The same request again403 tap_replayed
The body changed in transit403 tap_signature_invalid
The path changed in transit, or signed for a different host403 tap_signature_invalid
Signed by a different key403 tap_signature_invalid
A signature already expired403 tap_expired
A lifetime over 60 seconds403 tap_expired
A paid tag on an identity route403 tap_malformed
A Signature-Agent not on your allowlist403 tap_signature_agent_not_accepted
An unknown key, or a paused agent403 tap_key_unknown
Authorization, or another unsigned header, on the request403 tap_malformed
No signature at all403 tap_missing
A registry outage503 tap_trust_unavailable

What the verifier returns when it refuses

The example verifier returns one small object. These two are its real output: the first for a request with no signature, the second for a request it couldn't check because the registry answered 503.

Refused
{"ok":false,"code":"tap_missing","reason":"no_signature_headers","message":"The request has no Signature-Input and Signature headers.","judged":true,"status":403,"retryAfterSeconds":null}
Couldn't check
{"ok":false,"code":"tap_trust_unavailable","reason":"registry_unavailable","message":"The registry could not be reached. The agent has not been judged; retry later.","judged":false,"status":503,"retryAfterSeconds":null}

judged keeps these apart: true means the request was refused, and false means you couldn't check it, so it says nothing about the agent. This is the verifier's return value, not what your endpoint sends. A marketplace wraps it: the verifier's code becomes the response's detail, the response's code is task_requirement_not_met, and its reason is verification_failed or verifier_unavailable, as Refuse an unverified claim shows. Refusals lists every code and what to do about it. For what the registry itself answers, see a real lookup.

Updated 18 Nov 2026