GET
/core/accounts/v1/{id}Obtener Cuenta
El endpoint
/core/accounts/v1/{id} devuelve la información de la cuenta que solicites, junto con su balance.Parámetros disponibles
Header Parameters
AuthorizationStringrequired
Path Parameters
idStringrequired
Detalle de respuestas
Ejemplo de código
curl -X GET "https://api.pomelo.la/core/accounts/v1/example_value" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY"Ejemplo de respuesta (200)Cuenta
{
"data": {
"id": "acc-20i4O5MIKHooZpOV8j5s7nxV5pl",
"country": "ARG",
"balance": "982345.12",
"data": {
"license_owner": "POMELO",
"bank_account": {
"cvu": "2222222222222222222222",
"alias": "cuenta.pomelo.ejemplo"
}
},
"owner_type": "USER",
"owner_data": {
"user_id": "usr-20i4czXIfc1NsXAvoPoPaWBAwye",
"client_id": "cli-20i4e72I0b0sFgN3KPewmnUGryi",
"company_id": "cmp-20i4czXIfc1NsXAvoPoPaWBAwye"
},
"status": "ACTIVE",
"currency": "ARS",
"status_update_motive": "OTHER",
"status_update_comment": "Comentario sobre el motivo de la actualización de la cuenta.",
"metadata": {
"extra_property_1": "My value"
},
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-01T00:00:00Z",
"status_updated_by": "CLIENT"
}
}