Skip to main content
Visa Accept

Getting Started

Available for use by:
Issuer banks Acquirer banks Merchants Independent developers Issuer banks for small businesses

Product overview

Visa Accept Service B2B APIs enable financial institutions and their partners to embed payment acceptance capabilities for small‑scale sellers directly into digital banking and other mobile apps.

Use these APIs to manage the seller lifecycle, from enrollment through payment processing.

Common use cases include seller onboarding and setup, activation of acceptance credentials, processing card transactions, and supporting refunds tied to prior transactions.

Prerequisites

Complete these tasks before attempting any Visa Accept Service B2B API calls.

Standard setup requirements

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

Product-specific requirements

Production use is limited to approved Visa clients (typically financial institutions) who have obtained the applicable solution approval from Visa. Access may also depend on regional Visa Accept availability and sponsor approval where applicable.

You must complete the following before production integration:

  • Obtain the applicable solution approval from Visa
  • Complete onboarding approval process
  • Confirm regional Visa Accept availability for your target markets
  • Confirm your solution complies with the Visa Developer Center Terms of Use (including the Visa Accept Product Terms and Documentation) and any region-specific Visa product requirements, configurations or restrictions
  • Secure sponsor approval (if applicable) where required by regional requirements
  • For Mastercard transactions, you must establish a separate relationship with a Mastercard acquirer or CyberSource. No additional onboarding steps are required on the Visa side for Mastercard enablement. This is managed outside the Visa Accept API integration.

Environment hosts and URL structure

Environment hosts

Production Environment:

https://api.visa.com
Copied!

Sandbox Environment:

https://sandbox.api.visa.com
Copied!

URL structure

Visa Accept Service B2B API requests follow this URL pattern:

  • Environment host, such as sandbox, certification, or production
  • Product base path /va
  • Application context path /v1/apps/{appId}
  • Endpoint path, such as /appdetails

Example production request:

GET https://api.visa.com/va/v1/apps/{appId}/appdetails
Copied!

Authentication methods

Visa Accept Service B2B APIs use standard Visa Developer Portal authentication, with Message-Level Encryption as a consideration for sensitive data.

Required headers

Include the following headers in your API requests:

x-pay-token: {your-x-pay-token-value}
Content-Type: application/json
Copied!

The Content-Type header is required for requests with a body. GET requests typically do not require this header unless specified in the endpoint documentation.

Standard VDP authentication

Visa Accept Service B2B APIs use the following standard Visa Developer Platform authentication methods:

  • Two-Way SSL (Mutual TLS)
  • X-Pay Token Authentication

Configure both authentication mechanisms before you invoke Visa Accept Service B2B API operations.

Mutual TLS secures the connection between your application and Visa. X-Pay Token authentication validates individual API requests through the x-pay-token request header.

Include the x-pay-token header in every API request. For setup and configuration details, see the Visa Developer documentation for Two-Way SSL (Mutual TLS) and X-Pay Token Authentication.

One exception: the Risk Assessment Callback endpoint you implement is authenticated using mutual TLS instead of an x-pay-token header — Visa's calling proxy presents a client certificate that your endpoint must validate against Visa's Root CA.

Message-level encryption (MLE)

In addition to authentication, some API requests may require Message-Level Encryption (MLE) when transmitting sensitive data such as PII, PAN, or other payment credentials. MLE ensures end-to-end encryption of the request payload beyond standard TLS. Whether MLE is required depends on the data included in the request and your Visa Developer project configuration. Non-card enrollment and profile requests carry no PAN data, so MLE is less likely to apply to them — confirm with your Visa Developer project team. For endpoint-specific requirements and implementation details, see the Visa Developer Quick Start Guide.

Integration models

Before you write any code, confirm which integration model applies to your solution — it determines which endpoints you call and which parts of this guide apply to you.

Visa Accept provides two supported integration models that rely on the Visa Accept Service B2BAPIs as the technical foundation for onboarding, eligibility checks, device registration, and transaction processing.

You integrate the APIs directly in an API-Only model, where your application performs all credential-capture and encryption steps. Alternatively, you use a Hybrid model, where you combine the Visa-developed KiC Tap to Pay Ready Application SDK with the APIs to support secure card-present capture and the broader backend flow. These API-based options allow you to implement Visa Accept in a way that matches your technical architecture and security capabilities.

API-only model

In the API-Only model, your system performs all seller-side and device-side responsibilities, including capturing credentials, handling encryption, and implementing the steps required to accept a card payment. You call the Visa Accept Service B2B APIs for backend functions such as submitting card eligibility checks, seller enrollment, PAN or token registration, device registration, and payment processing.

This model supports clients that already have a secure method for capturing and protecting buyer cardholder data, such as an existing wallet, payment app, POS flow, or SoftPOS. Because you manage the capture and security steps directly, you select only the endpoints required for your use case. The modular structure of the APIs allows you to integrate specific Visa Accept lifecycle and payment flows without adopting SDK components.

Hybrid model (API + KiC SDK)

In the Hybrid model, you integrate the Visa-developed Kernel in the Cloud (KiC) Tap to Pay Ready Application SDK into your mobile application and use the Visa Accept Service B2B APIs for the backend steps of the flow. The SDK handles the device-side operations required for Tap-to-Phone and other card-present scenarios, and it initiates the corresponding API calls when your application initializes or invokes SDK functions.

This model also supports Pay-by-Link (PBL) independently of Tap-to-Phone. For card-not-present flows, sellers use PBL without enabling Tap-to-Phone. The SDK is embedded directly into your application, so sellers are not asked to download a separate third-party app.

SDKs and related integration guides are made available through your Visa Developer project after required approvals.

Your next step

Regardless of integration model, every integration starts the same way: retrieve your application configuration. Continue to Make Your First API Call to make that call and confirm authentication.

Make your first API call

Make your first Visa Accept Service B2B API call to confirm authentication and retrieve application configuration details.

Before you begin

Use this call first to confirm authentication and retrieve application settings for integration mode and account policies. You need a valid x-pay-token for your application before you can call any endpoint.

Steps

GET https://api.visa.com/va/v1/apps/{appId}/appdetails

Headers:

x-pay-token: {your-x-pay-token-value}
Copied!

This endpoint does not require a request body or Content-Type header.

Example: Retrieve Application Details

curl -X GET "https://sandbox.api.visa.com/va/v1/apps/{appId}/appdetails" \
        -H "x-pay-token: {your-x-pay-token-value}"
      
Copied!

Confirm success

  • 200 OK returns application configuration details including integration mode settings, account policies, and application-level feature flags: smsEnabled, isRefundEnabled, isWhatsAppEnabled, and isNonCard. isWhatsAppEnabled is a read-only, informational flag indicating whether WhatsApp is available as a configured communication channel for the application — it does not initiate or send a WhatsApp, SMS, or other message, and is not a standalone messaging API. Use it at runtime to decide whether to present WhatsApp as an available channel before launching the Hybrid/KiC SDK flow. Check isRefundEnabled before attempting refund transactions. For non-card apps, the response also includes an issuerAppMap — see Non-Card Seller Model.
  • 400 Bad Request indicates invalid request parameters or missing required headers.
  • 401 Unauthorized indicates authentication failure. This is standard Visa platform behavior and is not documented as an endpoint-specific response code for this operation.
  • 500 Internal Server Error indicates a server error. Retry the request or contact support.