iCredit
  1. Clients
iCredit
  • Credit
    • Get Started
      • About
      • Authentication
      • Error Messages
    • Get Started APP
      • About
      • Authentication
      • Error Messages
      • Webhooks
    • Api Reference
      • Auth
        • login
        • refresh
        • logout
        • update-password
      • Users
        • me
      • Clients
        • Banks
          • list
          • search
          • find
          • create
          • update
          • delete
        • Files
          • Types
            • search
            • list
            • fInd
            • create
            • update
            • delete
          • create
          • fInd
          • download
          • search
          • delete
        • search
          POST
        • fInd
          GET
        • audits
          POST
        • list-by-organization
          GET
        • get-me
          GET
        • required-fields
          GET
        • basic-create
          POST
        • create
          POST
        • create-legal
          POST
        • update
          PUT
        • update-legal
          PUT
        • get-client-banks
          GET
        • get-client-operations
          GET
        • get-client-requests
          GET
        • get-client-files
          GET
        • finalize-registration
          PUT
        • change-status
          POST
        • change-client-group
          POST
        • change-client-user
          POST
        • reset-password
          POST
        • update-client-representative
          PATCH
        • credit-analysis-validation
          PATCH
        • additional-information
          GET
        • create-client-from-onboarding
          POST
        • client-validation
          GET
      • Requests
        • Options
          • update
        • Files
          • search
          • find
          • create
          • update
          • delete
          • download
        • search
        • find
        • create
        • create-client-pj
        • create-client-pf
        • create-request-passing-client
        • update
        • delete
        • send-to-client-approval
        • handle-change-fund
        • handle-change-endorser
        • reject
        • accept
      • Operations
        • required-fields
        • search
        • find
        • audit
        • create
        • simulate
        • update
        • delete
        • files
        • resend-notification
        • update-deadline-at
        • add-signatories
        • remove-signatory
        • cancel-document
        • finish-document
        • reprocess-current-status
        • change-status
        • update-status-to-grant
        • update-status-to-endorsement
        • update-status-to-approval
        • operation-status
      • Credit Analysis
        • Serasa
          • analysis
          • new-report
      • Supplires
        • find
        • search
        • create
        • send-or-update-public-key
        • delete
        • inactive
        • set-status
    • Enums
      • ClientTypeEnum
      • ClientFilesStatusEnum
      • BankAccountTypeEnum
      • OperationFrequencyEnum
      • OperationModalityEnum
      • OperationCalcMethodEnum
      • SignAsEnum
  1. Clients

create-legal

POST
/api/v1/clients
Criar um cliente pessoa jurídica.

Requisição

Authorization
Forneça seu token bearer no cabeçalho
Authorization
ao fazer requisições para recursos protegidos.
Exemplo:
Authorization: Bearer ********************
Parâmetros Header
Accept
string 
opcional
Padrão:
application/json
Content-Type
string 
opcional
Padrão:
application/json
Parâmetros Bodyapplication/json
organization_uuid
string 
requerido
name
string 
requerido
email
string 
requerido
taxid_number
string 
requerido
type
string 
requerido
phone
object 
requerido
telephone_number
string 
requerido
address
object 
requerido
zip_code
string 
requerido
number
string 
requerido
public_place
string 
requerido
complement
string 
requerido
district
string 
requerido
city
string 
requerido
federal_unit
string 
requerido
banks
array [object {6}] 
requerido
bank_ispb
string 
opcional
agency
string 
opcional
account
string 
opcional
account_digit
string 
opcional
account_type
string 
opcional
key_pix
string 
opcional
files
array [object {4}] 
requerido
type
string 
opcional
file_name
string 
opcional
file
string 
opcional
is_persistent
boolean 
opcional
legal
object 
requerido
foundation_date
string 
requerido
trade_name
string 
requerido
state_registration
string 
requerido
municipal_registration
string 
requerido
representatives
array [object {9}] 
requerido
Exemplo
{
    "organization_uuid": "{{organizationUUID}}",
    "taxid_number": "87316425199",
    "name": "{{randomNumber}}",
    "email": "{{randomNumber}}@test.com",
    "birth_date": "2003-08-20",
    "person_type": "legal",
    "address": {
        "zip_code": "81925260",
        "number": "1256",
        "public_place": "Rua Lupionópolis",
        "complement": null,
        "district": "Sítio Cercado",
        "city": "Curitiba",
        "federal_unit": "PR"
    },
    "phone": {
        "telephone_number": "41995394266"
    },
    "banks": [
        {
            "uuid": "735c2df6-5fe0-41f4-9d41-e304465f7aed",
            "bank_ispb": "04902979",
            "agency": "0001",
            "account": "12345678",
            "account_digit": null,
            "account_type": "CC",
            "key_pix": null,
            "bank": {
                "bank": "003 - Banco da Amazônia S.A.",
                "code": "003",
                "ispb": "04902979"
            }
        },
        {
            "bank_ispb": "07237373",
            "agency": "4234",
            "account": "645654",
            "account_digit": "",
            "account_type": "CC",
            "key_pix": ""
        }
    ],
    "files": [
        {
            "uuid": "5113a070-7f48-48c7-bd25-b263fc6cdcb4",
            "type": "DRIVERS_LICENSE",
            "file_name": "WhatsApp Image 2024-05-21 at 15.34.39.jpeg",
            "is_persistent": true
        },
        {
            "uuid": "d88081dc-8240-4984-a558-0595937121e8",
            "type": "PICTURE",
            "file_name": "WhatsApp Image 2024-05-21 at 15.33.10.jpeg",
            "is_persistent": true
        }
    ]
}

Respostas

🟢201Success
text/html
Body
object {0}
Modificado em 2024-11-18 13:30:10
Página anterior
create
Próxima página
update
Built with