https://api.veriko.mx/v1/beneficiaries/imports Start a bulk beneficiary import
How-to guide →Uploads a file (CSV, XLS, XLSX, TXT or PDF, up to 20 MB) and creates an asynchronous import job. A user may only have one active (non-terminal) job at a time — a concurrent upload returns 422. Parse modes:
template: the file follows canonical headers (download the template from/v1/beneficiaries/imports/template). The bank is derived from the CLABE prefix or BIN.free: any format; the system extracts accounts automatically, with AI fallback for unstructured formats.
The job goes through pending → parsing → preview_ready and waits for the user to confirm. Poll GET /v1/beneficiaries/imports/{id} until preview_ready or failed; once at preview_ready review and edit rows via GET /v1/beneficiaries/imports/{id}/preview and finally confirm with POST /v1/beneficiaries/imports/{id}/commit.
curl -X POST 'https://api.veriko.mx/v1/beneficiaries/imports' \
-H 'Authorization: Bearer mxcep_••••' \
-H 'Content-Type: application/json'
Python example — coming soon.
JavaScript example — coming soon.
PHP example — coming soon.
| Field | Type | Description |
|---|---|---|
type * | string | JSON:API resource type. |
id * | string | Numeric job ID expressed as a string (JSON:API format). |
attributes * | object | Initial job attributes returned upon creation. |
status * | string | Initial job status. |
| Status | Class | Description | Body |
|---|---|---|---|
| 202 | 2xx | Import job created and enqueued for processing. | CreateBeneficiaryImportResponse |
| 401 | 4xx | Authentication is required or the provided credentials are invalid. | ErrorResponse |
| 403 | 4xx | Permisos insuficientes | ErrorResponse |
| 422 | 4xx | Validation or pre-condition failed. Possible codes: `file_required`, `file_too_large`, `unsupported_format`, `active_job_exists`, `parse_mode_invalid`. | ErrorResponse |
| Status | Code | Detail |
|---|---|---|
| 401 | unauthorized | Invalid or missing authentication credentials. Envelope
|
| 403 | forbidden | You do not have permission to access this resource. Envelope
|
| 422 | file_required | A `file` part is required in the multipart body. Envelope
|