braintree · Schema

CreditCardDetails

Details of the credit or debit card used in a transaction, with sensitive fields masked.

Properties

Name Type Description
bin string First six digits of the card number identifying the issuing bank.
last_4 string Last four digits of the card number.
card_type string The card network or type, such as Visa, MasterCard, American Express, or Discover.
expiration_month string Two-digit expiration month of the card.
expiration_year string Four-digit expiration year of the card.
cardholder_name string Name of the cardholder as it appears on the card.
country_of_issuance string Two-letter ISO 3166-1 country code of the card-issuing country.
View JSON Schema on GitHub

JSON Schema

braintree-creditcarddetails-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreditCardDetails",
  "title": "CreditCardDetails",
  "type": "object",
  "description": "Details of the credit or debit card used in a transaction, with sensitive fields masked.",
  "properties": {
    "bin": {
      "type": "string",
      "description": "First six digits of the card number identifying the issuing bank.",
      "pattern": "^\\d{6}$"
    },
    "last_4": {
      "type": "string",
      "description": "Last four digits of the card number.",
      "pattern": "^\\d{4}$"
    },
    "card_type": {
      "type": "string",
      "description": "The card network or type, such as Visa, MasterCard, American Express, or Discover."
    },
    "expiration_month": {
      "type": "string",
      "description": "Two-digit expiration month of the card.",
      "pattern": "^\\d{2}$"
    },
    "expiration_year": {
      "type": "string",
      "description": "Four-digit expiration year of the card.",
      "pattern": "^\\d{4}$"
    },
    "cardholder_name": {
      "type": "string",
      "description": "Name of the cardholder as it appears on the card."
    },
    "country_of_issuance": {
      "type": "string",
      "description": "Two-letter ISO 3166-1 country code of the card-issuing country."
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/braintree-creditcarddetails"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.