https://api.veriko.mx/v1/beneficiaries/imports/{id}/rows/{row_id}Edit a preview row
How-to guide →Persists a user override on a preview row before confirming the import. Accepts JSON:API envelope or a flat object. All attributes are optional; only those present are overwritten. Five editable fields: parsed_account, parsed_label, parsed_account_type, parsed_bank_code, parsed_bank_name. After persisting the override the server re-processes the row (re-derives bank from the new CLABE prefix / BIN) so job counters and the preview's Bank column stay in sync without waiting for commit. Only valid when the job is in preview_ready state — other states return 422 job_not_editable.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id* | path | integer | required | Numeric ID of the import job. e.g.42 |
row_id* | path | integer | required | Numeric row ID within the job. e.g.102 |
| Parameter | Type | Required | Description |
|---|---|---|---|
parsed_account | string (pattern, ?–32) | optional | User-corrected account number. Accepts up to 32 characters of digits, spaces, hyphens and non-breaking spaces (NBSP). The 012180004412345678 |
parsed_label | string (?–100) | optional | Corrected label. Sanitized before storage (an anti-formula-injection escape is applied to the leading character when it is one of Mamá |
parsed_account_type | string (enum) | optional | Corrected account type. If the client sends a value outside the enum, the server responds clabe |
parsed_bank_code | string (pattern) | optional | Corrected Banxico SPEI code (4–5 digits). Useful for 40012 |
parsed_bank_name | string (?–50) | optional | Corrected bank name. May be overridden by the RowProcessor during re-derivation. e.g.BBVA MEXICO |
curl -X PATCH 'https://api.veriko.mx/v1/beneficiaries/imports/{id}/rows/{row_id}' \
-H 'Authorization: Bearer veriko_••••' \
-H 'Content-Type: application/json' \
-d '{
"parsed_account": "0121-8000-4412-3456-78"
}'Python example — coming soon.
JavaScript example — coming soon.
PHP example — coming soon.
| Field | Type | Description |
|---|---|---|
data | object | Main response payload. Shape varies by endpoint (object, array, or JSON:API envelope with |
type | string | JSON:API resource type (always beneficiary_import_row |
id | string | Numeric row ID expressed as a string (JSON:API format). e.g.123 |
attributes | object | Parsed row fields. |
row_index | integer | 0-based position of the row in the original file. Allows the user to locate the row in the source document. e.g.5 |
status | string | Classification bucket: valid |
parsed_account | string | nullnullable | Normalized account number extracted from the file. The job owner can view and edit this value in the preview; 012180004412345678 |
parsed_account_type | string | nullnullable | Detected account type. clabe |
parsed_bank_code | string | nullnullable | 5-digit Banxico code of the receiving bank derived from the parsed account. 40012 |
parsed_bank_name | string | nullnullable | Resolved name of the receiving bank. BBVA MEXICO |
parsed_label | string | nullnullable | Label/alias extracted from the file or auto-assigned. Proveedor ABC |
error_codes | array | Stable error codes for the row (e.g. [] |
corrections_applied | object | Auto-corrections applied by the system to this row (e.g. {} |
user_overrides | object | Manual user overrides submitted via {} |
raw_preview | object | Snippet of the original file for diagnostic purposes. Sequences of 6 or more consecutive digits are masked ( {} |
created_beneficiary_id | integer | nullnullable | ID of the beneficiary record created after commit. null |
meta | object | Response metadata including API version, route prefix, unique request identifier, and the server timestamp in UTC. |
version | string | API version that processed the request. e.g.1.47.0 |
api_version | string | API route prefix version (e.g. v1 |
request_id | string | Unique request identifier (hex). e.g.a1b2c3d4e5f6 |
datetime | object | Companion descriptor present in every response's meta block (and in outgoing webhook payloads). Lets clients assert the timezone contract without re-reading the spec. e.g.{"timezone":"UTC","format":"ISO 8601"} |
timezone* | string | Always UTC |
format* | string | Always ISO 8601 |
links | object | Pagination or related links, present only when the endpoint returns a paginated collection. |
| Status | Class | Description | Body |
|---|---|---|---|
| 200 | 2xx | Row updated with the override applied and re-processed. | PatchBeneficiaryImportRowResponse |
| 400 | 4xx | The request body is empty or is not valid JSON. | ErrorResponse |
| 401 | 4xx | Authentication is required or the provided credentials are invalid. | ErrorResponse |
| 403 | 4xx | Insufficient permissions. | ErrorResponse |
| 404 | 4xx | The resource does not exist or is not visible to the client | Error |
| 413 | 4xx | The request body exceeds the maximum accepted size (body_too_large). | ErrorResponse |
| 422 | 4xx | Validation failed or job is not editable. Codes: invalid_account (pattern violation), invalid_account_type, invalid_bank_code, no_valid_fields, job_not_editable. | ErrorResponse |
| Status | Code | Example |
|---|---|---|
| 400 | body_empty | The request body is empty. Envelope
|
| 400 | invalid_json | The body is not valid JSON. Envelope
|
| 401 | unauthorized | Invalid or missing authentication credentials. Envelope
|
| 403 | forbidden | You do not have permission to access this resource. Envelope
|
| 413 | body_too_large | The request body is too large. Envelope
|
| 422 | invalid_account_type | parsed_account_type must be clabe, card, or phone. Envelope
|
| 422 | job_not_editable | Job is not in preview_ready state. Envelope
|