Asynchronous response from `POST /v1/validate?async=1` and `POST /v1/validate-ocr?async=1`, and from the same operations without `?async=1` when the Banxico query takes longer than 45 seconds. Contains the queued validation and the data needed to retrieve its result from `GET /v1/validations/{id}`.
Properties
Field
Type
Description
data
object
JSON:API wrapper for the queued resource.
Show moreShow less
type
string
JSON:API resource type. Always validation.
Show moreShow less
id
string (uuid)
Unique identifier of the created validation (UUID v4), usable in GET /v1/validations/{id}.
Show moreShow less
attributes
object
Fields of the queued resource.
Show moreShow less
validation_id
string (uuid)
UUID of the validation (identical to data.id).
Show moreShow less
status
string
Immediate status after queuing: queued with ?async=1 and processing when the Banxico query had already started and took longer than 45 seconds (meta.async_reason is sync_deadline).
Show moreShow less
etag_version
integer
Initial resource version for conditional polling with If-None-Match. Sending it as an ETag avoids unnecessary responses when the status has not changed.
Show moreShow less
enqueued_at
string (date-time)
ISO 8601 timestamp in UTC with an explicit Z suffix; for example,
"2026-05-01T05:14:38Z". The *_at, *_end, *_start, and *_date
fields follow this format. meta.datetime describes the same contract in
the response.
Show moreShow less
expires_at
string (date-time)
ISO 8601 timestamp in UTC with an explicit Z suffix; for example,
"2026-05-01T05:14:38Z". The *_at, *_end, *_start, and *_date
fields follow this format. meta.datetime describes the same contract in
the response.
Show moreShow less
retry_state
object
Automatic retry cycle state at queue time. Always present; if neither a body retry_policy nor a user default policy was provided, enabled=false and policy fields are null.
Show moreShow less
enabled
boolean
true when the validation has retries configured, even if its cycle has already ended (terminal_state).
Show moreShow less
max_retries
integer | null
Configured maximum number of retries; null when enabled is false.
Show moreShow less
interval_seconds
integer | null
Interval between retries in seconds, from 300 to 86400; null when enabled is false.
Show moreShow less
outcomes
array | null
Outcomes that trigger a retry: not_found, cep_unavailable, and error; null when enabled is false.
Show moreShow less
attempts_completed
integer
Number of retries completed so far.
Show moreShow less
next_attempt_at
TimestampUTC | null
Date of the next retry; null when none is scheduled.
Show moreShow less
resolved_at
TimestampUTC | null
Date when a retry produced valid; null until that occurs.
Show moreShow less
exhausted_at
TimestampUTC | null
Date when attempts were exhausted; null until that occurs.
Show moreShow less
cancelled_at
TimestampUTC | null
Cycle cancellation date; null until that occurs.
Show moreShow less
terminal_state
string | null
Cycle state: pending, resolved, exhausted, or cancelled. It is null when the validation has no retry cycle.
Show moreShow less
client_ref
string
Reference of your own sent in the request (client_ref), returned as sent. It only appears when the request included it.
Show moreShow less
meta
object
Control metadata for the polling flow.
Show moreShow less
field_names_notice
object
Field-name change notice. It only appears on POST /v1/validate, POST /v1/validate-ocr, GET /v1/validations, GET /v1/validations/{id}, POST /v1/validations/{id}/recheck, GET /v1/summary and GET /v1/finance/summary, the same operations that send the Deprecation and Sunset headers. With legacy_request_fields, the request used Spanish field names; it is also sent on error responses. With legacy_response_fields, the request used English names only and the notice refers to the Spanish fields the response duplicates; it is sent on successful responses only.
Show moreShow less
code*
string
Notice type. legacy_request_fields: the request used Spanish field names. legacy_response_fields: the response includes duplicated Spanish fields that will stop being sent.
Show moreShow less
message*
string
Notice text, in the response language (Accept-Language).
Show moreShow less
sunset*
string (date)
Cut-off date, the same one the Sunset header announces.
Show moreShow less
documentation_url*
string (uri)
Migration guide to the English names, in the response language.
Show moreShow less
legacy_fields
array
Spanish names the request sent. Only with legacy_request_fields.
Show moreShow less
quota
object
Validation quota as it stood after this request. Only present on responses that check or charge the quota (direct, OCR and asynchronous validations, also on the 429 for an exhausted quota) and it says the same as the X-Quota-* headers. limit and remaining are the hard cap, where service stops; included and included_remaining are what the plan includes at no extra charge, and overage_used is what went past that and is billed separately.
Show moreShow less
kind*
string
Where the quota comes from: cycle (the subscription cycle) or trial (the initial trial of an account that has not claimed its plan).
Show moreShow less
included*
integer
Validations included in the cycle. Equal to limit when the plan does not separate what is included from the cap.
Show moreShow less
used*
integer
Validations consumed in the cycle, counting this one.
Show moreShow less
included_remaining*
integer
Included validations left at no extra charge (max(0, included - used)).
Show moreShow less
overage_enabled*
boolean
true when overage is enabled: you can validate above included, up to limit, billed separately.
Show moreShow less
overage_used*
integer
Validations above included in the cycle; billed separately at the end of the period. 0 without overage.
Show moreShow less
limit*
integer
Hard cap of the cycle, equal to X-Quota-Limit.
Show moreShow less
remaining*
integer
Validations left before the cap, equal to X-Quota-Remaining.
Show moreShow less
resets_at*
string (date-time)
ISO 8601 timestamp in UTC with an explicit Z suffix; for example,
"2026-05-01T05:14:38Z". The *_at, *_end, *_start, and *_date
fields follow this format. meta.datetime describes the same contract in
the response.
Show moreShow less
async_reason
string
Reason for a 202 response to a request without ?async=1. sync_deadline: the Banxico query took longer than 45 seconds and the validation continues in the background. It only appears in that case.
Show moreShow less
next_poll_after_seconds
integer
Recommended seconds to wait before the first poll to GET /v1/validations/{id}. Polling before this interval can trigger the request limit.
Show moreShow less
playground
boolean
true when the validation belongs to the playground. Field reserved for compatibility: current asynchronous responses omit it, because the playground does not queue validations.