valid: true com a versão do schema; quando inválida a resposta é 400 com a primeira regra violada (nunca valid: false). Números precisam ser números JSON (strings numéricas são recusadas). A validação do FormRequest (settings obrigatório e objeto não vazio) roda antes da checagem de permissão.manage_contract_type.Authorization: Bearer ********************{
"settings": {
"schema_version": "1.0",
"financial": {
"iof": {
"mode": "not_applicable",
"value": 0,
"min_value": null,
"max_value": null
},
"tac": {
"mode": "percentage",
"value": 0.07,
"min_value": null,
"max_value": null
},
"other_fees": [
{
"code": "service_fee",
"mode": "not_applicable",
"value": 0,
"required": false
}
],
"rounding": {
"scale": 2,
"strategy": "half_up"
}
},
"eligibility": {
"allow_pf": true,
"allow_pj": true,
"min_released_value": null,
"max_released_value": null,
"allowed_calculation_methods": [
"price_table"
],
"allowed_modalities": [
"FI"
],
"allowed_payment_frequencies": [
"monthly"
]
},
"documents": {
"default_variant": "vn",
"allowed_variants": [
"vn",
"vnn"
],
"requires_endorsement_letter": false,
"requires_promissory_note": false,
"templates_by_endorser": {
"HUMU": {
"ccb": "ccb_humu_v1"
}
}
},
"workflow": {
"requires_manual_approval": false,
"auto_send_to_endorser": true,
"auto_reprocess_on_status": [
"waiting"
]
},
"integrations": {
"signature_provider": "clicksign",
"qprof_enabled": false,
"celcoin_enabled": true
},
"ui_hints": {
"show_iof": true,
"show_tac": true,
"show_other_fees": true
}
}
}{
"valid": true,
"schema_version": "1.0"
}