curl --location -g --request PUT '/api/v2/cob/{{txid}}' \
--header 'Authorization: Bearer {{token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"calendario": {
"expiracao": 3600
},
"devedor": {
"cnpj": "12345678000195",
"nome": "Empresa de Serviços SA"
},
"valor": {
"original": "0.00",
"modalidadeAlteracao": 0,
"retirada": {
"saque": {
"valor": "20.00",
"modalidadeAlteracao": 1,
"modalidadeAgente": "AGTEC",
"prestadorDoServicoDeSaque": "01181521"
}
}
},
"chave": "{{chavePix}}"
}'