---
title: "Changes to Open an account"
method: POST
path: "/api/creditcontrol/accounts"
---

# Changes to Open an account

`POST /api/creditcontrol/accounts`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 3 of 51 revisions.

- **2023-12-21** `0cfe5b381175`: 10 warning
- **2023-11-27** `25c08deef792`: 1 breaking, 4 info
- **2023-11-24** `c8735f67eb83`: 1 breaking, 21 info

## Changes

- **2023-12-21** `0cfe5b381175`: 10 warning
  - the optional response header `Connection` removed for the status `200`
  - the optional response header `Content-Length` removed for the status `200`
  - the optional response header `Date` removed for the status `200`
  - the optional response header `Server` removed for the status `200`
  - the optional response header `X-CDNIgnore` removed for the status `200`
  - the optional response header `X-Powered-by-VTEX-Janus-Edge` removed for the status `200`
  - the optional response header `X-Track` removed for the status `200`
  - the optional response header `X-Translate` removed for the status `200`
  - the optional response header `X-Translate-BackEnd` removed for the status `200`
  - the optional response header `X-VTEX-Janus-Router-Backend-App` removed for the status `200`
- **2023-11-27** `25c08deef792`: 1 breaking, 4 info
  - request property `documentType` was restricted to a list of enum values
  - request property `description` deprecated
  - added the new `CNPJ` enum value to the request property `documentType`
  - added the new `CPF` enum value to the request property `documentType`
  - added the new `Other` enum value to the request property `documentType`
- **2023-11-24** `c8735f67eb83`: 1 breaking, 21 info
  - the response's body type changed from `string` to `object` for status `200`
  - the `creditLimit` request property default value `500` was removed
  - the `description` request property default value `example` was removed
  - the `document` request property default value `99999999999` was removed
  - the `documentType` request property default value `CPF` was removed
  - the `email` request property default value `email@domain.com` was removed
  - the `tolerance` request property default value `1` was removed
  - media type `application/json; charset=utf-8` was changed to `application/json` for the response status `200`
  - added the optional property `description` to the response with the `200` status
  - added the required property `availableBalance` to the response with the `200` status
  - added the required property `availableCredit` to the response with the `200` status
  - added the required property `balance` to the response with the `200` status
  - added the required property `createdAt` to the response with the `200` status
  - added the required property `creditLimit` to the response with the `200` status
  - added the required property `document` to the response with the `200` status
  - added the required property `documentType` to the response with the `200` status
  - added the required property `email` to the response with the `200` status
  - added the required property `id` to the response with the `200` status
  - added the required property `preAuthorizedCredit` to the response with the `200` status
  - added the required property `status` to the response with the `200` status
  - added the required property `tolerance` to the response with the `200` status
  - added the required property `updatedAt` to the response with the `200` status

---

[Operation](https://skmtc.dev/vtex/apis/customer-credit-api/docs/api/creditcontrol/accounts/post.md) - [API](https://skmtc.dev/vtex/apis/customer-credit-api.md) - [Page](https://skmtc.dev/vtex/apis/customer-credit-api/changes/api/creditcontrol/accounts/post)
