---
updatedAt: 2026-09-16T11:00:49.000Z
agentTools:
  projectIndex: https://readme.floid.io/llms.txt
---

# Santander Personas: Income

Este método permite obtener el cálculo estimado de ingresos de una persona en base a los movimientos de una cuenta bancaria.

**Definiciones**

`mainAverage`: Ingreso promedio principal detectado en la cuenta.
`extraAverage`: Ingreso promedio adicional detectado en cada mes.
`totalAverage`: La suma de los anteriores.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "floid-api",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.floid.app"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://example.com/oauth2/token",
            "scopes": {}
          }
        }
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/cl/banco_santander_personas/income": {
      "post": {
        "summary": "Santander Personas: Income",
        "description": "Este método permite obtener el cálculo estimado de ingresos de una persona en base a los movimientos de una cuenta bancaria.",
        "operationId": "santander-personas-income",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "id",
                  "password",
                  "account_number"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "default": "11111111-1"
                  },
                  "password": {
                    "type": "string",
                    "default": "password123"
                  },
                  "account_number": {
                    "type": "string",
                    "description": "Agregar número sin guiones",
                    "default": "12345678"
                  },
                  "caseid": {
                    "type": "string"
                  }
                }
              },
              "examples": {
                "Request Example": {
                  "value": {
                    "id": "77777777-7",
                    "password": "password123",
                    "account_number": "12345678"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"code\": \"200\",\n    \"msg\": \"OK\",\n    \"data\": {\n        \"consumerId\": \"12345678-5\",\n        \"income\": {\n            \"regularity\": \"0/12\",\n            \"totalAverage\": 1234567,\n            \"mainAverage\": 0,\n            \"extraAverage\": 1234567,\n            \"mainIncomeDeposit\": \"\",\n            \"incomeByMonth\": [\n                {\n                    \"month\": \"2021-11\",\n                    \"total\": 1000000,\n                    \"main\": 0,\n                    \"extra\": 1000000,\n                    \"date\": \"2021-11-02\",\n                    \"sources\": [\n                        {\n                            \"sender\": \"Abono extra\",\n                            \"amount\": 500000,\n                            \"type\": \"extra\"\n                        },\n                        {\n                            \"sender\": \"Abono por transferencia \",\n                            \"amount\": 300000,\n                            \"type\": \"extra\"\n                        },\n                        {\n                            \"sender\": \"Abono por transferencia \",\n                            \"amount\": 200000,\n                            \"type\": \"extra\"\n                        }\n                    ]\n                },\n                {\n                    \"month\": \"2021-10\",\n                    \"total\": 68700687,\n                    \"main\": 0,\n                    \"extra\": 68700687,\n                    \"date\": \"2021-10-02\",\n                    \"sources\": [\n                        {\n                            \"sender\": \"Transferencia de fondos \",\n                            \"amount\": 63370402,\n                            \"type\": \"extra\"\n                        },\n                        {\n                            \"sender\": \"Transferencia de FLOID SPA \",\n                            \"amount\": 2452827,\n                            \"type\": \"extra\"\n                        },\n                        {\n                            \"sender\": \"Transferencia de FLOID\",\n                            \"amount\": 2147370,\n                            \"type\": \"extra\"\n                        },\n                        {\n                            \"sender\": \"Abono por transferencia \",\n                            \"amount\": 700000,\n                            \"type\": \"extra\"\n                        },\n                        {\n                            \"sender\": \"Abono por Transferencia.\",\n                            \"amount\": 30088,\n                            \"type\": \"extra\"\n                        }\n                    ]\n                }\n            ]\n        }\n    }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "string",
                      "example": "200"
                    },
                    "msg": {
                      "type": "string",
                      "example": "OK"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "consumerId": {
                          "type": "string",
                          "example": "12345678-5"
                        },
                        "income": {
                          "type": "object",
                          "properties": {
                            "regularity": {
                              "type": "string",
                              "example": "0/12"
                            },
                            "totalAverage": {
                              "type": "integer",
                              "example": 1234567,
                              "default": 0
                            },
                            "mainAverage": {
                              "type": "integer",
                              "example": 0,
                              "default": 0
                            },
                            "extraAverage": {
                              "type": "integer",
                              "example": 1234567,
                              "default": 0
                            },
                            "mainIncomeDeposit": {
                              "type": "string",
                              "example": ""
                            },
                            "incomeByMonth": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "month": {
                                    "type": "string",
                                    "example": "2021-11"
                                  },
                                  "total": {
                                    "type": "integer",
                                    "example": 1000000,
                                    "default": 0
                                  },
                                  "main": {
                                    "type": "integer",
                                    "example": 0,
                                    "default": 0
                                  },
                                  "extra": {
                                    "type": "integer",
                                    "example": 1000000,
                                    "default": 0
                                  },
                                  "date": {
                                    "type": "string",
                                    "example": "2021-11-02"
                                  },
                                  "sources": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "sender": {
                                          "type": "string",
                                          "example": "Abono extra"
                                        },
                                        "amount": {
                                          "type": "integer",
                                          "example": 500000,
                                          "default": 0
                                        },
                                        "type": {
                                          "type": "string",
                                          "example": "extra"
                                        }
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```