v1

latestOpenAPI 3.0.0Apache 2.02026-07-263079321.1 MB
Company

Create company

Create a new company

  • Create a new company with the provided details.
  • Crie uma nova empresa com os detalhes fornecidos.
post/companies

Request body

bankstring required
bank_accountstring required
bank_account_digitstring required
bank_account_typestring required
bank_branchstring required
business_typestring
company_type'INVESTOR' | 'ACQUIRER' | 'MODERATOR' required
emailstring required
legal_naturestring
namestring required
phonestring required
receivables_expiration_daysinteger
tax_numberstring required
trade_namestring

Example request

{
  "bank": "001",
  "bank_account": "567890",
  "bank_account_digit": "0",
  "bank_account_type": "Poupança",
  "bank_branch": "1234",
  "business_type": "Investor",
  "company_type": "INVESTOR",
  "email": "john.doe@example.com",
  "legal_nature": "Investor",
  "name": "Fitbank",
  "phone": "(11)99999-9999",
  "tax_number": "11.111.111/0001-11",
  "trade_name": "Fitbank"
}

Response

Created

bankstring required
bank_accountstring required
bank_account_digitstring required
bank_account_typestring required
bank_branchstring required
business_typestring
company_type'INVESTOR' | 'ACQUIRER' | 'MODERATOR' required
created_atstring
emailstring required
idinteger
legal_naturestring
namestring required
phonestring required
receivables_expiration_daysinteger
tax_numberstring required
trade_namestring
updated_atstring

Example response

{
  "bank": "001",
  "bank_account": "567890",
  "bank_account_digit": "0",
  "bank_account_type": "Poupança",
  "bank_branch": "1234",
  "business_type": "Investor",
  "company_type": "INVESTOR",
  "created_at": "2020-01-01 12:00:00",
  "email": "john.doe@example.com",
  "id": 1,
  "legal_nature": "Investor",
  "name": "Fitbank",
  "phone": "(11)99999-9999",
  "tax_number": "11.111.111/0001-11",
  "trade_name": "Fitbank",
  "updated_at": "2020-01-01 12:00:00"
}