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.bankAccountNumberis interpreted by length:- 18 digits: CLABE
- 16 digits: card number
- 10 digits: phone number
customerReferenceis the SPEI numeric reference (referencia numérica). It must be 1 to 7 numeric digits and greater than 0.paymentDetailsis 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.
| field | pattern / charset | max length | mandatory/optional |
|---|---|---|---|
| customerReference | Numeric, 1 to 7 digits, greater than 0 Example: 1234567 | 7 | M |
| paymentDetails | Letters, digits and spaces | 30 | M |
| receiver.name | Free text | 60 | M |
| receiver.bankAccountNumber | Numeric: 18 digits (CLABE), 16 digits (card), or 10 digits (phone) | 18 | M |
| receiver.localRoutingIdentifier | Banxico 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.
paymentDetailsis the debit reference (concepto de pago) shown on the sender's statement.customerReferenceis the payment reference (concepto de pago) shown to the receiver.- If
customerReferenceis omitted, Acme default the mandatorypaymentDetailsvalue 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.
| field | pattern / charset | max length | mandatory/optional |
|---|---|---|---|
| customerReference | Letters, digits and spaces | 30 | O |
| paymentDetails | Letters, digits and spaces | 30 | M |
| receiver.name | Free text | 60 | M |
| receiver.bankAccountNumber | Numeric Banco Azteca account number (14 or 20 digits) | 20 | M |
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.
| Type | bankReference | Available from |
|---|---|---|
MX_SPEI | claveRastreo, the SPEI tracking key | Banco Azteca accepts the payment |
BKTR | numeroMovimiento, Banco Azteca's movement number | The book transfer completes |
Other keys in bankReferences:
folioOperacion: Banco Azteca's operation folio, sent withbankReference.numeroMovimiento(MX_SPEI): Banco Azteca's movement number, when it sends one. At submit it usually sends0, 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 anumeroMovimientoof0,bankReferenceisnull. - A rejected payment keeps the references Banco Azteca sent before rejecting it.
- Until Banco Azteca answers,
bankReferenceisnullandbankReferencesis{}.
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.
| Transaction | counterparty.name | counterparty.bankAccountNumber | counterparty.bankName |
|---|---|---|---|
SPEI, CREDIT | The sender's name | The sender's account | The sender's bank |
SPEI, DEBIT | The beneficiary's name, as entered for the transfer | The beneficiary's account | The beneficiary's bank |
BKTR, CREDIT or DEBIT | The other Banco Azteca customer's name | The account number the report gives | Banco Azteca |
Good to know:
transactions.createdcomes when Acme gets the transaction from Banco Azteca's API, with an emptycounterparty. 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 afterstatements.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,
counterpartystays 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.bankandcounterparty.localRoutingIdentifierstay 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.
typeisBAZ_EXTENDED_MOVEMENTS_REPORT,currencyisMXN, andstatementDateis the day it covers.openingBalanceis the account's booked balance before the day's first movement, andclosingBalanceafter 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
openingBalanceandclosingBalanceare both the previous day'sclosingBalance, 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 withGET /v1/transactions?statementId=<id>, without adataSourcefilter. - Acme sends
statements.createdonce for each new statement.