Skip to Content

Acme Banco Azteca Mexico Payments (API)

This describes validations / allowed data formats for Acme payments going through Banco Azteca Mexico (AZTKMXMMXXX) over the Banco Azteca API. These will be validated by Acme and further validated by the bank. These rules may be stricter than what the bank requires.

Channel: API

  • Single payments go through Banco Azteca's API. Create them with Create a Payment.
  • Batch payments are not supported.

Common Definitions

  • All payments must be in MXN.
  • CLABE (Clave Bancaria Estandarizad) is the 18-digit standardized Mexican bank account number.

MX_SPEI

SPEI (Sistema de Pagos Electrónicos Interbancarios) for interbank transfers of Mexican Pesos (MXN).

  • receiver.bankAccountNumber is interpreted by length:
    • 18 digits: CLABE
    • 16 digits: card number
    • 10 digits: phone number
  • customerReference is the SPEI numeric reference (referencia numérica). It must be 1 to 7 numeric digits and greater than 0.
  • paymentDetails is the payment reference (concepto de pago) shown to the receiver.
  • SPEI payments are expected to be completed within an average of 30 seconds, according to information published by Banco de México.
fieldpattern / charsetmax lengthmandatory/optional
customerReferenceNumeric, 1 to 7 digits, greater than 0
Example: 1234567
7M
paymentDetailsLetters, digits and spaces30M
receiver.nameFree text60M
receiver.bankAccountNumberNumeric: 18 digits (CLABE), 16 digits (card), or 10 digits (phone)18M
receiver.localRoutingIdentifierBanxico bank code of the beneficiary bank
Example: 40128
M

Example Request:

{
  "type": "MX_SPEI",
  "amount": 150000,
  "currency": "MXN",
  "senderAccountId": "intacc_0H3BQNTQGBW2W",
  "customerReference": "1234567",
  "paymentDetails": "Payment for invoice 001",
  "receiver": {
    "name": "Juan Pérez García",
    "bankAccountNumber": "012180012345678901",
    "localRoutingIdentifier": "40012"
  }
}

BKTR

In-house book transfer between Banco Azteca (AZTKMXMMXXX) accounts.

  • paymentDetails is the debit reference (concepto de pago) shown on the sender's statement.
  • customerReference is the payment reference (concepto de pago) shown to the receiver.
  • If customerReference is omitted, Acme default the mandatory paymentDetails value in both fields.
  • The beneficiary account is always treated as a checking account.
  • Book transfers (traspasos) and comprobantes are expected to be completed within 1 minute.
fieldpattern / charsetmax lengthmandatory/optional
customerReferenceLetters, digits and spaces30O
paymentDetailsLetters, digits and spaces30M
receiver.nameFree text60M
receiver.bankAccountNumberNumeric Banco Azteca account number (14 or 20 digits)20M

Example Request:

{
  "type": "BKTR",
  "amount": 150000,
  "currency": "MXN",
  "senderAccountId": "intacc_0H3BQNTQGBW2W",
  "customerReference": "Pago de servicios",
  "paymentDetails": "Payment for invoice 001",
  "receiver": {
    "name": "Comercializadora Azteca SA de CV",
    "bankAccountNumber": "12345678901234"
  }
}

Bank references

bankReference is Banco Azteca's reference for the payment. bankReferences lists every reference Banco Azteca sent, keyed by Banco Azteca's field name.

TypebankReferenceAvailable from
MX_SPEIclaveRastreo, the SPEI tracking keyBanco Azteca accepts the payment
BKTRnumeroMovimiento, Banco Azteca's movement numberThe book transfer completes

Other keys in bankReferences:

  • folioOperacion: Banco Azteca's operation folio, sent with bankReference.
  • numeroMovimiento (MX_SPEI): Banco Azteca's movement number, when it sends one. At submit it usually sends 0, meaning no movement yet, and Acme leaves that out.
  • fechaOperacion: the operation date. It's a date, not a reference.

Good to know:

  • For MX_SPEI, the references show while the payment is still in progress.
  • For BKTR, if Banco Azteca sends a numeroMovimiento of 0, bankReference is null.
  • A rejected payment keeps the references Banco Azteca sent before rejecting it.
  • Until Banco Azteca answers, bankReference is null and bankReferences is {}.

A completed MX_SPEI payment returns:

{
  "bankReference": "210114010000151200I",
  "bankReferences": {
    "claveRastreo": "210114010000151200I",
    "folioOperacion": "44860",
    "fechaOperacion": "2026-05-19"
  }
}

Transactions and statements from Banco Azteca's reports

Banco Azteca also sends Acme report files for your account: movement reports during the day, and an end-of-day statement the next day. Once Acme subscribes your account to them (ask your Acme contact), they add the following to the Transactions API and the Statements API.

The counterparty on transactions

A SPEI transfer in or out (transactionType SPEI) and a book transfer between Banco Azteca accounts (transactionType BKTR) get their counterparty from Banco Azteca's report of the movement, for the kinds of transfer whose report detail Acme reads. Other movements of these types keep an empty counterparty: SPEI fees, corrections and cancellations, other kinds of SPEI transfer, and most kinds of book transfer.

Transactioncounterparty.namecounterparty.bankAccountNumbercounterparty.bankName
SPEI, CREDITThe sender's nameThe sender's accountThe sender's bank
SPEI, DEBITThe beneficiary's name, as entered for the transferThe beneficiary's accountThe beneficiary's bank
BKTR, CREDIT or DEBITThe other Banco Azteca customer's nameThe account number the report givesBanco Azteca

Good to know:

  • transactions.created comes when Acme gets the transaction from Banco Azteca's API, with an empty counterparty. Acme adds the counterparty later, from a report that lists the movement, and sends no webhook for it. Read the transaction again, or read the statement's transactions after statements.created: by then each has the counterparty its report gives.
  • Acme writes the counterparty from the first report that gives both the other party's name and account number, and never changes it after. If no report gives both, counterparty stays empty.
  • Names are as Banco Azteca's report gives them, and can be cut short.
  • Banco Azteca does not verify the beneficiary's name on a sent SPEI transfer: it is the name the transfer was sent with.
  • counterparty.bank and counterparty.localRoutingIdentifier stay empty: Banco Azteca's report gives neither.

Daily statements

Each end-of-day statement Banco Azteca sends becomes one statement in the Statements API, once every movement it lists is in the Transactions API, so it can come some time after the file arrives.

  • type is BAZ_EXTENDED_MOVEMENTS_REPORT, currency is MXN, and statementDate is the day it covers.
  • openingBalance is the account's booked balance before the day's first movement, and closingBalance after its last.
  • Banco Azteca sends some accounts an end-of-day statement every day, and others only on days with movements. A day with no movement and a statement file gets a statement whose openingBalance and closingBalance are both the previous day's closingBalance, when the account has a statement for the day before. A day with no statement file has no statement.
  • A statement adds no transactions: each transaction it lists already came from Banco Azteca's API, with its own transactions.created. Get them with GET /v1/transactions?statementId=<id>, without a dataSource filter.
  • Acme sends statements.created once for each new statement.

On this page