CLI docs

Visa Agent Directory services (optional)Schemas

Visa Agent Directory services (optional)TAP specification

Schemas

Every request and response schema, linked from each operation.

Markdownllms.txt
On this page

VARS schemas (where they come from), all 15 public VMRS schemas, and the payload and error shapes Visa CLI uses.

VARS · AgentCreate
namestringrequired

Human-readable agent name.

domainstringrequired

Unique HTTP(S) agent domain. Visa CLI derives a stable, unique host per agent.

descriptionstringrequired

Agent purpose.

contactEmailstring · emailrequired

Routable contact, unique on your TRID: a duplicate answers 409, which Basis Theory reports as AGENT_CONTACT_EMAIL_CONFLICT, and a plus-address counts as a different email. Visa CLI sends a stable plus-address alias of the verified contact.

tokenRequestorIdstringrequired

Token requestor identifier. Visa CLI sends a label of its own for each agent, not the agent's ID; get the correct identifier for your VDP integration.

keysarray of KeyCreate

Optional initial public signing keys.

VARS · AgentUpdate
namestring

The agent's name. Visa CLI sends it.

descriptionstring

The agent's description. Visa CLI sends it.

contactEmailstring · email

Updated verified contact. Visa CLI does GET → PUT → GET to confirm the result.

domainstring

Listed as changeable; Visa CLI doesn't send it. Confirm against the current authorized schema before using.

VARS · KeyCreate
keyNamestringrequired

Human-readable / stable key name. Visa CLI sends the RFC 7638 thumbprint (JKT).

algorithmstringrequired

For Ed25519 keys, send lowercase ed25519. For any other value, check the current VARS schema, which needs authorized access.

publicKeystringrequired

Base64 of the complete UTF-8 SPKI PEM public key, including PEM markers and line breaks. This is a public signing key.

expirationDatestring · date-time

UTC expiry. Visa CLI requests now + 365 days. Always send it.

addressstring

Base58 of the raw 32-byte Ed25519 public key, up to 512 characters. It's per-key data from VARS 26.08, and Visa CLI sends it.

VARS · KeyUpdate
expirationDatestring · date-time

The field Visa CLI updates today; use an explicit UTC instant.

keyNamestring

The key's name. Visa CLI doesn't send it, so confirm it against the authorized schema.

algorithmstring

The key's algorithm. The current allowed values aren't public.

publicKeystring

The public key, as base64 SPKI PEM if your authorized schema accepts it.

VARS · AgentResponse
idstringrequired

The agent's ID; use this as agentId in VARS paths.

namestringrequired

Registered agent name.

domainstringrequired

Registered agent domain.

isActivebooleanrequired

Agent activation. Agents created through the API are active by default.

tokenRequestorIdstringrequired

Registered token requestor identifier.

createdAtstring · date-timerequired

Creation timestamp.

updatedAtstring · date-timerequired

Update timestamp.

descriptionstring

Agent description.

contactEmailstring

VARS returns contact data to credentialed callers; the public lookup routes have a separate response without it.

keysarray of KeyResponse

Associated key records.

VARS · KeyResponse
idstringrequired

The key's ID; use this as keyId in VARS paths.

agentIdstring

The agent this key belongs to; optional in what Visa CLI reads.

keyNamestringrequired

Registered key name.

statusstring

Current key state. Prefer this field and treat active, case-insensitively, as active. Don't guess activation from an unknown status.

isActiveboolean

For older responses. Read it only when status is absent.

algorithmstringrequired

Visa CLI uses ed25519 today.

publicKeystring

Base64 SPKI PEM public key. Compare it to the exact bytes you registered.

expirationDatestring · date-time

Can be a UTC timestamp with no zone; normalize it when you read it.

addressstring

Optional per-key public address.

VARS · KeysListResponse
agentIdstringrequired

The agent's ID.

agentNamestring

Listed in the contract.

keysarray of KeyResponserequired

Page of public key records.

paginationPaginationMeta

Page details. The linked schema has the fields.

VARS · PaginationMeta
hasNextboolean

Whether another page follows; Visa CLI reads this to decide whether to continue.

currentPageinteger

Read by Visa CLI.

totalPagesinteger

Read by Visa CLI.

totalItemsinteger

Visa CLI doesn't need it.

pageSizeinteger

Listed in the contract.

hasPrevboolean

Listed in the contract.

VARS · MessageResponse
messagestringrequired

Success message.

VARS · ErrorResponse
detailstringrequired

Resource error. Gateway errors can have another shape.

VARS · ValidationError
detailstringrequired

Validation error summary.

errorsarray of objectrequired

Per-field errors; do not reuse this envelope for VMRS.

VMRS · MerchantUpdate
merchantUrlstring

Base merchant URL minimum characters: 1 · maximum characters: 512

merchantNamestring

Doing business as (DBA) name minimum characters: 1 · maximum characters: 255

cryptogramTypestring

Authentication method Values: TAVV, DAVV

apiIntegrationsApiIntegrations

The merchant's API integrations. The linked schema has the fields.

webIntegrationsWebIntegrations

The merchant's web integrations. The linked schema has the fields.

paymentPayloadTypestring

Credential format Values: UNENCRYPTED, ENCRYPTED

protocolInteractionsarray of ProtocolInteraction

List of protocol interaction configurations

acceptanceRelationshipsarray of string

List of acceptance network relationships

VMRS · KeyResponse
idstringrequired

Unique key identifier (UUID)

keyNamestringrequired

Key name

isActivebooleanrequired

Whether the key is active

algorithmstringrequired

Key wrapping algorithm

createdAtstring · date-timerequired

Creation timestamp

updatedAtstring · date-timerequired

Last update timestamp

merchantIdstringrequired

Merchant identifier

merchantNamestringrequired

Merchant name

encryptionKeystringrequired

Base64-encoded asymmetric public key

encryptionTypestringrequired

Content encryption algorithm

expirationDatestring · date-time

Key expiration date

VMRS · KeyCreate
keyNamestringrequired

Unique identifier for the key minimum characters: 1 · maximum characters: 255

algorithmstringrequired

Key wrapping algorithm Values: RSA-OAEP, RSA-OAEP-256, RSA-OAEP-384, RSA-OAEP-512

encryptionKeystringrequired

Base64-encoded asymmetric public key (DER, PEM, JWK, or OpenSSH format)

encryptionTypestringrequired

Content encryption algorithm Values: A256GCM, A128GCM, C20P, A256CBC_HS512, A128CBC_HS256, A256CCM, A128CCM

expirationDatestring · date-time

Key expiration date (must be in the future)

VMRS · CredentialsResponse

This schema is published but no operation in the public OpenAPI references it. A credentials-delivery path or HTTP method cannot be derived from its name.

vmidstring

Visa Merchant ID

messagestring

Message indicating default response when merchant not found

merchantIdstringrequired

Merchant unique identifier

merchantUrlstringrequired

Base merchant URL

merchantNamestringrequired

Doing business as (DBA) name

encryptionKeyKeyResponseWithoutMerchant

The merchant's encryption key. The linked schema has the fields.

cryptogramTypestring

Authentication method

paymentPayloadTypestring

Credential format

VMRS · MessageResponse
messagestringrequired

Response message

VMRS · KeyResponseWithoutMerchant
idstringrequired

Unique key identifier (UUID)

keyNamestringrequired

Key name

isActivebooleanrequired

Whether the key is active

algorithmstringrequired

Key wrapping algorithm

createdAtstring · date-timerequired

Creation timestamp

updatedAtstring · date-timerequired

Last update timestamp

encryptionKeystringrequired

Base64-encoded asymmetric public key

encryptionTypestringrequired

Content encryption algorithm

expirationDatestring · date-time

Key expiration date

VMRS · ProtocolInteraction
urlstringrequired

Endpoint URL for protocol interaction minimum characters: 1 · maximum characters: 512

metadataobject

Additional protocol configuration (max 10KB)

protocolstringrequired

Communication protocol type Values: ucp, acp, x402

documentationUrlstring

URL to protocol documentation maximum characters: 512

VMRS · ErrorResponse
detailstringrequired

Error description

VMRS · ApiIntegrations
urlstringrequired

Endpoint URL for API integration minimum characters: 1 · maximum characters: 512

metadataobject

Additional API configuration (max 10KB)

integrationSpecstringrequired

Integration specification URL minimum characters: 1 · maximum characters: 512

VMRS · KeyUpdate
keyNamestring

Unique identifier for the key minimum characters: 1 · maximum characters: 255

algorithmstring

Key wrapping algorithm Values: RSA-OAEP, RSA-OAEP-256, RSA-OAEP-384, RSA-OAEP-512

encryptionKeystring

Base64-encoded asymmetric public key

encryptionTypestring

Content encryption algorithm Values: A256GCM, A128GCM, C20P, A256CBC_HS512, A128CBC_HS256, A256CCM, A128CCM

expirationDatestring · date-time

Key expiration date (must be in the future)

VMRS · MerchantCreate
vmidstring

Visa Merchant ID (optional) minimum characters: 1 · maximum characters: 255

indicatorstringrequired

Transaction processing type Values: TAP, ACG, BOTH

merchantUrlstringrequired

Base merchant URL minimum characters: 1 · maximum characters: 512

merchantNamestringrequired

Doing business as (DBA) name for agent interactions minimum characters: 1 · maximum characters: 255

encryptionKeyKeyCreate

The merchant's encryption key. The linked schema has the fields.

cryptogramTypestring

Authentication method (default: DAVV) Values: TAVV, DAVV · default: "DAVV"

apiIntegrationsApiIntegrations

The merchant's API integrations. The linked schema has the fields.

webIntegrationsWebIntegrations

The merchant's web integrations. The linked schema has the fields.

paymentPayloadTypestring

Credential format (default: UNENCRYPTED) Values: UNENCRYPTED, ENCRYPTED · default: "UNENCRYPTED"

protocolInteractionsarray of ProtocolInteraction

List of protocol interaction configurations

acceptanceRelationshipsarray of string

List of acceptance network relationships

VMRS · WebIntegrations
urlstringrequired

Endpoint URL for web integration minimum characters: 1 · maximum characters: 512

metadataobject

Additional integration configuration (max 10KB)

integrationSpecstringrequired

Integration specification URL minimum characters: 1 · maximum characters: 512

VMRS · MerchantKeysListResponse
keysarray of KeyResponseWithoutMerchantrequired

List of encryption keys

merchantIdstringrequired

Merchant identifier

merchantNamestringrequired

Merchant name

VMRS · ValidationError
detailarray of object

No description published.

VMRS · MerchantResponse
idstringrequired

Unique merchant identifier (UUID)

keysarray of KeyResponseWithoutMerchant

List of encryption keys associated with the merchant

vmidstring

Visa Merchant ID

isActivebooleanrequired

Whether the merchant is active

createdAtstring · date-timerequired

Creation timestamp

indicatorstringrequired

Transaction processing type

updatedAtstring · date-timerequired

Last update timestamp

merchantUrlstringrequired

Base merchant URL

merchantNamestringrequired

Doing business as (DBA) name

cryptogramTypestring

Authentication method

apiIntegrationsApiIntegrations

The merchant's API integrations. The linked schema has the fields.

webIntegrationsWebIntegrations

The merchant's web integrations. The linked schema has the fields.

merchantMetadataobject

Additional merchant metadata

paymentPayloadTypestring

Credential format

protocolInteractionsarray of ProtocolInteraction

List of protocol interaction configurations

acceptanceRelationshipsarray of string

List of acceptance network relationships

Visa CLI · TapSignatureBasePayload
FieldType / constraintsPresence
kindliteral tap_signature_baseRequired
methodUppercase method, 1–16 charactersRequired
authority1–255 charactersRequired
pathAbsolute path, max 4096 characters, no CR/LFRequired
coveredComponents4–38 names, each 1–128 charactersRequired
paymentHeaderNamepayment-signature / x-payment / authorization / noneRequired
paymentHeaderValueString, max 16384 charactersRequired
request_stagechallenge / requestOptional
schemeliteral httpsOptional
headersNormalized merchant application header pairsOptional
queryString, max 8192 charactersOptional
contentDigestString, max 256 charactersOptional
created, expiresInteger epoch seconds; profile-specific lifetime enforcedRequired
keyId43-character JKT or canonical UUID assigned by the Visa Agent DirectoryRequired
nonce32 random bytes as canonical base64Required
tagagent-payer-auth / agent-browser-authRequired
signatureBaseExact RFC 9421 string, 1–65536 characters; the server rebuilds itRequired
Visa CLI · Problem
code

Shared error family; branch on this field.

detail

Specific refusing check; diagnostic.

stage

Shared error stage.

message,,fix

Explanation and next-step guidance.

retryable

Boolean.

request_id

Correlation identifier.

retry_after_seconds

Nullable nonnegative integer; Retry-After when applicable.

continuation

Nullable continuation object on the REST Problem.

turn,,next,,owner

Optional agent-envelope fields.

Public registry routes return the shared code shape. Older examples describe an error property; branch on code.

Updated 18 Nov 2026