{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-pay/json-schema/google-pay-issuer-schema.json",
  "title": "Issuer",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-pay-issuer-api-openapi.yml#/components/schemas/Issuer",
  "type": "object",
  "properties": {
    "homepageUrl": {
      "type": "string",
      "description": "URL for the issuer's home page."
    },
    "smartTapMerchantData": {
      "$ref": "#/$defs/SmartTapMerchantData"
    },
    "name": {
      "type": "string",
      "description": "The account name of the issuer."
    },
    "callbackOptions": {
      "$ref": "#/$defs/CallbackOptions"
    },
    "issuerId": {
      "type": "string",
      "format": "int64",
      "description": "The unique identifier for an issuer account. This is automatically generated when the issuer is inserted."
    },
    "contactInfo": {
      "$ref": "#/$defs/IssuerContactInfo"
    }
  },
  "$defs": {
    "AuthenticationKey": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "format": "int32",
          "description": "Available only to Smart Tap enabled partners. Contact support for additional guidance."
        },
        "publicKeyPem": {
          "type": "string",
          "description": "Available only to Smart Tap enabled partners. Contact support for additional guidance."
        }
      }
    },
    "CallbackOptions": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string",
          "description": "The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot."
        },
        "updateRequestUrl": {
          "type": "string",
          "description": "URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated."
        }
      }
    },
    "IssuerContactInfo": {
      "type": "object",
      "properties": {
        "alertsEmails": {
          "type": "array",
          "description": "Email addresses which will receive alerts.",
          "items": {
            "type": "string"
          }
        },
        "name": {
          "type": "string",
          "description": "The primary contact name."
        },
        "phone": {
          "type": "string",
          "description": "The primary contact phone number."
        },
        "email": {
          "type": "string",
          "description": "The primary contact email address."
        }
      }
    },
    "SmartTapMerchantData": {
      "type": "object",
      "properties": {
        "smartTapMerchantId": {
          "type": "string",
          "format": "int64",
          "description": "Available only to Smart Tap enabled partners. Contact support for additional guidance."
        },
        "authenticationKeys": {
          "type": "array",
          "description": "Available only to Smart Tap enabled partners. Contact support for additional guidance.",
          "items": {
            "$ref": "#/$defs/AuthenticationKey"
          }
        }
      }
    }
  }
}