Toku · Schema

CreateOrUpdateCustomerResponse

Campos de la respuesta al crear o actualizar un Customer.

FintechPaymentsB2BAutomationChile

Properties

Name Type Description
agent_phone_number string Número de teléfono del agente por defecto.
default_agent string Correo del agente por defecto que contactará al cliente cuando se abra un ticket.
default_receipt_type object Tipo de documento tributario que se emitirá por defecto para el cliente.
external_id string Identificador externo del cliente definido por la organización. Por defecto, las organizaciones usan el government_id como identificador externo del cliente.
fiscal_regime string Régimen fiscal del cliente, requerido para generar el recibo CFDI (México).
government_id string Identificador tributario o personal del cliente según su país. Por ejemplo, el RUT de una persona en Chile: 18.579.787-K.
id string Identificador público del cliente.
mail string Correo electrónico del cliente.
metadata object Campos adicionales definidos por cada organización para el cliente.
name string Nombre del cliente.
pac_mandate_id string Identificador del mandato PAC (Pago Automático de Cuentas) asociado al cliente.
phone_number string Número de teléfono del cliente.
rfc string RFC del cliente (México); si está presente, la deuda generará el documento tributario correspondiente.
secondary_emails array Lista de correos electrónicos secundarios del cliente.
send_mail boolean Determina si se debe emitir el webhook 'invoice.no_payment_method' al crear el cliente.
silenced_until string Fecha y hora en que expira el silenciamiento del cliente. Si es null, el cliente no está silenciado.
tax_zip_code string Código postal tributario del cliente, requerido para generar el recibo CFDI (México).
View JSON Schema on GitHub

JSON Schema

toku-create-or-update-customer-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/toku/json-schema/toku-create-or-update-customer-response-schema.json",
  "title": "CreateOrUpdateCustomerResponse",
  "description": "Campos de la respuesta al crear o actualizar un Customer.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/toku-customers-api-openapi.yml#/components/schemas/CreateOrUpdateCustomerResponse",
  "properties": {
    "agent_phone_number": {
      "description": "Número de teléfono del agente por defecto.",
      "maxLength": 16,
      "title": "Agent Phone Number",
      "type": "string"
    },
    "default_agent": {
      "description": "Correo del agente por defecto que contactará al cliente cuando se abra un ticket.",
      "maxLength": 128,
      "title": "Default Agent",
      "type": "string"
    },
    "default_receipt_type": {
      "allOf": [
        {
          "$ref": "#/$defs/ReceiptType"
        }
      ],
      "default": "bill",
      "description": "Tipo de documento tributario que se emitirá por defecto para el cliente."
    },
    "external_id": {
      "description": "Identificador externo del cliente definido por la organización. Por defecto, las organizaciones usan el government_id como identificador externo del cliente.",
      "maxLength": 128,
      "title": "External Id",
      "type": "string"
    },
    "fiscal_regime": {
      "description": "Régimen fiscal del cliente, requerido para generar el recibo CFDI (México).",
      "title": "Fiscal Regime",
      "type": "string"
    },
    "government_id": {
      "description": "Identificador tributario o personal del cliente según su país. Por ejemplo, el RUT de una persona en Chile: 18.579.787-K.",
      "title": "Government Id",
      "type": "string"
    },
    "id": {
      "description": "Identificador público del cliente.",
      "title": "Id",
      "type": "string"
    },
    "mail": {
      "description": "Correo electrónico del cliente.",
      "maxLength": 128,
      "title": "Mail",
      "type": "string"
    },
    "metadata": {
      "additionalProperties": {
        "type": "string"
      },
      "description": "Campos adicionales definidos por cada organización para el cliente.",
      "title": "Metadata",
      "type": "object"
    },
    "name": {
      "description": "Nombre del cliente.",
      "maxLength": 128,
      "title": "Name",
      "type": "string"
    },
    "pac_mandate_id": {
      "description": "Identificador del mandato PAC (Pago Automático de Cuentas) asociado al cliente.",
      "maxLength": 64,
      "title": "Pac Mandate Id",
      "type": "string"
    },
    "phone_number": {
      "description": "Número de teléfono del cliente.",
      "maxLength": 16,
      "title": "Phone Number",
      "type": "string"
    },
    "rfc": {
      "description": "RFC del cliente (México); si está presente, la deuda generará el documento tributario correspondiente.",
      "maxLength": 16,
      "title": "Rfc",
      "type": "string"
    },
    "secondary_emails": {
      "description": "Lista de correos electrónicos secundarios del cliente.",
      "items": {
        "type": "string"
      },
      "title": "Secondary Emails",
      "type": "array"
    },
    "send_mail": {
      "default": false,
      "description": "Determina si se debe emitir el webhook 'invoice.no_payment_method' al crear el cliente.",
      "title": "Send Mail",
      "type": "boolean"
    },
    "silenced_until": {
      "description": "Fecha y hora en que expira el silenciamiento del cliente. Si es null, el cliente no está silenciado.",
      "format": "date-time",
      "title": "Silenced Until",
      "type": "string"
    },
    "tax_zip_code": {
      "description": "Código postal tributario del cliente, requerido para generar el recibo CFDI (México).",
      "title": "Tax Zip Code",
      "type": "string"
    }
  },
  "required": [
    "id"
  ],
  "type": "object",
  "$defs": {
    "ReceiptType": {
      "description": "Documento tributario que se emite al cobrar: `bill` es una boleta, `invoice` una factura y `no_receipt` deja el cobro sin documento asociado.",
      "enum": [
        "bill",
        "invoice",
        "no_receipt"
      ],
      "title": "ReceiptType",
      "type": "string"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/toku-create-or-update-customer-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.