PatchBeneficiaryImportRowRequest
Body for `PATCH /v1/beneficiaries/imports/{id}/rows/{row_id}`. Accepts the JSON:API envelope `{ data: { attributes: {...} } }` 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`. Any other key is ignored. If no recognized editable field is present → `422 no_valid_fields`. If the job is not in `preview_ready` state → `422 job_not_editable`. After persisting the override, the server re-processes the row (re-derives bank from the new CLABE prefix / BIN) so that job counters and the preview's Bank column stay in sync without waiting for commit.
Properties
| Field | Type | Description |
|---|---|---|
parsed_account | string | User-corrected account number. Accepts up to 32 characters of digits, spaces, hyphens and non-breaking spaces (NBSP). The `RowProcessor` re-normalizes during re-processing. |
parsed_label | string | Corrected label. Sanitized before storage (an anti-formula-injection escape is applied to the leading character when it is one of `=+-@\t\r`). |
parsed_account_type | string | Corrected account type. If the client sends a value outside the enum, the server responds `422 invalid_account_type`. |
parsed_bank_code | string | Corrected Banxico SPEI code (4–5 digits). Useful for `phone` rows that need bank reassignment. For CLABE/card the RowProcessor overrides it on re-derivation. |
parsed_bank_name | string | Corrected bank name. May be overridden by the RowProcessor during re-derivation. |
Used in operations
PATCH /v1/beneficiaries/imports/{id}/rows/{row_id}