curl --request GET \
--url https://api.base39.io/v1/credit-policies/{id} \
--header 'Authorization: Bearer <token>'
{
"id": "crpl_5f92f01728e009f403d8502e",
"status": "active",
"name": "Consignado",
"model": "EMPLOYMENT_LENGTH_SALARY_MULTIPLIER",
"product": "prod_5f92f01728e009f403d8502e",
"options": {
"interestType": "pre_price_days",
"creditOperationType": "ccb",
"rebates": [
{
"feeType": "registration",
"amountType": "absolute",
"amount": 200,
"description": "Tarifa de cadastro"
}
],
"fine": {
"fineRate": 0.02,
"interestBase": "calendar_days",
"monthlyRate": 0.02
},
"rules": [
{
"workingMonthsRangeStart": 6,
"workingMonthsRangeEnd": 12,
"salaryMultiples": 2,
"minimumDisbursementAmount": 200,
"maximumDisbursementAmount": 2000,
"fund": "fund_5f92f01728e009f403d8502e",
"monthlyFee": [
{
"installmentsRangeStart": 12,
"installmentsRangeEnd": 36,
"amount": 0.02,
"insurance": {
"fee": 123,
"type": "uninsured",
"number": "<string>",
"insurer": "<string>"
}
}
]
}
]
},
"metadata": {},
"createdAt": "2023-08-25T22:38:41.134Z",
"updatedAt": "2023-08-25T22:38:41.134Z",
"deleted": false
}
curl --request GET \
--url https://api.base39.io/v1/credit-policies/{id} \
--header 'Authorization: Bearer <token>'
{
"id": "crpl_5f92f01728e009f403d8502e",
"status": "active",
"name": "Consignado",
"model": "EMPLOYMENT_LENGTH_SALARY_MULTIPLIER",
"product": "prod_5f92f01728e009f403d8502e",
"options": {
"interestType": "pre_price_days",
"creditOperationType": "ccb",
"rebates": [
{
"feeType": "registration",
"amountType": "absolute",
"amount": 200,
"description": "Tarifa de cadastro"
}
],
"fine": {
"fineRate": 0.02,
"interestBase": "calendar_days",
"monthlyRate": 0.02
},
"rules": [
{
"workingMonthsRangeStart": 6,
"workingMonthsRangeEnd": 12,
"salaryMultiples": 2,
"minimumDisbursementAmount": 200,
"maximumDisbursementAmount": 2000,
"fund": "fund_5f92f01728e009f403d8502e",
"monthlyFee": [
{
"installmentsRangeStart": 12,
"installmentsRangeEnd": 36,
"amount": 0.02,
"insurance": {
"fee": 123,
"type": "uninsured",
"number": "<string>",
"insurer": "<string>"
}
}
]
}
]
},
"metadata": {},
"createdAt": "2023-08-25T22:38:41.134Z",
"updatedAt": "2023-08-25T22:38:41.134Z",
"deleted": false
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Retorna o objeto CreditPolicy
para um ID válido.
Este objeto representa uma política de crédito.