{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/credorax/main/json-schema/credorax-post-tokens-request-schema.json",
  "title": "PostTokensRequest",
  "x-generated": "2026-10-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/credorax-openapi-generated.yml#/components/schemas/PostTokensRequest",
  "type": "object",
  "properties": {
    "number": {
      "type": "string",
      "description": "Card number without any separators."
    },
    "expMonth": {
      "type": "string",
      "description": "Card expiration month."
    },
    "expYear": {
      "type": "string",
      "description": "Card expiration year."
    },
    "cvc": {
      "type": "string",
      "description": "Card security code."
    },
    "cardholderName": {
      "type": "string",
      "description": "Name of the cardholder."
    },
    "addressLine1": {
      "type": "string",
      "description": "First line of the billing address."
    },
    "addressLine2": {
      "type": "string",
      "description": "Second line of the billing address."
    },
    "addressCity": {
      "type": "string",
      "description": "City of the billing address."
    },
    "addressState": {
      "type": "string",
      "description": "State of the billing address."
    },
    "addressZip": {
      "type": "string",
      "description": "ZIP or postal code of the billing address."
    },
    "addressCountry": {
      "type": "string",
      "description": "Country represented as a three‑letter ISO country code."
    },
    "fraudCheckData": {
      "type": "object",
      "description": "Additional data used for fraud protection (secret‑key only)."
    },
    "merchantAccountId": {
      "type": "string",
      "description": "Identifier of the merchant account that this token should be associated with."
    }
  },
  "required": [
    "number",
    "expMonth",
    "expYear",
    "cvc",
    "cardholderName"
  ]
}