curl --location -g --request PUT '/api/v2/cobv/{{txid}}' \
--header 'Authorization: Bearer {{token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"calendario": {
"dataDeVencimento": "2040-04-01",
"validadeAposVencimento": 30
},
"devedor": {
"nome": "Devedor da Silva",
"cpf": "00012312312"
},
"valor": {
"original": "123.45",
"multa": {
"modalidade": "2",
"valorPerc": "15.00"
},
"juros": {
"modalidade": "2",
"valorPerc": "2.00"
},
"desconto": {
"modalidade": "1",
"descontoDataFixa": [
{
"data": "2040-03-01",
"valorPerc": "30.00"
}
]
}
},
"chave": "{{chavePix}}"
}'