Thanx · JSON Structure

Consumer Api Card Envelope Structure

CardEnvelope schema from Thanx Consumer API

Type: object Properties: 1
RestaurantLoyaltyGuest EngagementMarketingCRMOnline OrderingWebhooksPointsRewardsCampaigns

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

Properties

card

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-envelope-structure.json",
  "name": "CardEnvelope",
  "description": "CardEnvelope schema from Thanx Consumer API",
  "type": "object",
  "properties": {
    "card": {
      "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"
        }
      }
    }
  }
}