We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebbd640 commit 0a87128Copy full SHA for 0a87128
src/pyinterboleto/baixa.py
@@ -55,7 +55,7 @@ def cancelar_boleto(
55
certificate, key = get_api_configs(configs)
56
headers = {"Content-Type": "application/json", "Authorization": f"Bearer {token}"}
57
58
- URL = API_URL + f"/{nosso_numero}/baixas"
+ URL = API_URL + f"/{nosso_numero}/cancelar"
59
data = {"motivoCancelamento": motivo.value}
60
response = post(URL, json=data, headers=headers, cert=(certificate, key))
61
0 commit comments