Skip to content

Commit 0a87128

Browse files
committed
fix: cancel url
1 parent ebbd640 commit 0a87128

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pyinterboleto/baixa.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def cancelar_boleto(
5555
certificate, key = get_api_configs(configs)
5656
headers = {"Content-Type": "application/json", "Authorization": f"Bearer {token}"}
5757

58-
URL = API_URL + f"/{nosso_numero}/baixas"
58+
URL = API_URL + f"/{nosso_numero}/cancelar"
5959
data = {"motivoCancelamento": motivo.value}
6060
response = post(URL, json=data, headers=headers, cert=(certificate, key))
6161

0 commit comments

Comments
 (0)