Get Company Registration by ID.
GET/v1/users/company-registrations/:id
Tag: api-baas-get-company-registration-by-id
Description: Retrieves company registration details by ID. Returns company registration data stored in the system.
Request
Path Parameters
Company registration ID.
Header Parameters
The nonce ID is a UUID (v4) used to uniquely identify the request. All requests must have an identifier.
Possible values: [pt-BR, en-US]
Indicates the preferred language. Defaults to Brazilian Portuguese if unspecified.
UUID (v4) of the product that the request should use. Send it explicitly when the authenticated user has more than one product or when the integration must select a specific product. If omitted and the endpoint does not require it, the API uses the authenticated user's default product.
UUID (v4) of the user on whose behalf the request should run within the selected product. If omitted, the request runs as the authenticated user. Requires x-product-uuid.
Responses
- 200
- 400
- 401
- 403
- 422
Company registration retrieved successfully.
- application/json
- Schema
- Example (from schema)
Schema
Company registration ID.
Company CNPJ.
Possible values: [WAITING_DOCUMENTS, WAITING_ANALYSIS, WAITING_CORRECTIONS, ACTIVE, DECLINED, CANCELED]
Company registration status.
Company opening date (ISO 8601 date-time).
Company revenue.
Possible values: [EI, MEI, EIRELI, LTDA, SS, SA, ME, EPP, EMPG, COOP, OTHER]
Establishment format.
State registration.
Whether partners changed.
Bank number.
Possible values: [ACTIVE, NOT_ACTIVE, PENDING, LOCKED, CLOSED]
Bank account status.
Alias bank account creation date.
Possible values: [COMPANY_REGISTRATION_DECLINED, COMPANY_REGISTRATION_CANCELED, GATEWAY_ERROR, LOCAL_PRECONDITION_ERROR]
Failed error code.
Failed error message.
Created at.
Updated at.
{
"id": "8fc58500-b12e-49d7-892c-dfd704b94c2d",
"cnpj": "93999833000199",
"status": "ACTIVE",
"opening_date": "1959-05-12T00:00:00.000Z",
"revenue": 201,
"establishment_format": "ME",
"state_registration": "12345678",
"partner_changed": false,
"bank_number": "001",
"bank_account_status": "ACTIVE",
"alias_created_date": "2024-01-15T10:00:00.000Z",
"failed_code": "COMPANY_REGISTRATION_DECLINED",
"failed_message": "Registration rejected.",
"created_at": "2024-01-15T10:00:00.000Z",
"updated_at": "2024-01-15T10:00:00.000Z"
}
If any required parameter is missing or has invalid format/type.
User authentication failed.
User does not have permission to access this resource.
If any required parameter is missing or has invalid format/type.