Request quota lock
Introduction
This resource aims to create a quota lock request for an investor.
Input / Output:
The lock type and specific information for the lock type must be sent.
As output, the quota_lock_key will be delivered, representing the quota lock.
Request
ENDPOINT
/quota_lock/investor/INVESTOR_KEY/quota_lockMETHOD
POSTSTATUS
201Quota lock by collateral - natural person
{
"type": "collateral",
"collateral": {
"recipient": {
"name": "Sample Recipient Name",
"document_number": "000.000.000-00",
"person_type": "natural_person",
"natural_person": {
"birthdate": "YYYY-MM-DD",
"mother_name": "Sample Recipient Mother Name",
}
},
"borrower": {
"name": "Sample Borrower Name",
"document_number": "000.000.000-00",
"person_type": "natural_person",
"natural_person": {
"birthdate": "YYYY-MM-DD",
"mother_name": "Sample Borrower Mother Name",
}
},
"assets": [
{
"asset_type": "cce",
"credit_operation": {
"contract_number": "1000000001",
"principal_value": 0.0,
"interest_rate_type": "post_fixed",
"pre_fixed": {
"monthly_rate": 0.0,
"calendar_base": "calendar_360",
},
"post_fixed": {
"calendar_base": "workdays",
"indexer": "di",
"rate": 1,
"lag": {
"reference": "daily",
"amount": 1
},
},
},
},
],
"issuance_series": [
{
"issuance_serie_key": "UUID",
"number_of_quotas": 0.00,
"financial_value": 0.00,
},
{
"issuance_serie_key": "UUID",
"number_of_quotas": 0.00,
"financial_value": 0.00,
},
],
"bank_account_key": "UUID"
},
}
Quota lock by collateral - legal person
{
"type": "collateral",
"collateral": {
"recipient": {
"name": "Sample Recipient Name",
"document_number": "000.000.000-00",
"person_type": "legal_person",
"legal_person": {
"activity_code": "00.00-0-00",
"representatives": [
{
"name": "Sample Recipient Representative Name",
"document_number": "000.000.000-00",
}
],
}
},
"borrower": {
"name": "Sample Borrower Name",
"document_number": "000.000.000-00",
"person_type": "legal_person",
"legal_person": {
"activity_code": "00.00-0-00",
"representatives": [
{
"name": "Sample Borrower Representative Name",
"document_number": "000.000.000-00",
}
],
}
},
"assets": [
{
"asset_type": "cce",
"credit_operation": {
"contract_number": "1000000001",
"principal_value": 0.0,
"interest_rate_type": "post_fixed",
"pre_fixed": {
"monthly_rate": 0.0,
"calendar_base": "calendar_360",
},
"post_fixed": {
"calendar_base": "workdays",
"indexer": "di",
"rate": 1,
"lag": {
"reference": "daily",
"amount": 1
},
},
},
},
],
"issuance_series": [
{
"issuance_serie_key": "UUID",
"number_of_quotas": 0.00,
"financial_value": 0.00,
},
{
"issuance_serie_key": "UUID",
"number_of_quotas": 0.00,
"financial_value": 0.00,
},
],
"bank_account_key": "UUID"
},
}
Quota Lock
| Field | Type | Description | Characters |
|---|---|---|---|
type | string | Quota lock type enumerator | up to 255 |
collateral | string | Collateral object | - |
Quota Lock Type
| Enumerator | Description |
|---|---|
collateral | Collateral |
Collateral
| Field | Type | Description | Characters | Required |
|---|---|---|---|---|
recipient | JSON | Recipient object | - | Yes |
borrower | JSON | Borrower object | - | Yes |
assets | Array | List of Asset objects | - | Yes |
issuance_series | Array | List of Issuance Series objects | - | Yes |
bank_account_key | string | Bank account UUID associated with the collateral | - | No |
Recipient
| Field | Type | Description | Characters | Required |
|---|---|---|---|---|
name | string | Recipient name | up to 255 | Yes |
document_number | string | Recipient's CPF / CNPJ | 14 or 18 | Yes |
person_type | string | Natural person or legal person enumerator | up to 255 | Yes |
natural_person | JSON | Natural Person object | - | No |
legal_person | JSON | Legal Person object | - | No |
Borrower
| Field | Type | Description | Characters | Required |
|---|---|---|---|---|
name | string | Borrower name | up to 255 | Yes |
document_number | string | Borrower's CPF / CNPJ | 14 or 18 | Yes |
person_type | string | Natural person or legal person enumerator | up to 255 | Yes |
natural_person | JSON | Natural Person object | - | No |
legal_person | JSON | Legal Person object | - | No |
Person Type
| Enumerator | Description |
|---|---|
natural_person | Natural person |
legal_person | Legal person |
Natural Person
| Field | Type | Description | Characters | Required |
|---|---|---|---|---|
birthdate | string | Birth date | 10 | Yes |
mother_name | string | Mother's name | up to 255 | Yes |
Legal Person
| Field | Type | Description | Characters | Required |
|---|---|---|---|---|
activity_code | string | National Classification of Economic Activities (CNAE) | 10 | Yes |
representatives | array | List of Representative objects | - | Yes |
Representative
| Field | Type | Description | Characters | Required |
|---|---|---|---|---|
name | string | Representative name | up to 255 | Yes |
document_number | string | Representative's CPF | 14 | Yes |
Asset
| Field | Type | Description | Characters | Required |
|---|---|---|---|---|
asset_type | string | Asset type enumerator | up to 255 | Yes |
credit_operation | JSON | Credit Operation object | - | No |
Asset Type
| Enumerator | Description |
|---|---|
ccb | CCB |
cce | CCE |
Credit Operation
| Field | Type | Description | Characters | Required |
|---|---|---|---|---|
contract_number | string | Contract number | up to 255 | Yes |
principal_value | string | Principal value of the operation | - | Yes |
interest_rate_type | string | Post-fixed / pre-fixed enumerator | up to 255 | Yes |
pre_fixed | JSON | Pre-fixed object | - | No |
post_fixed | JSON | Post-fixed object | - | No |
Interest Rate Type
| Enumerator | Description |
|---|---|
pre_fixed | Pre-fixed |
post_fixed | Post-fixed |
Pre fixed
| Field | Type | Description | Characters |
|---|---|---|---|
calendar_base | string | Working days / 360-day calendar / 365-day calendar enumerator | up to 255 |
monthly_rate | float | Monthly rate | - |
Post fixed
| Field | Type | Description | Characters |
|---|---|---|---|
calendar_base | string | Working days / 360-day calendar / 365-day calendar enumerator | up to 255 |
indexer | string | DI / IPCA enumerator | up to 255 |
rate | float | Rate | - |
lag | JSON | Lag object | - |
calendar_base
| Enumerator | Description |
|---|---|
workdays | Working days |
calendar_360 | 360-day calendar |
calendar_365 | 365-day calendar |
Indexer
| Enumerator | Description |
|---|---|
di | DI |
ipca | IPCA |
Lag
| Field | Type | Description | Characters |
|---|---|---|---|
reference | string | Daily / Monthly enumerator | up to 255 |
amount | integer | Lag amount | - |
Reference
| Enumerator | Description |
|---|---|
daily | Daily |
monthly | Monthly |
Issuance Serie
| Field | Type | Description | Characters | Required |
|---|---|---|---|---|
issuance_serie_key | string | Issuance series key | 36 | Yes |
number_of_quotas | float | Number of quotas to be locked | - | No |
financial_value | float | Financial value to be locked | - | No |
Responses
Response Body
{
"quota_lock_key": "UUID"
}