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.
No matches
| 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, 24 hexadecimal characters. Keep it and quote it when you contact support: it locates the request. e.g.a1b2c3d4e5f66f5e4d3c2b1a |
datetime | object | Companion descriptor present in the {"timezone":"UTC","format":"ISO 8601"} |
timezone* | string | Always UTC |
format* | string | Always ISO 8601 |
field_names_notice | object | Field-name change notice. It only appears on {"code":"legacy_request_fields","message":"This request uses Spanish field names, which are accepted until March 1, 2027. From that date, the API will only accept and return English field names. You can migrate whenever it suits you; see the migration guide.","sunset":"2027-03-01","documentation_url":"https://docs.example.com/en/how-to/migrate-to-english-field-names","legacy_fields":["fecha","monto"]} |
code* | string | Notice type. legacy_request_fields |
message* | string | Notice text, in the response language ( This request uses Spanish field names, which are accepted until March 1, 2027. From that date, the API will only accept and return English field names. You can migrate whenever it suits you; see the migration guide. |
sunset* | string (date) | Cut-off date, the same one the 2027-03-01 |
documentation_url* | string (uri) | Migration guide to the English names, in the response language. e.g.https://docs.example.com/en/how-to/migrate-to-english-field-names |
legacy_fields | array | Spanish names the request sent. Only with ["fecha","monto"] |
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. Also email_verification_required: the account's email cannot receive mail and, until it is fixed or verified, only reading the profile, fixing the email, and logging out are allowed. | 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 |
| 429 | 4xx | Rate limit exceeded ( rate_limit_exceeded: wait a few seconds). | RetryAfterError |
| Status | Code | Example |
|---|---|---|
| 400 | body_empty | The request has no body. Envelope
|
| 400 | invalid_json | The request body is not valid JSON. Check its syntax and resend it. Envelope
|
| 401 | unauthorized | This request requires authentication. Envelope
|
| 403 | permission_denied | You do not have permission to access this resource. Envelope
|
| 404 | not_found | We could not find what you requested. Envelope
|
| 413 | body_too_large | The body exceeds the 1 MB maximum. Envelope
|
| 422 | invalid_account | The parsed account only accepts digits, spaces and hyphens, up to 32 characters. Envelope
|
| 422 | invalid_account_type | The account type must be CLABE, card or phone. Envelope
|
| 422 | invalid_bank_code | The bank code must have 4 to 5 digits. Envelope
|
| 422 | job_not_editable | This import can no longer be edited. Envelope
|
| 422 | no_valid_fields | The request has no updatable data. Envelope
|
| 422 | validation_error | Some data needs fixing. Envelope
|
| 429 | rate_limit_exceeded | You exceeded the request limit. Envelope
Response headers
|