Consultar banco
Consulta exacta por código ACH canónico. Un código ausente del catálogo
responde 404 bank_not_found; el catálogo solo incluye los bancos aceptados
por discovery.
AutorizaciónBearer <token>
En: header
Scope: target_discoveries
Parámetros de ruta
ach_codestring
Canonical three-digit Colombian ACH code.
Match
^[0-9]{3}$Cuerpo de la respuesta
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://breb-participant.sandbox.mono.la/api/v1/banks/string"{
"catalog_version": 1,
"data": {
"ach_code": "007",
"name": "BANCOLOMBIA"
}
}{
"code": "401 Unauthorized",
"errors": [
{
"error_code": "missing_authorization_header",
"message": "`Authorization` header is missing.",
"path": null,
"url": null
}
],
"id": "log_7MkWaFqvfosB8fzHhb1Eql",
"message": "Authorization header is missing or invalid."
}{
"code": "403 Forbidden",
"errors": [
{
"error_code": "not_authorized",
"message": "Not authorized to have access to this resource.",
"path": null,
"url": null
}
],
"id": "log_7MkWaFqvfosB8fzHhb1Eql",
"message": "Not authorized to have access to this resource"
}{
"code": "404 Not Found",
"errors": [
{
"error_code": "bank_not_found",
"message": "The bank doesn't exist in the catalog",
"path": null,
"url": null
}
],
"id": "log_7MkWaFqvfosB8fzHhb1Eql",
"message": "Resource not defined"
}{
"code": "422 Unprocessable Content",
"errors": [
{
"error_code": "missing_field",
"message": "The field is missing on the request body or parameters.",
"path": "#/path/to/field",
"url": null
}
],
"id": "log_7MkWaFqvfosB8fzHhb1Eql",
"message": "Validation errors"
}{
"code": "429 Too Many Requests",
"errors": [
{
"error_code": "rate_limit_exceeded",
"message": "Too many requests. Retry after the indicated time.",
"path": null,
"url": null
}
],
"id": "log_7MkWaFqvfosB8fzHhb1Eql",
"message": "Too many requests"
}{
"code": "500 Internal Server Error",
"errors": [
{
"error_code": "internal_error",
"message": "An unexpected error occurred",
"path": null,
"url": null
}
],
"id": "log_7MkWaFqvfosB8fzHhb1Eql",
"message": "Something went wrong on the Server"
}