post https://infrapay.stg.libercapital.com.br/api/payment/bill//cancel
Cancel Bill By Id
Role-based access control
Required role customerBillCancelWrite
REQUEST PATH HAS THE FOLLOWING PROPERTIES:
Attribute | Type | Description |
---|---|---|
id | string | Id of bill |
REQUEST BODY OBJECT HAS THE FOLLOWING PROPERTIES:
Attribute | Type | Description | Required |
---|---|---|---|
justification | string | Justification to cancel | No |
Response object has the following properties:
Attribute | Type | Description |
---|
Response status code
status | Description |
---|---|
200 | OK |
400 | BAD_REQUEST |
500 | INTERNAL_SERVER_ERROR |
401 | UNAUTHORIZED |
403 | FORBIDDEN |
404 | NOT_FOUND |