Visa BIN Files Metadata API

Get Bin Files Metadata including number of files, file names, sizes, checksum, creation date.

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-bin-files-metadata-api-openapi.yml Raw ↑
openapi: 3.0.1
info:
  title: Foreign Exchange Rates BIN Files Metadata API
  description: Get Bin Files Metadata including number of files, file names, sizes, checksum, creation date.
  version: '1'
servers:
- url: https://sandbox.api.visa.com
  description: Sandbox server
security: []
tags:
- name: BIN Files Metadata
  description: Get Bin Files Metadata including number of files, file names, sizes, checksum, creation date.
paths:
  /filedeliveryservice/v1/binFilesMetadata:
    post:
      tags:
      - BIN Files Metadata
      summary: BIN Files Metadata
      description: Get BIN Files Metadata including number of files, file names, sizes, checksum, creation date.
      operationId: BinFiles metadata lookup using POST
      requestBody:
        description: BIN Files Metadata request payload
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/binFilesMetadataRequest'
            examples:
              Request 1:
                summary: Request 1
                value:
                  requestHeader:
                    requestTS: '2021-02-10T12:26:50.002'
                    requestMessageId: reqstMsgID1
                  requestData:
                    paymentAccountType: P
              Request 2:
                summary: Request 2
                value:
                  requestHeader:
                    requestTS: '2021-02-10T12:26:50.002'
                    requestMessageId: reqstMsgID1
                  requestData:
                    paymentAccountType: T
        required: true
      responses:
        '200':
          description: BinFilesMetadata Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/binFilesMetadataResponse'
        '400':
          description: Request Data Invalid
          content: {}
        '500':
          description: Error Codes
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorCodes'
      x-operationVersions:
      - label: v1 - Latest
        operationPointer: '#/paths/~1filedeliveryservice~1v1~1binFilesMetadata/post'
        default: false
      x-codegen-request-body-name: Bin Files Metadata Request
components:
  schemas:
    requestData:
      title: requestData
      required:
      - paymentAccountType
      type: object
      properties:
        paymentAccountType:
          maxLength: 1
          minLength: 1
          type: string
          description: Identifier for whether account is a PAN ('P') or Token ('T')
          example: P
    responseStatus:
      title: responseStatus
      type: object
      properties:
        statusCode:
          maxLength: 6
          minLength: 6
          type: string
          description: Status Code of the Service Request
          example: CDI000
        statusDescription:
          maxLength: 250
          minLength: 0
          type: string
          description: A description of the Status Code. A brief description indicating the result of the Service Request
          example: Success
    binFilesMetadataResponse:
      title: BinFilesMetadataResponse
      type: object
      properties:
        responseData:
          $ref: '#/components/schemas/responseData'
        responseHeader:
          $ref: '#/components/schemas/responseHeader'
        responseStatus:
          $ref: '#/components/schemas/responseStatus'
    fileDetails:
      title: fileDetails
      required:
      - checkSum
      - fileName
      - fileSize
      - rowCount
      type: object
      properties:
        checkSum:
          maxLength: 32
          minLength: 32
          type: string
          description: File checksum
          example: bb8e4c75d51001dd35b40dc6209eccc2
        fileName:
          maxLength: 255
          minLength: 30
          type: string
          description: File Name
          example: VBASS_AR_LEVEL1_04282021_20.csv
        fileSize:
          minimum: 0
          type: number
          description: File Size in bytes (from Linux OS)
          example: 1770048
        rowCount:
          minimum: 0
          type: number
          description: Number of records in the file (excludes the column header record at the top of the csv file)
          example: 30000
    responseData:
      title: responseData
      required:
      - fileDetails
      - filesCreationDate
      - paymentAccountType
      - totalNumberOfFiles
      type: object
      properties:
        fileDetails:
          type: array
          description: List of BinFiles MetaData
          items:
            $ref: '#/components/schemas/fileDetails'
        filesCreationDate:
          maxLength: 10
          minLength: 0
          type: string
          description: Files creation date in YYYY-MM-DD Format
          format: YYYY-MM-DD
          example: '2023-02-17'
        paymentAccountType:
          maxLength: 1
          minLength: 1
          type: string
          description: Account Type for which file details have been retrieved, i.e., Account Range (PAN) or Token Range, Possible values - P or T
          example: P
        totalNumberOfFiles:
          minimum: 0
          type: integer
          description: Total number of files for a requested payment account type
          example: 1
    requestHeader:
      title: requestHeader
      required:
      - requestMessageId
      - requestTS
      type: object
      properties:
        requestTS:
          maxLength: 23
          minLength: 23
          type: string
          description: 'Date and time at which request is sent (up to milliseconds in UTC). Ex: 2020-09-19T00:00:00.000'
          format: YYYY-MM-DDThh:mm:ss.sss
          example: '2021-04-29T22:05:00.000'
        requestMessageId:
          maxLength: 30
          minLength: 1
          type: string
          description: A string which uniquely identifies the service request. Requesting application need to create this unique message Id
          example: reqMsgId456
    responseHeader:
      title: responseHeader
      type: object
      properties:
        responseTS:
          maxLength: 23
          minLength: 23
          type: string
          description: Date and time at which Response is sent (up to milliseconds in UTC)
          format: YYYY-MM-DDThh:mm:ss.sss
          example: '2023-02-17T06:31:31.194'
        requestMessageId:
          maxLength: 30
          minLength: 1
          type: string
          description: A string which uniquely identifies the service request. Requesting application need to create this unique message Id
          example: reqMsgId456
        responseMessageId:
          maxLength: 33
          minLength: 33
          type: string
          description: A combination of Service Id, Application Id, an Integer and current Timestamp that uniquely identifies the current request-response processing
          example: 106VDP87035320230217063131177
    binFilesMetadataRequest:
      title: BinFilesMetadataRequest
      type: object
      properties:
        requestData:
          $ref: '#/components/schemas/requestData'
        requestHeader:
          $ref: '#/components/schemas/requestHeader'
    errorCodes:
      title: ErrorCodes
      type: object
      properties:
        CDI001:
          type: object
          description: Internal service failure
        CDI003:
          type: object
          description: Missing Required Attributes
        CDI012:
          type: object
          description: Request header length is invalid
        CDI071:
          type: object
          description: Request data invalid
        CDI092:
          type: object
          description: No data
        CDI098:
          type: object
          description: Invalid RequestTS format
        CDI251:
          type: object
          description: Client configuration incomplete, reach out to BINAttributes@visa.com
x-tagGroups:
- name: API Reference
  tags:
  - Foreign Exchange Rates API