Skip to main content
Visa Intelligent Commerce

Getting Started

VDP Documentation

Available for use by:
Merchants Independent developers

Visa Intelligent Commerce (VIC) enables Agent Providers and Agent Enablers to securely conduct commerce on behalf of consumers using Visa credentials. The platform provides network-level controls, consumer-approved purchase instructions, agent validation, and tokenized payment credentials so that AI-powered commerce experiences can operate with transparency, trust, and accountability. The primary audience includes Agent Providers and Agent Enablers connecting directly to VIC.

Prerequisites

Standard Visa Developer setup: Before you begin integration, complete the standard Visa Developer setup:

Product-specific requirements:

Production access requires onboarding to Visa Intelligent Commerce and completion of applicable Visa onboarding processes. You must become a solution-approved participant within the VIC ecosystem and also need to onboard to the Trusted Agent Protocol (TAP), Visa Token Service (VTS), Visa Payment Passkeys (VPP), related certification programs, and compliance and security requirements. As part of TAP, you must also complete registration through the Visa Agent Registry Service (VARS) so that Visa can validate your agent signature at the time of credential retrieval.

Card eligibility is limited to tokenizable, Cloud Token Framework (CTF)-enrolled credit, debit, and prepaid cards. Confirm the consumer's card meets these criteria before initiating card enrollment.

You need, before your first VIC call:

  • A Visa-provisioned externalClientId (Token Requestor ID, TRID) and externalAppId (External Application Profile Identifier), obtained through VTS
  • A Business Identifier (BID), obtained from your regional product team alongside your TRID. If you are a new Visa client, you need a new BID. If you already hold one, it can be reused when obtaining a new Token Requestor ID
  • A consumer's tokenId, the identifier of a previously provisioned token (vProvisionedTokenID)
  • Visa Payment Passkeys set up with device binding for the consumer
  • An asymmetric public key onboarded with Visa, used to encrypt the encryptedInstruction payload (JSON Web Encryption (JWE), up to 512,000 bytes)
  • Mutual Transport Layer Security (mTLS), also called two-way SSL, client certificate configuration

Choose an integration model

Two integration models are available based on your business model and who holds the Token Requestor ID (TRID). Choose the one that matches how you operate:

Integration models

Aspect Agent Provider (token requestor, TR) Agent Enabler (token requestor and token service provider, TR-TSP)
Token requestor The agent The Agent Enabler, proxying for downstream Agent Providers
Who holds the TRID The Agent Provider, as a single branded agent The Agent Enabler. Downstream Agent Providers do not hold their own TRID
Authentication Agent-managed Visa Payment Passkeys Managed per downstream Agent Provider
Connection to VIC Agent connects directly to VIC The Agent Enabler connects directly to VIC and populates client.authorization and client.relationshipId on every call
Best for A single branded agent managing its own token lifecycle, device binding, and production operations An enabler managing identifier mapping, onboarding, and certification across multiple downstream Agent Providers

Environment hosts and URL structure

Visa Intelligent Commerce uses a three-environment progression: Sandbox, then Certification, then Production. Each environment requires Visa approval before you advance to the next.

Environments

Environment Base URL Data Notes
Sandbox https://sandbox.api.visa.com Test data only Develop and test your integration. Establishing connectivity takes approximately 10 business days
Certification https://cert.api.visa.com Test data only Validate your integration meets Visa requirements (CTE)
Production https://api.visa.com Live data Requires CTE certification

Example production request:

POST https://api.visa.com/vacp/v2/credentials-for-instruction
Copied!

Onboarding API

An Agent Enabler can onboard an Agent Provider into VTS by calling the Onboarding API. To onboard a token requestor, the token service provider must call the Onboarding API and provide the required information to uniquely identify the token requestor.

The token service provider uses the Onboarding API to register a token requestor, configure tokenization settings, and establish relationships with acquirers and token service providers. This is the foundational step before any Primary Account Number (PAN) enrollment or token provisioning.

Instances in which the client may need to use the Onboarding API include:

  • Initial registration as a token requestor
  • Setting up tokenization profiles and channel security context
  • Establishing relationships with acquirers and token service providers
  • Configuring notification endpoints for token status and payment events

Endpoint: POST /vts/merchant-api-ic/onboarding (Sandbox); POST /vts/merchant-api/onboarding (Live)

Request includes

  • Company details (legal name, website, city, country code, contact email)
  • Business identification (country-specific value-added tax (VAT) or ID)
  • Tokenization configuration (profileName, applicationId, postbackURL, device binding enforcement)
  • Channel security context (such as SHARED_SECRET, deviceCerts, vtsCerts)
  • Relationships (externalClientId, acquirerId, acquirerMerchantId) and token requestor settings

Required fields

  • serviceContext, the onboarding purpose (such as TOKENIZATION)
  • companyPrimaryLegalName, legal name of the token requestor
  • primaryWebsiteURL, publicly accessible website of the token requestor
  • companyCity, the city of the principal place of business
  • companyCountryCode, ISO-3166-1 alpha-2 country code
  • primaryContactEmail, email address for official communications
  • tokenizationConfiguration, object defining one or more tokenization profiles, including:
    • profileName, unique name for the tokenization profile
    • applicationId, application identifier that Visa issues
    • channelSecurityContext, security model used for the channel (such as SHARED_SECRET)
  • trSettings, token requestor configuration options such as lifecycle update participation, with tokenRequestorType set to AI_AGENT and eComClientSetting set to Ecom_Enabler (both required)

One of these identification methods is required:

  • businessIdentificationType and businessIdentificationValue (such as VAT or Employer Identification Number (EIN)), or
  • acquirerIdentifiers (acquirerId and acquirerMerchantId), identifying the acquiring relationship

Optional fields

  • companyPrimaryTradeName, doing business as (DBA) name or trade name if different from legal name
  • companyAddress details (street, state/province, postal code, phone)
  • dunsNumber, Dun & Bradstreet identifier
  • primaryContactFirstName / primaryContactLastName, named business contact
  • tokenRequestorServiceTypes, supported services (such as Purchase)
  • relationships, relationship to the token requestor being onboarded (by externalClientId)

Persist from response

  • Relationship IDs for future API calls
  • Tokenization configuration details (profileName, channelSecurityContext, device binding enforcement)
  • Notification endpoint URLs for event handling
  • Acquirer identifiers for transaction processing

High-level process

  1. The token service provider collects the required legal, business, and technical information for the token requestor.
  2. The token service provider submits an onboarding request to VTS with organization details, identification credentials, tokenization profile, and relationship configuration.
  3. VTS validates the request and registers the token requestor, applying the specified tokenization and security settings.
  4. VTS returns onboarding and relationship identifiers, which the client must persist.
  5. The token requestor uses the onboarding identifiers to perform subsequent VTS operations, including PAN enrollment, token provisioning, and lifecycle management.

Expected outcome

Upon successful completion of the onboarding process:

  • The token requestor is registered and authorized within Visa Token Service.
  • Tokenization profiles and channel security context are established.
  • Acquirer and token service provider relationships are configured for transaction processing.
  • Notification endpoints are activated for token and payment event handling.
  • The token requestor is now eligible to invoke downstream VTS APIs to enroll PANs, provision tokens, and manage token lifecycle events in a secure and compliant manner.

AI agent skills integration for VIC

Visa maintains a public AI skills repository at Visa AI skills repository that provides pre-built context and guidance for AI agents implementing Visa APIs. Installing these skills gives Claude Code-compatible agents awareness of VIC workflows, authentication patterns, and common integration pitfalls, without requiring the agent to be manually prompted each session.

The visa-best-practices skill

The repository includes the visa-best-practices skill, which is the primary integration aid for VIC. The skill automatically activates when an agent is working on:

  • Card enrollment, purchase instructions, or payment credentials
  • Authentication setup (mTLS)
  • Message-level encryption (MLE/JWE)
  • Credential and environment configuration (Sandbox → Certification → Production)
  • Machine Payments Protocol (MPP) / HTTP 402 payment flows

When active, the skill loads concise reference material covering VIC's integrated services (Tokenization, Authentication, Purchase Instructions, Signals), authentication gotchas, and links to official documentation and live code examples via llms.txt.

Installation

Prerequisites

Claude Code CLI (npm install -g @anthropic-ai/claude-code) or any Model Context Protocol (MCP)-compatible agent at runtime.

Project-level install (applies to one integration project):

npx skills add visa/ai
Copied!

Or manually:

git clone https://github.com/visa/ai.git
cp -r ai/skills/visa-best-practices <your-project>/.claude/skills/
Copied!

Global install (applies across all projects on the machine):

cp -r ai/skills/visa-best-practices ~/.claude/skills/
Copied!

How the skill activates

Skills follow a describe-then-load pattern. The skill's SKILL.md contains a natural-language description. The agent runtime reads this at startup and loads the full skill content when the user's task matches the description. For VIC work, any mention of card enrollment, purchase instructions, VTS, or Visa authentication is sufficient to trigger loading.

No additional configuration is required (the skill is self-contained and references live documentation rather than embedding static API specs).

Integration approaches covered

Once installed, the skill guides an agent working on a VIC integration toward the appropriate approach for its architecture, with code examples fetched dynamically from llms.txt:

  • MCP-Based, streamable HTTP transport for agent systems using MCP (sandbox.mcp.visa.com)
  • Direct API, REST calls with MLE encryption for traditional backends
  • VDC Hello World, initial connectivity verification before beginning full VIC integration