CEP / SPEI Payment Validation
Credits: 1 per call.
Validates a Mexican SPEI transfer against Banco de México’s official CEP service (“Comprobante Electrónico de Pago”) and returns the verified transfer details together with Banxico’s cryptographic proof. Use it to confirm that a SPEI payment actually settled, for reconciliation, payout confirmation, or fraud checks on a claimed transfer.
Authorizations
Body
- By tracking key
- By reference number
Identify the transfer by its tracking key or its reference number (choose the matching request body below), and provide the beneficiary account, bank code and amount to match. When the account is an 18-digit CLABE the bank code is resolved from it automatically; for a card account, include the bank code.
Clave de rastreo of the SPEI transfer, assigned by the ordering bank.
"BNET01002026060140000098765"
Operation date of the transfer, ISO YYYY-MM-DD.
"2026-06-01"
Banxico institution code (5 digits) of the ordering bank. Optional when you send an orderingAccount CLABE; required for a card account.
"40014"
Beneficiary account: 18-digit CLABE or 16-digit card number. For a CLABE the bank code is resolved automatically and the control digit is validated.
"012180001234567893"
Transfer amount to match against the CEP, as a decimal string in MXN.
"1500.00"
Reference number of the transfer. Use this instead of trackingKey.
"7654321"
Banxico institution code (5 digits) of the beneficiary bank. Optional when you send a beneficiaryAccount CLABE; required for a card account.
"40012"
Ordering (sender) account: 18-digit CLABE or 16-digit card number. Use instead of beneficiaryAccount.
"014320001234567896"
Include the CEP PDF in files (kind document, application/pdf). The XML is always returned for settled payments; the PDF only when this flag is true.
Response
CEP validation result (Strict Envelope Pattern).
High-level outcome. OK means the request was successfully processed (regardless of business result). ERROR means the request was rejected or could not be processed.
OK, ERROR Stable result type code. Includes generic codes (SUCCESS, INVALID_REQUEST, UNAUTHORIZED, SERVICE_UNAVAILABLE, INTERNAL_ERROR, RATE_LIMIT_EXCEEDED) plus endpoint-specific result codes — see this endpoint's response examples.
Human-readable summary of the result. Always in English (per Language Conventions in the API overview).
Unique identifier of this request, generated by the API Gateway. Propagated end-to-end for traceability.
ISO 8601 datetime with Mexico City offset (-06:00). Always set by the API Gateway when the response leaves the system.
Whether this request will be charged against the client's plan. Typically true for successful business results and false for validation errors or system errors that prevented processing.
Verified SPEI transfer details from the CEP. Null for non-located outcomes (CEP_NOT_FOUND) and error types.
Per-field error details. Present only on INVALID_REQUEST responses.