← Back to schema index

BeneficiaryImportPreviewResponse

Response from `GET /v1/beneficiaries/imports/{id}/preview`. Paginated parsed rows with a job snapshot in `meta`. CLABEs and phones are shown in full to the job owner; cards are also returned in full in the owner's view (the cross-user admin view masks them).

Properties

FieldTypeDescription
dataarrayMain response payload. Shape varies by endpoint (object, array, or JSON:API envelope with `type`, `id`, `attributes`).
typestringJSON:API resource type (always `beneficiary_import_row`).
idstringNumeric row ID expressed as a string (JSON:API format).
attributesobjectParsed row fields.
row_indexinteger0-based position of the row in the original file. Allows the user to locate the row in the source document.
statusstringClassification bucket: `valid` — ready for commit; `correctable` — auto-corrected, confirmable; `fatal` — uncorrectable error, skipped; `duplicate_account` — account already registered (reactivated if archived); `duplicate_alias` — duplicate alias, persisted with suffix.
parsed_accountstring | nullNormalized account number extracted from the file. The job owner can view and edit this value in the preview; `null` if no account could be extracted.
parsed_account_typestring | nullDetected account type. `null` if `parsed_account` is null. The types are `clabe`, `card`, and `phone`.
parsed_bank_codestring | null5-digit Banxico code of the receiving bank derived from the parsed account. `null` if it could not be resolved.
parsed_bank_namestring | nullResolved name of the receiving bank. `null` if it could not be resolved.
parsed_labelstring | nullLabel/alias extracted from the file or auto-assigned. `null` if no label could be extracted and none was auto-assigned.
error_codesarrayStable error codes for the row (e.g. `clabe_checksum_failed`, `alias_missing`). Empty for `valid` rows.
corrections_appliedobjectAuto-corrections applied by the system to this row (e.g. `{ "alias_auto_assigned": "Proveedor 001" }`). Empty if no corrections were made.
user_overridesobjectManual user overrides submitted via `PATCH /v1/beneficiaries/imports/{id}/rows/{rowId}`. Take precedence over parsed values during commit.
raw_previewobjectSnippet of the original file for diagnostic purposes. Sequences of 6 or more consecutive digits are masked (`••••`) to prevent PAN exposure in debug payloads.
created_beneficiary_idinteger | nullID of the beneficiary record created after commit. `null` until the job completed and this row was persisted.
metaobjectResponse metadata including API version, route prefix, unique request identifier, and the server timestamp in UTC.
versionstringAPI version that processed the request.
api_versionstringAPI route prefix version (e.g. `v1`).
request_idstringUnique request identifier (hex).
datetimeobjectCompanion descriptor present in every response's meta block (and in outgoing webhook payloads). Lets clients assert the timezone contract without re-reading the spec.
timezone*stringAlways `UTC` — the canonical timezone for every datetime field in the body.
format*stringAlways `ISO 8601` — explicit `Z` suffix on every datetime.
linksobjectPagination or related links, present only when the endpoint returns a paginated collection.

Used in operations

  • GET /v1/beneficiaries/imports/{id}/preview