Thanx · Schema

CardEnvelope

CardEnvelope schema from Thanx Consumer API

RestaurantLoyaltyGuest EngagementMarketingCRMOnline OrderingWebhooksPointsRewardsCampaigns

Properties

Name Type Description
card object
View JSON Schema on GitHub

JSON Schema

consumer-api-card-envelope-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "CardEnvelope",
  "description": "CardEnvelope schema from Thanx Consumer API",
  "$id": "https://raw.githubusercontent.com/api-evangelist/thanx/refs/heads/main/json-schema/consumer-api-card-envelope-schema.json",
  "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"
        }
      }
    }
  }
}