Validation
JSON:API SPEI validation resource returned by the individual lookup and synchronous validation.
ExtendsJsonApiResourceBase
Properties
| Field | Type | Description |
|---|---|---|
type* | string | JSON:API resource type. Always |
id* | string (uuid) | Unique identifier of the validation (UUID v4). |
attributes* | object | Canonical validation data. |
validation_type | string | Validation mode — |
origin | ValidationOrigin | null | Where the validation came from. |
is_playground | boolean |
|
status | string | Lifecycle state — |
banxico_status | string | null | Verdict reported by Banxico. Values: |
processing_time_ms | integer | null | Milliseconds spent processing the validation. |
request_data | object | Copy of the original request fields. |
send_date | string (date) | Transfer send date ( |
amount | number | Transfer amount in MXN. |
tracking_key | string | Identifier assigned by the sending bank (tracking key). |
numeric_reference | string | Numeric series of up to 7 digits identifying the transfer. It is not unique and may repeat. |
sender_bank | string | Sending bank: name or SPEI code in direct validation, SPEI code read from the receipt in OCR validation. |
receiver_bank | string | Receiving bank: name or SPEI code in direct validation, SPEI code read from the receipt in OCR validation. |
beneficiary_account | string | Receiving account (CLABE, card, or mobile/DiMo). |
candidate_accounts | array | Candidate accounts to try, in order, when the receipt account is masked. |
recipient_is_bank | boolean |
|
client_ref | string | Reference of your own sent in the request ( |
created_at | string (date-time) | Validation creation timestamp in ISO 8601 UTC. |
completed_at | string | null | Date and time of completion, in ISO 8601 UTC. |
enqueued_at | string | null | Queue-entry timestamp in ISO 8601 UTC. |
processing_started_at | string | null | Processing start timestamp in ISO 8601 UTC. |
expires_at | string | null | Expiration timestamp for queued validations in ISO 8601 UTC. After this, the validation moves to |
etag_version | integer | null | Incremental version used with |
image_path | string | null | Relative reference to the receipt, image or PDF, only when |
image_retained | boolean |
|
purged_at | string (date-time) | Date and time, in ISO 8601 UTC, when the validation was
purged. It only appears on a purged validation, which is left
as a tombstone: it keeps the verdict, dates, and
|
ocr_result | object | null | Fields extracted from the receipt, only when |
receipt_type | string | Receipt type ( |
tracking_key | string | Identifier assigned by the sending bank (tracking key). |
numeric_reference | string | Numeric series of up to 7 digits identifying the transfer. It is not unique and may repeat. |
send_date | string (date) | Transfer send date ( |
time | string | Transfer time ( |
amount | number | Transfer amount in MXN. |
sender_bank | string | Sending bank: name or SPEI code in direct validation, SPEI code read from the receipt in OCR validation. |
receiver_bank | string | Receiving bank: name or SPEI code in direct validation, SPEI code read from the receipt in OCR validation. |
sender_name | string | Sender name. |
beneficiary_name | string | Beneficiary name. |
beneficiary_account | string | Receiving account (CLABE, card, or mobile/DiMo). |
beneficiary_account_is_partial | boolean |
|
beneficiary_account_is_masked | boolean |
|
beneficiary_account_visible_first | string | First visible digits of the masked receiving account. |
beneficiary_account_visible_last | string | Last visible digits of the masked receiving account. |
beneficiary_account_total_length_hint | integer | Estimated total length of the receiving account. |
sender_account | string | Sending account (CLABE, card, or mobile/DiMo). |
sender_account_is_partial | boolean |
|
sender_account_is_masked | boolean |
|
sender_account_visible_first | string | First visible digits of the masked sending account. |
sender_account_visible_last | string | Last visible digits of the masked sending account. |
sender_account_total_length_hint | integer | Estimated total length of the sending account. |
payment_concept | string | Payment concept. |
other_accounts_detected | array | Other accounts detected in the receipt. |
receipts_detected | integer | Number of receipts found in the PDF. |
confidence | number | Extraction or normalization confidence score (0–1). |
confidence_by_field | object | Confidence score (0–1) per extracted field. |
sender_bank | number | Confidence score (0–1) for extracting |
receiver_bank | number | Confidence score (0–1) for extracting |
beneficiary_account | number | Confidence score (0–1) for extracting |
sender_account | number | Confidence score (0–1) for extracting |
amount | number | Confidence score (0–1) for extracting |
tracking_key | number | Confidence score (0–1) for extracting |
send_date | number | Confidence score (0–1) for extracting |
ocr_confidence | number | null | OCR score from 0 to 1, only when |
normalized_data | object | null | Fields normalized after OCR extraction, or the winning account in |
receipt_type | string | Receipt type ( |
tracking_key | string | Identifier assigned by the sending bank (tracking key). |
numeric_reference | string | Numeric series of up to 7 digits identifying the transfer. It is not unique and may repeat. |
send_date | string (date) | Transfer send date ( |
time | string | Transfer time ( |
amount | number | Transfer amount in MXN. |
sender_bank_code | string | SPEI code of the sending bank. |
sender_bank_name | string | Name of the sending bank. |
receiver_bank_code | string | SPEI code of the receiving bank. |
receiver_bank_name | string | Name of the receiving bank. |
beneficiary_account | string | Receiving account (CLABE, card, or mobile/DiMo). |
beneficiary_account_type | string | Receiving account type ( |
beneficiary_account_is_masked | boolean |
|
sender_account | string | Sending account (CLABE, card, or mobile/DiMo). |
sender_account_is_masked | boolean |
|
sender_account_visible_first | string | First visible digits of the masked sending account. |
sender_account_visible_last | string | Last visible digits of the masked sending account. |
sender_name | string | Sender name. |
beneficiary_name | string | Beneficiary name. |
payment_concept | string | Payment concept. |
confidence | number | Extraction or normalization confidence score (0–1). |
normalization_warnings | array | null | Normalization warnings present. They can explain an unexpected |
duplicate_of | object | Earlier validation that confirmed this transfer in the
same account, never another account. It appears only with a
|
id* | string (uuid) | Identifier of the earlier validation. |
created_at* | string (date-time) | Creation date and time of the earlier validation, in ISO 8601 UTC. |
account_conflict | object | Conflict between the sent account and the image account. It
only appears on |
sent_last4* | string | Last 4 digits of the account sent in |
read_last4* | string | Last 4 digits of the account shown in the image (the visible ones, 3 or 4, if it is masked). |
truncated_fields | array | Fields the receipt shows cut off with an ellipsis. It only
appears on |
candidate_match | object | Which of the |
index* | integer | Position (from 0) of the winning account in the |
account_last4* | string | Last 4 digits of the winning account. |
account_cross_checked | boolean |
|
is_masked | boolean | null | Whether the beneficiary account is masked in the receipt, be it a CLABE, a card or a phone number. It is included only when it is |
banxico_result | object | null | Data returned by Banxico, with |
operationDate | string | SPEI business day that Banxico assigned to the operation, as reported by the CEP ( |
processingTime | string | Operation time as reported by the CEP ( |
speiKey | string | Operation key within the SPEI system (the CEP's |
trackingKey | string | SPEI tracking key of the operation — the same one sent in the validation request. |
digitalSignature | string | Digital seal of the CEP ( |
certificateNumber | string | Serial number of the digital certificate Banxico used to seal the CEP. |
cadenaCda | string | Original data string of the operation ( |
senderBank | string | Sending bank of the operation, as identified by the CEP. |
senderName | string | Name of the operation's sender, as reported by the CEP. |
senderAccountType | string | Sender's account type (e.g. CLABE or card), as reported by the CEP. |
senderAccount | string | Sender's account number, as reported by the CEP — unmasked in this resource (a private lookup, owned by the validation's account). |
senderRfc | string | Sender's RFC (Mexican tax ID), as reported by the CEP. |
receiverBank | string | Receiving bank of the operation, as identified by the CEP. |
beneficiaryName | string | Name of the operation's beneficiary, as reported by the CEP. |
beneficiaryAccountType | string | Beneficiary's account type (e.g. CLABE or card), as reported by the CEP. |
beneficiaryAccount | string | Beneficiary's account number, as reported by the CEP. Unmasked in this resource (a private lookup, owned by the validation's account). Outgoing webhooks DO mask it to the last 4 digits in |
beneficiaryRfc | string | Beneficiary's RFC (Mexican tax ID), as reported by the CEP. |
amount | number (float) | Operation amount Banxico confirmed via the CEP, in pesos. |
iva | number (float) | VAT (IVA) of the operation reported by the CEP, in pesos. |
paymentConcept | string | Payment concept of the operation, as reported by the CEP. |
error_message | string | null | Human-readable error message when terminal. |
error_code | ValidationErrorCode | null | Stable code of the terminal error, when there is one. After
|
batch_id | integer | null | Bulk import job identifier, when applicable. |
batch_position | integer | null | Position within the job, starting at 1. |
retry_state | object | Full retry cycle state. Always present; if retries are not active, |
enabled | boolean |
|
max_retries | integer | null | Configured maximum number of retries; |
interval_seconds | integer | null | Interval between retries in seconds, from |
outcomes | array | null | Outcomes that trigger a retry: |
attempts_completed | integer | Number of retries completed so far. |
next_attempt_at | TimestampUTC | null | Date of the next retry; |
resolved_at | TimestampUTC | null | Date when a retry produced |
exhausted_at | TimestampUTC | null | Date when attempts were exhausted; |
cancelled_at | TimestampUTC | null | Cycle cancellation date; |
terminal_state | string | null | Cycle state: |
links | object | Related links (JSON:API |
self | string | Canonical link to the validation details. |
cep_xml | string | null | URL of the CEP in XML format. It only appears when |
cep_pdf | string | null | URL of the CEP in PDF format. It only appears when |
Used in operations
POST /v1/validatePOST /v1/validate-ocrGET /v1/validations/{id}POST /v1/validations/{id}/recheck