Thanx · JSON Structure

Consumer Api Card Structure

Card schema from Thanx Consumer API

Type: object Properties: 5
RestaurantLoyaltyGuest EngagementMarketingCRMOnline OrderingWebhooksPointsRewardsCampaigns

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

Properties

id user_id last4 type zip_code

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/thanx/refs/heads/main/json-structure/consumer-api-card-structure.json",
  "name": "Card",
  "description": "Card schema from Thanx Consumer API",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "example": "92b7b0dac4"
    },
    "user_id": {
      "type": "string",
      "example": "92b7b0dac4"
    },
    "last4": {
      "type": "string",
      "example": "1234"
    },
    "type": {
      "type": "string",
      "example": "visa"
    },
    "zip_code": {
      "type": "string",
      "example": "94105"
    }
  }
}