Toku · Schema

PublicCashMxReferenceRequest

Datos para crear una Referencia de pago en efectivo en México.

FintechPaymentsB2BAutomationChile

Properties

Name Type Description
account object Identificador de la Account a la que se asocia la Referencia.
customer string Identificador del Customer que pagará la Referencia en tienda.
gateway object Cadena de tiendas con la que se crea la Referencia: `oxxo` y `tapi` para cash MX PST, `paycash` y `dapp` para cash MX PSP. Si se omite, se usa la que la Organization tenga configurada por defecto.
invoices array Identificadores de los Invoices que la Referencia salda. Obligatorio cuando la configuración del gateway usa Referencias de un solo uso.
View JSON Schema on GitHub

JSON Schema

toku-public-cash-mx-reference-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/toku/json-schema/toku-public-cash-mx-reference-request-schema.json",
  "title": "PublicCashMxReferenceRequest",
  "description": "Datos para crear una Referencia de pago en efectivo en México.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/toku-efectivo-api-openapi.yml#/components/schemas/PublicCashMxReferenceRequest",
  "properties": {
    "account": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "Identificador de la Account a la que se asocia la Referencia.",
      "title": "Account"
    },
    "customer": {
      "description": "Identificador del Customer que pagará la Referencia en tienda.",
      "title": "Customer",
      "type": "string"
    },
    "gateway": {
      "anyOf": [
        {
          "$ref": "#/$defs/CashMxGateway"
        },
        {
          "type": "null"
        }
      ],
      "description": "Cadena de tiendas con la que se crea la Referencia: `oxxo` y `tapi` para cash MX PST, `paycash` y `dapp` para cash MX PSP. Si se omite, se usa la que la Organization tenga configurada por defecto."
    },
    "invoices": {
      "default": [],
      "description": "Identificadores de los Invoices que la Referencia salda. Obligatorio cuando la configuración del gateway usa Referencias de un solo uso.",
      "items": {
        "type": "string"
      },
      "title": "Invoices",
      "type": "array"
    }
  },
  "required": [
    "customer"
  ],
  "type": "object",
  "$defs": {
    "CashMxGateway": {
      "description": "Cadenas de tiendas donde un Customer puede pagar una Referencia en efectivo en México.",
      "enum": [
        "oxxo",
        "paycash",
        "dapp",
        "tapi"
      ],
      "title": "CashMxGateway",
      "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-public-cash-mx-reference-request"
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.