Otter · JSON Structure

Public Api Payment Details Card Structure

Details of a card payment method.

Type: object Properties: 10
RestaurantOrder ManagementDeliveryOnline OrderingMenu ManagementAnalytics

PaymentDetailsCard is a JSON Structure definition published by Otter, describing 10 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

brandType expiration fundingType walletType lastFour walletLastFour authorizationCode applicationPreferredName fingerprint readMethod

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-structure/public-api-payment-details-card-structure.json",
  "name": "PaymentDetailsCard",
  "description": "Details of a card payment method.",
  "type": "object",
  "properties": {
    "brandType": {
      "$ref": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-card-brand-type-schema.json"
    },
    "expiration": {
      "type": "object",
      "properties": {
        "year": {
          "type": "int32",
          "description": "The expiration year of the card.",
          "example": 2025
        },
        "month": {
          "type": "int32",
          "description": "The expiration month of the card.",
          "example": 12
        }
      }
    },
    "fundingType": {
      "$ref": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-card-funding-type-schema.json"
    },
    "walletType": {
      "$ref": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-card-wallet-type-schema.json"
    },
    "lastFour": {
      "type": "string",
      "description": "The last four digits of the card.",
      "example": "1234"
    },
    "walletLastFour": {
      "type": "string",
      "description": "The last four digits of the wallet account.",
      "example": "5678"
    },
    "authorizationCode": {
      "type": "string",
      "description": "The authorization code for the card.",
      "example": "auth_code_123"
    },
    "applicationPreferredName": {
      "type": "string",
      "description": "The preferred name of the application.",
      "example": "MyApp"
    },
    "fingerprint": {
      "type": "string",
      "description": "The fingerprint of the card.",
      "example": "fingerprint_abc123"
    },
    "readMethod": {
      "type": "string",
      "description": "The method used to read the card.",
      "example": "chip"
    }
  }
}