Get banks
Whenever you want to prepare or apply a transfer and make a collection, you need to specify the code of the bank to which you want to transfer money or make the collection.
This endpoint retrieves all the target banks we support with the necessary code you need to provide for bank transfer or collection endpoints.
This endpoint also retrieves the supported account type for each bank you can transfer to (only if the kind parameter is transfers).
Authorization
authorization
AuthorizationBearer <token>
In: header
Query Parameters
kind?string
there are two types of responses (Polymorphism response) the first transfers are the banks used by the bank transfers and the pse are the banks from the pse provider.
Default
"transfers"Value in
"transfers" | "pse"Example
"transfers"Response Body
application/json
application/json
application/json
curl -X GET "https://api.cert.monoban.co/v1/banks"{
"banks": [
{
"code": "1051",
"name": "BANCO DAVIVIENDA"
}
],
"kind": "pse"
}{
"code": "401 Unauthorized",
"errors": [
{
"error_code": "expired_token",
"message": "The token is expired, inactive, or doesn't exist.",
"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"
}