Listar contas do usuário

Você pode listar todas as contas que esse usuário tem acesso.


Requisição

Para essa consulta você pode utilizar uma requisição do tipo GET, utilizando o endpoint /Customer/company.

Exemplo:

https://example.com/customer/company

🚧

Atenção

Você deve informar o TOKEN de acesso no HEADER da requisição. Para saber mais sobre o token de acesso, consulte Login.


Resposta da consulta

A resposta dessa consulta retorna uma lista (array) com as informações das contas que o usuário tem acesso.

[
  {
    "accountable": "string",
    "closing_day": 0,
    "cnpj": "string",
    "cpf": "string",
    "celcoin_account": "string",
    "is_politically_exposed_person": true,
    "accountable_mother_name": "string",
    "accountable_birth_date": "2024-10-23T17:59:13.966Z",
    "document": "string",
    "raw_document": "string",
    "account_cpf": "string",
    "company_id": 0,
    "contact": "string",
    "email": "string",
    "social_reason": "string",
    "social_name": "string",
    "fantasy_name": "string",
    "month_installment_limit": 0,
    "phone": "string",
    "webhook_url": "string",
    "transfer_fee": 0,
    "internal_transfer_fee": 0,
    "linked_account_fee": 0,
    "accountable_cpf": "string",
    "accountable_cnpj": "string",
    "accountable_type": 1,
    "zipcode": "string",
    "street": "string",
    "street_number": "string",
    "street_complement": "string",
    "neighborhood": "string",
    "state": "string",
    "city": "string",
    "financially_blocked": true,
    "date_added": "2024-10-23T17:59:13.966Z",
    "founding_date": "2024-10-23T17:59:13.966Z",
    "settled_pix_invoice_fee": 0,
    "cash_in_fixed_fee": 0,
    "cash_in_proportional_fee": 0,
    "pix_cash_in_key": "string",
    "movement_awaiting_balance_enabled": true,
    "allowed_order_cron": "string",
    "consignation_enabled": true,
    "big_data_status": 0,
    "consignable_mode": 0,
    "max_transfer_cash_out": 0,
    "max_payment_cash_out": 0,
    "default_pix_key": "string",
    "company_type": "string",
    "balance": 0,
    "swap_account": {
      "status": 0,
      "individual_id": "string",
      "business_id": "string",
      "account_holder_id": "string",
      "balance_account_group_id": "string",
      "balance_account_group_created_at": "2024-10-23T17:59:13.966Z",
      "updated_at": "2024-10-23T17:59:13.966Z",
      "branch": "string",
      "account": 0
    },
    "actual_closing_date": "2024-10-23T17:59:13.966Z",
    "last_closing_date": "2024-10-23T17:59:13.966Z"
  }
]