Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.
get_api_artifactsOne API's artifacts, grouped by type.
get_openapiThe primary OpenAPI for this API.
find_similar_apisAPIs that look like this one.
apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
resolveTurn a domain, URL or GitHub org into the provider it belongs to.
find_cohortsEvery scored population of providers in the catalog.
All 92 tools →
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/versapay-reference-data-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
version: 1.3.35
title: Versapay API Reference Reference Data API
contact:
name: Versapay Support
url: https://www.versapay.com/support
email: support@versapay.com
x-logo:
url: https://developers.versapay.com/images/logo.png
termsOfService: https://www.versapay.com/terms-of-use
license:
name: Copyright 2022 Versapay. All Rights Reserved.
description: 'For convenience purposes only, Versapay can supply third party reference data to its partners and users. This data can be used to implement client-side tooling (e.g., fraud mitigation services), but it may not be redistributed. The accuracy and completeness of this third party data cannot be guaranteed and is for informational and convenience purposes only. Contact support@versapay.com for eligibility for reference data enablement.
'
servers:
- url: https://secure.versapay.com
description: Production
- url: https://uat.versapay.com
description: UAT
tags:
- name: Reference Data
description: 'For convenience purposes only, Versapay can supply third party reference data to its partners and users. This data can be used to implement client-side tooling (e.g., fraud mitigation services), but it may not be redistributed. The accuracy and completeness of this third party data cannot be guaranteed and is for informational and convenience purposes only. Contact support@versapay.com for eligibility for reference data enablement.
'
paths:
/api/reference_data/v1/response_codes:
get:
tags:
- Reference Data
summary: Retrieve list of supported error response codes
description: "View the list of possible error response codes that may be returned as part of a `response_code` key (and/or `gateway_error_*` related keys) in Order Transactions API. For instance the following response payload highlights a `211` response code:\n\n```\n{\n \"success\": false,\n \"transaction\": \"8ATB...586N\",\n \"authorization\": \"5dl1...ady5\",\n \"gateway_token\": \"71...77\",\n \"order\": \"12345\",\n \"wallet\": \"2ZW4...8Q6V\",\n \"credit_card\": \"CC4X...WXGX\",\n \"transactions\": [\n {\n \"token\": \"...\",\n \"amount_in_cents\": 13151,\n \"type\": \"transaction\",\n \"transaction_type\": \"request_money\",\n \"state\": \"declined\",\n \"created_at\": \"2023-11-14T12:13:29-05:00\",\n \"step_types\": [\n \"TransactionSteps::CardSaleStep\"\n ],\n \"action\": \"sale\",\n \"payment_method\": \"credit_card\",\n \"wallet\": \"2ZW4...8Q6V\",\n \"credit_card\": \"CC4X...WXGX\",\n \"settlement_token\": \"MA4P...LD5P\",\n \"currency\": \"usd\",\n \"approved_amount_cents\": 0,\n \"fee_amount_cents\": 0,\n \"fee_exempt\": true,\n \"gateway_response\": {...},\n \"gateway_token\": \"7126377\",\n \"gateway_authorization_response\": \"520.014: INVALID ACCOUNT NUMBER\",\n \"gateway_error_scope\": \"tpro4\",\n \"gateway_error_code\": \"520.014\",\n \"gateway_error_message\": \"INVALID ACCOUNT NUMBER\",\n \"authorization_response\": \"500\",\n \"avs_response\": \"Z\",\n \"credit_card_bin\": \"410040\",\n \"credit_card_masked_number\": \"XXXXXXXXXXXX9700\",\n \"credit_card_brand\": \"visa\",\n \"credit_card_expiry\": \"082026\"\n }\n ],\n \"response_code\": 211\n}\n```\nThe /api/reference_data/v1/response_codes payload reports `211` as follows:\n```\n{\n \"code\": 211,\n \"description\": \"Account number invalid\"\n}\n```\n"
responses:
'200':
description: Successful Operation
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/ResponseCode'
/api/reference_data/v1/country_codes:
get:
tags:
- Reference Data
summary: Retrieve list of countries and mapped provinces
description: Get the list of country codes and mapped provinces.
responses:
'200':
description: Successful Operation
content:
application/json:
schema:
$ref: '#/components/schemas/ResponseCountryCodes'
/api/reference_data/v1/bin:
get:
tags:
- Reference Data
summary: Get Bank Identification Number (BIN) reference data
description: 'View the Bank Identification Number (BIN) reference data, including bank names, phone number, URLs, country, brand and card types.
'
responses:
'200':
description: Successful Operation
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/BIN'
'401':
description: Unauthorized
content:
application/json:
schema:
type: object
properties:
error:
type: string
description: Error message
example: You need to sign in or create an account before continuing.
/api/reference_data/v1/bin/{bin}:
get:
tags:
- Reference Data
summary: Get Bank Identification Number (BIN) reference data
description: 'View the Bank Identification Number (BIN) reference data for a given bin number, including bank names, phone number, URLs, and card types.
'
parameters:
- name: bin
in: path
description: Bank Identification Number. It has to have of at least 6 digits.
required: true
schema:
$ref: '#/components/schemas/BankIdentificationNumber'
responses:
'200':
description: Successful Operation
content:
application/json:
schema:
type: object
properties: null
$ref: '#/components/schemas/BIN'
'401':
description: Unauthorized
content:
application/json:
schema:
type: object
properties:
error:
type: string
description: Error message
example: You need to sign in or create an account before continuing.
components:
schemas:
BankIdentificationNumber:
type: string
maxLength: 8
minLength: 6
pattern: ^\d{6,8}$
example: '411111'
BankName:
type: string
example: BANK OF VERSAPAY
CountryAlpha3Code:
type: string
pattern: ^[A-Z]{3}$
example: USA
maxLength: 3
minLength: 3
description: The uppercase 3-character ISO country code
ResponseCountryCodes:
type: object
properties:
countries:
type: object
description: Mapping of country codes (ISO alpha-2) to country names
additionalProperties:
type: string
example: Canada
example:
CA: Canada
US: United States
AU: Australia
AF: Afghanistan
AX: Åland Islands
provinces:
type: object
description: Mapping of country codes to a list of provinces/states codes and names
additionalProperties:
type: array
items:
type: object
additionalProperties:
type: string
example:
NSW: New South Wales
example:
- ACT: Australian Capital Territory
- NSW: New South Wales
- VIC: Victoria
example:
CA:
- 'ON': Ontario
- QC: Quebec
US:
- CA: California
- NY: New York
- TX: Texas
AU:
- ACT: Australian Capital Territory
- NSW: New South Wales
- VIC: Victoria
BankCardCategory:
type: string
example: PREPAID
BIN:
type: object
properties:
url:
$ref: '#/components/schemas/URL'
bin:
$ref: '#/components/schemas/BankIdentificationNumber'
phone:
$ref: '#/components/schemas/Phone'
type:
$ref: '#/components/schemas/BankCardType'
country:
$ref: '#/components/schemas/CountryAlpha3Code'
category:
$ref: '#/components/schemas/BankCardCategory'
brand:
$ref: '#/components/schemas/BankCardBrand'
bank:
$ref: '#/components/schemas/BankName'
ResponseCode:
type: object
properties:
code:
type: string
example: 100
description:
type: string
example: Approved
BankCardBrand:
type: string
example: VISA
URL:
type: string
format: url
example: https://www.example.com
Phone:
type: string
example: 503-685-4116
description: cannot begin with 1 or 0
BankCardType:
type: string
example: CREDIT
x-tagGroups:
- name: Versapay API
description: Introduction to the Versapay API.
tags:
- Overview
- Versioning & Compatibility
- Environments
- Rate Limits
- Authentication
- Webhooks
- Watermark & Limit
- name: Collaborative AR
description: Operations available for Collaborative AR integration.
tags:
- Reference Data
- Onboarding
- Ecommerce Integration
- Orders
- Order Transactions
- Testing Order Transactions
- Gift Cards
- Card Present EMV
- Settlement Reporting
- Wallets
- Customers
- Invoices
- Autopay
- Invoicing Payments
- Divisions
- Notifications
- Collaboration
- File Imports