https://api.veriko.mx/v1/beneficiaries/imports/{id}/rows/{row_id}Edit a preview row
How-to guide →Allows a preview row to be corrected before the persistence of an import job is confirmed. Accepts a JSON:API envelope or a flat object. Every attribute is optional; only those present are overwritten.
Editable fields:
parsed_accountparsed_labelparsed_account_typeparsed_bank_codeparsed_bank_name
After persisting the correction the server re-processes the row (it re-derives the bank from the new CLABE prefix / BIN) so the import counters and the preview's Bank column stay in sync without waiting for the commit.
| 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. It is re-normalized on re-processing. e.g.012180004412345678 |
parsed_label | string (?–100) | optional | Corrected row label. If it starts with Mamá |
parsed_account_type | string (enum) | optional | Corrected account type. clabe |
parsed_bank_code | string (pattern) | optional | Corrected SPEI code (5 digits). Useful for 40012 |
parsed_bank_name | string (?–50) | optional | Corrected bank name. May be overridden 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 | Position of the row within the original file, starting at 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 SPEI code of the resolved bank, derived from 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. Runs of 13 to 19 digits that are not a CLABE (18 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.a1b2c3d4e5f66f5e4d3c2b1a |
datetime | object | Companion descriptor present in the {"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 (the number does not match the expected format), 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 | permission_denied | 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
|