Get account status
Reports how far along account creation is. Account opening is asynchronous — the 201 from Open individual account or Open business account means the request was accepted, not that the account exists yet.
Query by your own external_id, or by the holder's document number when you did not send one.
By external ID
/v1/aperturas/estado-por-external-idRequest
Headers
| Field | Type | Required | Description |
|---|---|---|---|
Authorization | string | Yes | Access token in Bearer ACCESS_TOKEN format |
Not applicable: Path Parameters, Body.
Query Parameters
| Field | Type | Required | Description |
|---|---|---|---|
external_id | string | Yes | One or more of your own identifiers, comma-separated. |
Response
2XX Success
See Response fields.
Code Example
- cURL
- JavaScript
- Python
- Node.js
curl -X GET "https://b2b.allaria.dev/v1/aperturas/estado-por-external-id?external_id=12a34,12a35" \
-H "Authorization: Bearer ACCESS_TOKEN"
const response = await fetch('https://b2b.allaria.dev/v1/aperturas/estado-por-external-id?external_id=12a34,12a35', {
method: 'GET',
headers: { 'Authorization': 'Bearer ACCESS_TOKEN' }
});
const data = await response.json();
console.log(data);
import requests
response = requests.get(
'https://b2b.allaria.dev/v1/aperturas/estado-por-external-id',
params={'external_id': '12a34,12a35'},
headers={'Authorization': 'Bearer ACCESS_TOKEN'}
)
print(response.json())
const axios = require('axios');
const response = await axios.get('https://b2b.allaria.dev/v1/aperturas/estado-por-external-id', {
params: { external_id: '12a34,12a35' },
headers: { Authorization: 'Bearer ACCESS_TOKEN' }
});
console.log(response.data);
[
{
"estado": "CREACION_FINALIZADA",
"ejecutados": ["Esco", "Nasdaq"],
"pendientes": [],
"comitente": 30000552,
"checked": "2026-08-20T15:43:33.169306Z",
"segundosEnCrear": 17,
"fechaFin": "2026-08-20T15:03:11.000000Z",
"error": false,
"errorMessage": null,
"external_id": "12a34"
},
{
"estado": "CREACION_PENDIENTE",
"ejecutados": ["Nasdaq"],
"pendientes": ["Esco"],
"comitente": 60001522,
"checked": "2026-08-20T15:43:33.169306Z",
"segundosEnCrear": null,
"fechaFin": null,
"error": false,
"errorMessage": null,
"external_id": "12a35"
}
]
By document number
/v1/aperturas/estado/documento/{documento}Use this when you did not send an external_id, or when you no longer have it.
Request
Headers
| Field | Type | Required | Description |
|---|---|---|---|
Authorization | string | Yes | Access token in Bearer ACCESS_TOKEN format |
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
documento | string | Yes | Document number of the account holder. |
Not applicable: Query Parameters, Body.
Response
2XX Success
Same shape as By external ID. See Response fields.
Error Codes
| Status | Description |
|---|---|
401 | Unauthorized — invalid or missing access token |
403 | Forbidden — your credentials are not authorized for Aperturas |
422 | Unprocessable Entity — the identifier is missing or invalid |
500 | Internal Server Error |
Code Example
- cURL
- JavaScript
- Python
- Node.js
curl -X GET "https://b2b.allaria.dev/v1/aperturas/estado/documento/31232123" \
-H "Authorization: Bearer ACCESS_TOKEN"
const response = await fetch('https://b2b.allaria.dev/v1/aperturas/estado/documento/31232123', {
method: 'GET',
headers: { 'Authorization': 'Bearer ACCESS_TOKEN' }
});
const data = await response.json();
console.log(data);
import requests
response = requests.get(
'https://b2b.allaria.dev/v1/aperturas/estado/documento/31232123',
headers={'Authorization': 'Bearer ACCESS_TOKEN'}
)
print(response.json())
const axios = require('axios');
const response = await axios.get('https://b2b.allaria.dev/v1/aperturas/estado/documento/31232123', {
headers: { Authorization: 'Bearer ACCESS_TOKEN' }
});
console.log(response.data);
Response fields
| Field | Type | Description |
|---|---|---|
estado | string | Creation state. See Creation states |
ejecutados | array[string] | Services that finished processing this account |
pendientes | array[string] | Downstream systems still missing. Empty when estado is CREACION_FINALIZADA |
comitente | integer | null | The account number. null until assigned; usable once estado is CREACION_FINALIZADA |
checked | string | When this status was computed |
segundosEnCrear | integer | null | How long creation took. null while still in progress |
fechaFin | string | null | When creation finished. null while still in progress |
error | boolean | true when creation failed |
errorMessage | string | null | Failure detail when error is true. Not returned by By document number — see Differences by document number |
external_id | string | The identifier you sent when opening the account |
Creation states
The list is also served live at GET /v1/aperturas/estados-posibles-para-external-id.
| State | Meaning |
|---|---|
NO_ENCONTRADO | No account matches that identifier under your own credentials. Check the external_id or document you sent — you cannot see another PSP's accounts |
EN_DB | Recorded at Allaria, creation not started yet |
CREACION_PENDIENTE | Being created. pendientes names the systems still missing |
COMPLIANCE_CHEQUEO_PENDIENTE | Waiting for compliance review before processing. Nothing to retry — it clears on Allaria's side |
RECHAZADO | The account was rejected. It stays under analysis for a limited period (21 days) and, if it is not resolved in that time, Allaria rejects it automatically. Final for you: nothing to retry. Contact Allaria if you think it should be reopened |
BLOQUEADO | The account is blocked. It cannot operate until Allaria unblocks it |
CREACION_FINALIZADA | Done. comitente is usable |
Both endpoints use the same criteria and return the same states. ejecutados and pendientes list every system the account needs — Esco, Byma or Nasdaq, and, when applicable to your account, OmsPersona, OmsCliente and EscoCrypto — so CREACION_FINALIZADA means all of them are done.
The account state wins over creation progress: a blocked, rejected or under-analysis account reports BLOQUEADO, RECHAZADO or COMPLIANCE_CHEQUEO_PENDIENTE even if its systems are already created. COMPLIANCE_CHEQUEO_PENDIENTE also covers the waiting period before a new account can operate.
The list of states is also served at GET /v1/aperturas/estados-posibles-documento; both catalogue endpoints return the same values.
Differences by document number
The shape is the same as by external ID, with these exceptions:
| Field | By document number |
|---|---|
documento | Replaces external_id: the document you queried |
message | Replaces errorMessage: a human-readable description of the state. Always present, not only on failure |
The messages are returned in Spanish. For EN_DB and CREACION_PENDIENTE the message lists the systems still pending, e.g. La creación está pendiente en: Esco, Nasdaq.; for RECHAZADO it is La cuenta fue rechazada.
Error Codes
| Status | Description |
|---|---|
401 | Unauthorized — invalid or missing access token |
403 | Forbidden — your credentials are not authorized for Aperturas |
422 | Unprocessable Entity — the identifier is missing or invalid |
500 | Internal Server Error |