added
March 02, 2023
almost 2 years ago by Henrique Maltez
Partners can now request status of customers via a dedicated endpoint.
New field added in the Business Customers registration:
- spouseName: Name of the member's spouse. Should only be filled in when the maritalStatus is equal to MARRIED. You can access the documentation for more details.
New features created for customer information:
- /api/customers/{customerId}/status: New endpoint that returns the status of customers and possible information about errors that have occurred. Check the documentation here.
Here is an example of how the status will be returned:
{
"updatedAt": "2023-02-15T19:58:07.465Z",
"customerId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "AWAITING_DOCUMENT_UPLOAD",
"error": {
"code": "2001",
"message": "This company does not meet the operational requirements. It has more than one member in the shareholder composition."
}
}