v1

latestOpenAPI 3.0.12026-07-245303882.5 MB
Accounts

Cria uma nova conta

post/accounts

Request body

Example request

{
  "application": {
    "debitProgramId": 1,
    "creditProgramId": 1,
    "submit": true,
    "applicant": {
      "personal": {
        "name": "John Doe",
        "email": "john.doe@email.com"
      },
      "account": {
        "grantedLimit": 1000,
        "limit": 1000,
        "accountType": "PHYSICAL",
        "accountName": "John Doe's Account"
      },
      "documentNumber": "343354332",
      "birthDate": "1984-11-07",
      "identityNumber": "1234",
      "issuingAuthority": "SSP",
      "issuingState": "SP",
      "issueDate": "1984-11-07",
      "nationality": "BRASILEIRA",
      "birthState": "SP",
      "placeOfBirth": "SP",
      "occupation": "Professor",
      "income": "1518",
      "phones": [
        {
          "phoneType": "MOBILE",
          "countryCode": "55",
          "phone": "22222222",
          "areaCode": 11
        }
      ],
      "addresses": [
        {
          "addressType": "RESIDENTIAL",
          "address": "Alameda Xingu",
          "number": 350,
          "neighborhood": "Alphaville Industrial",
          "city": "BARUERI",
          "state": "SP",
          "country": "BRAZIL",
          "zipCode": "06455-030",
          "mailingAddress": true,
          "complementaryAddress": "complemento"
        }
      ]
    }
  }
}

Response

OK

versioninteger
statusinteger

Example response

{
  "version": 1,
  "status": 204
}