Visa Authorization Data API API

Data API will provide the APIs to expose the commercial data (i.e. card financial, invoice data) and authorization data through RESTful Services. The idea is to create an Enterprise Service with Restful architecture, which is robust, secured, scalable and high performance API. Data API provides functionality to fetch commercial data and authorization data through following API. 1: Transaction API, 2: Enhanced Data API, 3: Starter Data API, 4:Authorization Data (Authorization Data API is an on-demand web service which delivers the authorization details (approved/declined) to the end consumer for registered card accounts (PAN).)

Documentation

📖
GettingStarted
https://developer.visa.com/capabilities/pav/docs
📖
Authentication
https://developer.visa.com/capabilities/pav/docs-authentication
📖
GettingStarted
https://developer.visa.com/capabilities/suppliermatchingservice/docs-getting-started
📖
Authentication
https://developer.visa.com/capabilities/suppliermatchingservice/docs-authentication
📖
GettingStarted
https://developer.visa.com/capabilities/vcms/docs-getting-started
📖
Authentication
https://developer.visa.com/capabilities/vcms/docs-authentication
📖
GettingStarted
https://developer.visa.com/capabilities/card-on-file-data-inquiry/docs-getting-started
📖
Authentication
https://developer.visa.com/capabilities/card-on-file-data-inquiry/docs-authentication
📖
GettingStarted
https://developer.visa.com/capabilities/foreign_exchange/docs-getting-started
📖
Authentication
https://developer.visa.com/capabilities/foreign_exchange/docs-authentication
📖
Documentation
https://developer.visa.com/capabilities/foreign_exchange/reference#tag/Foreign-Exchange-Rates-API/operation/ForeignExchangeRates_v2%20-%20Latest
📖
GettingStarted
https://developer.visa.com/capabilities/paai/docs-getting-started
📖
Authentication
https://developer.visa.com/capabilities/paai/docs-authentication
📖
Documentation
https://developer.visa.com/capabilities/paai/reference#tag/Funds-Transfer-Attributes-Inquiry-API/operation/Funds%20Transfer%20Inquiry_v5%20-%20Latest
📖
GettingStarted
https://developer.visa.com/capabilities/vau/docs-getting-started
📖
Authentication
https://developer.visa.com/capabilities/vau/docs-authentication
📖
Documentation
https://developer.visa.com/capabilities/vau/reference#tag/Issuer-Stop-Advice-API/operation/stopAdviceUsingPOST_v1%20-%20Latest
📖
GettingStarted
https://developer.visa.com/capabilities/visa-bin-attribute-sharing-service/docs-getting-started
📖
Authentication
https://developer.visa.com/capabilities/visa-bin-attribute-sharing-service/docs-authentication
📖
GettingStarted
https://developer.visa.com/capabilities/vbds/docs-getting-started
📖
Authentication
https://developer.visa.com/capabilities/vbds/docs-authentication
📖
Documentation
https://developer.visa.com/capabilities/vbds/reference#tag/Authorization-Data-API/operation/getAuthDataUsingPOST_v1%20-%20Latest
📖
GettingStarted
https://developer.visa.com/capabilities/vcpm/docs-getting-started
📖
Authentication
https://developer.visa.com/capabilities/vcpm/docs-authentication
📖
Documentation
https://developer.visa.com/capabilities/vcpm/reference#tag/Visa-Card-Program-Enrollment/operation/enrollmentV2UsingPOST_v2%20-%20Latest
📖
GettingStarted
https://developer.visa.com/capabilities/visa-secure-remote-commerce/docs-getting-started
📖
Documentation
https://developer.visa.com/capabilities/visa-secure-remote-commerce/reference#tag/CTP-Checkout-API/operation/CTP%20Checkout%20API_v1%20-%20Latest
📖
Documentation
https://developer.visa.com/capabilities/visa-digital-enablement-lite/reference#tag/URL-Generation-API_/paths/1inapp1provision1appclip1url/post_v1%20-%20Latest
📖
GettingStarted
https://developer.visa.com/capabilities/visa-merchant-screening-service/docs-getting-started
📖
Authentication
https://developer.visa.com/capabilities/visa-merchant-screening-service/docs-authentication
📖
Documentation
https://developer.visa.com/capabilities/visa-merchant-screening-service/reference#tag/Termination-Inquiry-APIs/operation/RetroActive%20Alert%20of%20Terminated%20Merchants%20or%20Agent_v2%20-%20Latest
📖
Documentation
https://developer.visa.com/capabilities/vpa
📖
Documentation
https://developer.visa.com/capabilities/visa-in-app-provisioning
📖
Documentation
https://developer.visa.com/capabilities/merchant_search/docs
📖
Documentation
https://developer.visa.com/capabilities/vba/docs
📖
Documentation
https://developer.visa.com/capabilities/vmorc/docs
📖
Documentation
https://developer.visa.com/capabilities/visa_direct/docs
📖
Documentation
https://developer.visa.com/capabilities/atmlocator/docs
📖
Documentation
https://developer.visa.com/capabilities/vctc/docs

Specifications

Other Resources

OpenAPI Specification

visa-authorization-data-api-api-openapi.yml Raw ↑
openapi: 3.0.1
info:
  title: Foreign Exchange Rates Authorization Data API API
  description: 'Data API will provide the APIs to expose the commercial data (i.e. card financial, invoice data) and authorization data through RESTful Services. The idea is to create an Enterprise Service with Restful architecture, which is robust, secured, scalable and high performance API. Data API provides functionality to fetch commercial data and authorization data through following API. 1: Transaction API, 2: Enhanced Data API, 3: Starter Data API, 4:Authorization Data (Authorization Data API is an on-demand web service which delivers the authorization details (approved/declined) to the end consumer for registered card accounts (PAN).)'
  version: '1'
servers:
- url: https://sandbox.api.visa.com
  description: Sandbox server
security: []
tags:
- name: Authorization Data API
  description: 'Data API will provide the APIs to expose the commercial data (i.e. card financial, invoice data) and authorization data through RESTful Services. The idea is to create an Enterprise Service with Restful architecture, which is robust, secured, scalable and high performance API. Data API provides functionality to fetch commercial data and authorization data through following API. 1: Transaction API, 2: Enhanced Data API, 3: Starter Data API, 4:Authorization Data (Authorization Data API is an on-demand web service which delivers the authorization details (approved/declined) to the end consumer for registered card accounts (PAN).)'
paths:
  /vbs/dapi/v1/transactions/auth:
    post:
      tags:
      - Authorization Data API
      summary: Get Authorization Data
      description: Get Authorization Data
      operationId: getAuthDataUsingPOST
      parameters:
      - name: clientId
        in: header
        description: clientId
        required: true
        explode: false
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AuthRequestBody'
            examples:
              Default:
                summary: Default
                value:
                  authEndDateTime: '2022-09-30T01:40:00'
                  issuerId: '4444'
                  companyId: '90001'
                  processorId: '2'
                  regionId: '1'
                  accountList: []
                  pageSize: 25
                  filters:
                  - filterValues:
                    - 99
                    filterBy: authCatgCd
                  - filterValues:
                    - '0100'
                    filterBy: msgType
                  pageNum: '1'
                  authStartDateTime: '2022-09-01T01:40:00'
      responses:
        '200':
          description: ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthResponseBody'
              examples:
                Default:
                  summary: Default
                  value:
                    metaData:
                      totalMatchedRecords: 2
                      pageNum: 1
                    authTransactions:
                    - tranId: '973839033642644'
                      mrchCatgCd: '9399'
                      stipAdvcCd: '5'
                      msgType: '0100'
                      isoTranAmt: '100.04'
                      vpcPropActnCd: ' '
                      crdhBillAmt: '100.04'
                      authTime: '12:11:22'
                      stipSwtchRsnCd: ' '
                      tokenIndicator: '0'
                      issuer: '4444'
                      trgrSvcDesc: Airline merchants restriction
                      trgrSvcType: AIR
                      uniqSeqId: '5464545355453454'
                      vpcActTknCd: ' '
                      authCatgCd: '99'
                      authCatgDesc: PROCESSING ERROR
                      company: '90001'
                      partialAuthAmt: '100.04'
                      preAuth: 'Yes'
                      mrchNm: Amazon
                      tranProcCd: ' '
                      mrchStatePrvCd: ' '
                      crdTypCd: '4'
                      isoTranCurrCd: '840'
                      authStatusCode: '80'
                      mrchCtryCd: COLUMBIA
                      msgTypeDesc: AUTHORIZATION REQUEST
                      acctNum: '4000000000000003'
                      crdAcptrId: ' '
                      authRsnDesc: NO FINANCIAL IMPACT
                      crdhBillCurrCd: '840'
                      processor: '2'
                      crdhBillAmtUsd: '100.04'
                      authDt: '20220901'
                      mrchZipCd: '29201'
                      authIdResp: ' '
                      tokenNumber: '                '
                      stipSwtchRsnDesc: Not Applicable
                      mrchCity: San Jose
                      region: '1'
                    - tranId: '973492303180772'
                      mrchCatgCd: '9399'
                      stipAdvcCd: '5'
                      msgType: '0100'
                      isoTranAmt: '100.04'
                      vpcPropActnCd: ' '
                      crdhBillAmt: '100.04'
                      authTime: '12:11:22'
                      stipSwtchRsnCd: ' '
                      tokenIndicator: '0'
                      issuer: '4444'
                      trgrSvcDesc: Airline merchants restriction
                      trgrSvcType: AIR
                      uniqSeqId: '43454543534545'
                      vpcActTknCd: ' '
                      authCatgCd: '99'
                      authCatgDesc: PROCESSING ERROR
                      company: '90001'
                      partialAuthAmt: '100.04'
                      preAuth: 'Yes'
                      mrchNm: Amazon
                      tranProcCd: ' '
                      mrchStatePrvCd: ' '
                      crdTypCd: '4'
                      isoTranCurrCd: '840'
                      authStatusCode: '56'
                      mrchCtryCd: COLUMBIA
                      msgTypeDesc: AUTHORIZATION REQUEST
                      acctNum: '4000000000000014'
                      crdAcptrId: ' '
                      authRsnDesc: UNABLE TO LOCATE RECORD
                      crdhBillCurrCd: '840'
                      processor: '2'
                      crdhBillAmtUsd: '100.04'
                      authDt: '20220901'
                      mrchZipCd: '29201'
                      authIdResp: ' '
                      tokenNumber: '                '
                      stipSwtchRsnDesc: Not Applicable
                      mrchCity: San Jose
                      region: '1'
        '201':
          description: Created
        '400':
          description: One or more fields were in incorrect format
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrors'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '500':
          description: Something went wrong. Please try again later
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrors'
      x-operationVersions:
      - label: v1 - Latest
        operationPointer: '#/paths/~1vbs~1dapi~1v1~1transactions~1auth/post'
        default: false
      x-hideTryIt: true
components:
  schemas:
    AuthTransactionFormat:
      title: AuthTransactionFormat
      type: object
      properties:
        authDt:
          type: string
        issuer:
          type: string
        mrchNm:
          type: string
        region:
          type: string
        tranId:
          type: string
        acctNum:
          type: string
        company:
          type: string
        msgType:
          type: string
        preAuth:
          type: string
        authTime:
          type: string
        crdTypCd:
          type: string
        mrchCity:
          type: string
        mrchZipCd:
          type: string
        processor:
          type: string
        uniqSeqId:
          type: string
        authCatgCd:
          type: string
        authIdResp:
          type: string
        crdAcptrId:
          type: string
        isoTranAmt:
          type: string
        mrchCatgCd:
          type: string
        mrchCtryCd:
          type: string
        stipAdvcCd:
          type: string
        tranProcCd:
          type: string
        authRsnDesc:
          type: string
        crdhBillAmt:
          type: string
        msgTypeDesc:
          type: string
        tokenNumber:
          type: string
        trgrSvcDesc:
          type: string
        trgrSvcType:
          type: string
        vpcActTknCd:
          type: string
        authCatgDesc:
          type: string
        isoTranCurrCd:
          type: string
        vpcPropActnCd:
          type: string
        authStatusCode:
          type: string
        crdhBillAmtUsd:
          type: string
        crdhBillCurrCd:
          type: string
        mrchStatePrvCd:
          type: string
        partialAuthAmt:
          type: string
        stipSwtchRsnCd:
          type: string
        tokenIndicator:
          type: string
        stipSwtchRsnDesc:
          type: string
    MetaData:
      title: MetaData
      type: object
      properties:
        pageNum:
          type: integer
          format: int32
        totalMatchedRecords:
          type: integer
          format: int32
    ApiError:
      title: ApiError
      type: object
      properties:
        message:
          type: string
    AuthResponseBody:
      title: AuthResponseBody
      type: object
      properties:
        metaData:
          $ref: '#/components/schemas/MetaData'
        authTransactions:
          type: array
          items:
            $ref: '#/components/schemas/AuthTransactionFormat'
    AuthRequestBody:
      title: AuthRequestBody
      required:
      - authEndDateTime
      - authStartDateTime
      - companyId
      - issuerId
      - processorId
      - regionId
      type: object
      properties:
        filters:
          type: array
          items:
            $ref: '#/components/schemas/AuthRequestFilters'
        pageNum:
          maximum: 250
          minimum: 20
          type: integer
          description: page Number associated with API call.
          format: int32
        issuerId:
          maxLength: 15
          minLength: 1
          pattern: ^[0-9]+$
          type: string
          description: issuerId/bankId associated with the account
        pageSize:
          type: integer
          description: page Size associated with API call.
          format: int32
        regionId:
          maxLength: 5
          minLength: 1
          pattern: ^[0-9]+$
          type: string
          description: regionId associated with the account
        companyId:
          maxLength: 25
          minLength: 1
          pattern: ^[0-9]+$
          type: string
          description: companyId associated with the account
        accountList:
          type: array
          description: A list of account numbers
          items:
            type: string
        processorId:
          maxLength: 10
          minLength: 1
          pattern: ^[0-9]+$
          type: string
          description: processorId associated with the account
        authEndDateTime:
          type: string
          description: Transaction Auth time in GMT. Sample value --> 2022-09-01T01:40:00
          format: date-time
        authStartDateTime:
          type: string
          description: Transaction Auth time in GMT. Sample value --> 2022-09-01T01:40:00
          format: date-time
      description: Authorization Pull API Request format
    ApiErrors:
      title: ApiErrors
      type: object
      properties:
        errors:
          type: array
          items:
            $ref: '#/components/schemas/ApiError'
    AuthRequestFilters:
      title: AuthRequestFilters
      type: object
      properties:
        filterBy:
          type: string
          description: filter by clause. Supported values are authCatgCd and msgType
        filterValues:
          type: array
          items:
            type: string
      description: A List of optional filters
x-tagGroups:
- name: API Reference
  tags:
  - Foreign Exchange Rates API