https://api.veriko.mx/v1/beneficiaries/lookupLook up account in own whitelist
Looks up an exact account number within the beneficiary list of the authenticated account. When it exists, the response carries the bank details.
The lookup is isolated per account: a number absent from one's own list responds with HTTP status 404.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
account* | query | string | required | Full account number: 10 digits (phone), 16 (card) or 18 (CLABE). Separators are stripped before lookup. e.g.012180004412345678 |
curl -X GET 'https://api.veriko.mx/v1/beneficiaries/lookup' \
-H 'Authorization: Bearer veriko_••••'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_lookup |
attributes* | object | Resolved account metadata. |
account_number* | string | Account number the lookup was made with, whether CLABE, card, or DiMo phone. e.g.012180004412345678 |
account_type* | string | Account type auto-detected at registration. clabe |
bank_code* | string | SPEI code (5 digits) of the resolved bank. It is the empty string ( 40012 |
bank_name* | string | Official name of the bank, resolved from its BBVA MEXICO |
label | string | nullnullable | Free-form label, Proveedor ABC |
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 | Account found in the user's list; returns bank metadata. | LookupBeneficiaryAccountResponse |
| 400 | 4xx | account parameter missing (query_param_account_required) or invalid format (invalid_account_format). | ErrorResponse |
| 401 | 4xx | Authentication is required or the provided credentials are invalid. | ErrorResponse |
| 403 | 4xx | Insufficient permissions. | ErrorResponse |
| 404 | 4xx | Account not found in the user's beneficiary list. | ErrorResponse |
| Status | Code | Example |
|---|---|---|
| 400 | invalid_account_format | The account format is not recognized. Envelope
|
| 400 | query_param_account_required | The `account` query parameter is required. Envelope
|
| 401 | unauthorized | Invalid or missing authentication credentials. Envelope
|
| 403 | permission_denied | You do not have permission to access this resource. Envelope
|
| 404 | beneficiary_not_found_for_account | No beneficiary found for this account. Envelope
|