Getting started
API Developer Guide
What is Visa Business Data Solutions?
Visa Business Data Solutions gives financial institutions that issue commercial Visa cards API-based access to transaction data, enhanced merchant data, authorization events, and account reference data.
Use the API to power expense reporting, transaction analytics, and near-real-time authorization monitoring.
Who this API is for
This API is for issuers and Visa-approved third-party providers acting on behalf of an issuer. Your development team integrates Visa Business Data Solutions to surface data in client portals, expense management platforms, accounts payable systems, and internal analytics tools.
Main API capabilities
Visa Business Data Solutions exposes three core data capabilities through pull and push delivery methods:
- Transaction and enhanced data - pull settled transaction records and enriched merchant data by date range and grouping identifier
- Authorization data - access near-real-time authorization data through pull or push delivery: pull retrieves authorization records on demand, while push delivers authorization events to a registered endpoint
- Starter data - pull reference and organizational data, including company, cardholder, department, and card account setup records, on demand
Prerequisites
Standard VDP setup
Before you begin, complete the standard Visa Developer setup:
- Create a Visa Developer account
- Set up your development environment
- Review the Visa Developer Quick Start Guide
Setup requirements
Visa Business Data Solutions has two additional setup gates that your issuer organization and your development team control separately.
Setup responsibilities by party
| What the issuer controls | What you control | What Visa controls |
|---|---|---|
| Subscription to Visa Business Data Solutions for each data domain your program uses (transaction data, enhanced data, authorization events, Starter Data, and push delivery) | Subscription scope, including the authorized grouping identifiers: VCF Bank ID, Bank and Company ID, Licensed Bank ID (BID), or Multinational ID | A Visa Developer Platform (VDP) project that holds your application credentials |
| Calling API endpoints using company identifiers for companies to which your issuer has granted access | Push delivery only: a publicly reachable HTTPS endpoint registered with Visa before push notifications begin | Your Visa Implementation Manager maps your VDP project to your issuer's subscription, so API calls resolve to your authorized data scope |
| Configuring primary account number (PAN) masking, based on Payment Card Industry (PCI) compliance status |
PAN masking configuration applies per client - whether that client is a fintech, issuer, or another entity consuming the data. Organizations that are PCI compliant may be permitted to view the full PAN; organizations that are not PCI compliant are required to have PAN masking enabled. Your Visa Implementation Manager works with your organization to determine and apply the correct configuration.
There is no self-service way to confirm your subscription is active or that your VDP project is mapped to your issuer's subscription. Confirm both with your Visa Implementation Manager before you run production tests. Third-party providers must also be approved agents of a Visa member issuer.
Environment hosts and URL structure
Environment hosts
Visa Business Data Solutions uses the standard Visa Developer Portal environment hosts.
Environment hosts
| Environment | Base Host |
|---|---|
| Sandbox | https://sandbox.api.visa.com |
| Production | https://api.visa.com |
Sandbox returns example test data. It does not reflect your production subscription scope, authorized grouping identifiers, or PAN masking configuration.
Service paths
Visa Business Data Solutions endpoints are organized across two service path prefixes. Each prefix corresponds to a distinct functional group:
Service path prefixes
| Service Path Prefix | Functional Group | Purpose |
|---|---|---|
| cdsapi/commercial | Starter Data | Retrieve company, cardholder, department, and card account setup records |
| /vbs/dapi | Transaction, enhanced, and authorization data | Retrieve settled transaction records, enriched merchant data, and near-real-time authorization events |
Endpoint reference
Construct a full request URL by combining the environment host with the service path prefix and endpoint path.
Visa Business Data Solutions endpoints
| Method and Path | Purpose |
|---|---|
| POST cdsapi/commercial/v1/ob/starterdata | Retrieve company, cardholder, department, and card account setup records |
| POST /vbs/dapi/v1/transaction_enhanced | Retrieve settled transaction records and enriched merchant data |
| POST /vbs/dapi/v1/transactions/auth | Retrieve authorization records |
Example - sandbox request to retrieve transaction and enhanced data:
POST https://sandbox.api.visa.com/vbs/dapi/v1/transaction_enhanced
Example - production request:
POST https://api.visa.com/vbs/dapi/v1/transaction_enhanced
Push data delivery uses a webhook pattern. Visa sends exactly one record per notification to your registered endpoint. There is no client-initiated pull endpoint for push delivery.
Headers and authentication
Authentication
Visa Business Data Solutions uses Two-Way SSL (mutual TLS) for authentication. Authentication is handled at the Visa Developer Portal (VDP) gateway layer.
Configure your mTLS certificate through your VDP project settings before making API calls. For setup instructions, see Two-Way SSL (Mutual TLS) on the Visa Developer Portal.
Message Level Encryption
Some Visa Business Data Solutions endpoints require Message Level Encryption (MLE) in addition to Two-Way SSL. Two-Way SSL secures the connection.
MLE encrypts the message payload end to end, so it stays protected across intermediate network hops where TLS is terminated. Where MLE is required, both apply.
MLE enforcement by API
| API | Endpoint | MLE Enforcement |
|---|---|---|
| Authorization Data API (Pull) | POST /vbs/dapi/v1/transactions/auth | Mandatory |
| Transaction and Enhanced Data API | POST /vbs/dapi/v1/transaction_enhanced | Mandatory |
| Starter Data API | cdsapi/commercial | Optional, not enforced |
| Push Authorization Data API | Push delivery | Not applicable |
Where MLE is mandatory, Visa rejects unencrypted payloads in all environments (sandbox, certification, and production).
How MLE works on VDP:
- Encryption uses JSON Web Encryption (JWE) on top of TLS. Key encryption is RSA-OAEP-256 with a 2048-bit key. Payload encryption is AES-GCM (A128GCM).
- Configure MLE per project on the VDP dashboard. Generate a Key-ID, upload a certificate signing request (CSR), and download both the Visa server encryption certificate and your client certificate.
- Encrypt each request payload with the Visa public key. Decrypt each response with your private key.
- Include the keyId header on every MLE call. The JWE header carries alg (RSA-OAEP-256), enc (A128GCM), kid (your Key-ID), and iat (current time in milliseconds, valid for two minutes).
- Visa returns the encrypted response wrapped as { "encData": "<JWE token>" }.
For setup steps and code samples, see the Message Level Encryption reference in the Visa Developer Center.
Required headers
Include these headers on every request:
| Header | Required | Value |
|---|---|---|
| Content-Type | Yes | application/json |
| Accept | Yes | application/json |
For MLE-enforced endpoints, also include the keyId header described in Message Level Encryption.
For POST /vbs/dapi/v1/transactions/auth, VDP adds the clientId automatically - you do not send it.
All Visa Business Data Solutions endpoints have interactive testing disabled in the VDP portal. Test using your own HTTP client with valid mTLS credentials.
Your first API call
Recommended first call: Transaction and enhanced data
Start with POST /vbs/dapi/v1/transaction_enhanced and a narrow date range. This single call confirms your authentication, your Visa Developer Portal (VDP) project mapping, your subscription scope, and your authorized grouping identifiers. This endpoint is MLE-mandatory, so configure Message Level Encryption before you call it.
Request
Send a POST request to the sandbox endpoint:
POST https://sandbox.api.visa.com/vbs/dapi/v1/transaction_enhanced
Include the required headers:
Content-Type: application/json
Accept: application/json
keyId: {your-key-id}
Include in the request body:
Request body fields
| Field | Required | Description |
|---|---|---|
| regionId, processorId, issuerId, companyId | Yes | Your grouping identifiers. These must match the identifiers authorized for your subscription. |
| Date range | Yes | ISO datetime strings (example: 2025-07-01T01:59:59). Start narrow. |
| type | Yes | TRAN for transaction data, ENHN for enhanced data, or TRAN_ENHN for both |
| pagination.pageSize, pagination.pageNum | Yes | Set pageNum to 1 for the first call |
Expected response
A successful call returns HTTP 200 with a transactions array and a metadata object, both at the response root. Read metadata for the total matched record count and the current page.
An empty transactions array with HTTP 200 means the request was authorized but no records matched your parameters. That is a valid no-data result, not a scope error. An unauthorized or out-of-scope grouping identifier returns HTTP 404 on this endpoint instead.
Treat any 5xx response as transient and retry with backoff.
Sandbox returns example test data scoped to a test configuration that your Visa Implementation Manager provides. Confirm connectivity in sandbox first, then validate with production credentials.
Confirming successful integration
What a successful integration looks like
You have successfully integrated with Visa Business Data Solutions when these observable checkpoints pass.
- Non-empty transaction response - a POST /vbs/dapi/v1/transaction_enhanced call for a date range with known card activity returns a transactions array that contains at least one transaction record. An empty transactions array with HTTP 200 means the request was authorized but no records matched your parameters - it is not a scope error. An unauthorized or out-of-scope grouping identifier returns an error instead: HTTP 404 on the transaction and enhanced endpoint, HTTP 403 on the authorization endpoint.
- PAN masking matches subscription configuration - the primary account numbers (PANs) in the response are either full or masked, consistent with the PAN masking setting provisioned for your subscription. A mismatch typically indicates that the configuration associated with your VDP project subscription is incorrect.
- Enhanced data fields populate correctly - if your subscription includes enhanced data, enhanced fields will be returned when Visa has enhanced merchant information available for a transaction and can successfully associate it with the settlement record. As a result, responses may contain a mix of transactions with and without enhanced data. This is expected behavior and does not indicate a configuration or subscription issue.
- Pagination works end to end - a multi-page result set is fully retrieved by iterating through all pages. Your integration does not stop after page 1.
- Auth events are distinct from settled transactions - if your subscription includes the Authorization Data API (POST /vbs/dapi/v1/transactions/auth), the response contains authorization activity such as approvals and declines. These records represent a different stage of the payment lifecycle than the settled transactions returned by the Transaction and Enhanced Data API. As a result, receiving records for the same purchase from both APIs is expected behavior and should not be considered duplicate transaction data.
Response summary
| Response | Endpoint | What It Means | What To Do |
|---|---|---|---|
| 200 with records in transactions | POST /vbs/dapi/v1/transaction_enhanced | Authorized request, records matched | Iterate through all pages; do not stop after page 1 |
| 200 with empty transactions | POST /vbs/dapi/v1/transaction_enhanced | Authorized request, no records matched your parameters. Not a scope error. | Valid no-data result. If the date range has known card activity, confirm subscription scope, VDP project mapping, and authorized grouping identifiers with your Visa Implementation Manager. |
| 404 | POST /vbs/dapi/v1/transaction_enhanced | Grouping identifier outside your subscribed scope | Confirm subscription scope, VDP project mapping, and authorized grouping identifiers with your Visa Implementation Manager |
| 403 | POST /vbs/dapi/v1/transactions/auth | Grouping identifier outside your subscribed scope | Confirm subscription scope, VDP project mapping, and authorized grouping identifiers with your Visa Implementation Manager |
| 5xx | Any endpoint | Transient | Retry with backoff |