Skip to main content

Classification when creating custom securities

You can now set the classification of a custom security when creating it, with the new optional classificationId field.

In the Create Security endpoint, with the CUSTOM type, send in classificationId the identifier of the desired classification, which you can get from List Securities Classifications. Without the field, the security is classified based on its asset class (assetClass).

//REQUEST
//POST https://core.gorila.com.br/securities

{
"type": "CUSTOM",
"name": "Fazenda Boa Vista",
"description": "Fazenda Boa Vista - MG",
"assetClass": "TANGIBLE",
"initialDate": "2022-04-04",
"classificationId": "TANGIBLE_GENERIC"
}

Learn more in Custom Security.