Protests
Protesting a charge at a notary office, with its fees and the sending, summons and protest dates. cancel requests the cancellation of a protest that is neither paid nor already cancelled.
| Command | HTTP | Description |
|---|---|---|
protests list | GET /v1/protests | List protests |
protests create | POST /v1/protests | Create protest |
protests get | GET /v1/protests/{id} | Get protest |
protests update | PUT /v1/protests/{id} | Update protest |
protests delete | DELETE /v1/protests/{id} | Delete protest |
protests cancel | POST /v1/protests/{id}/cancel | Request protest cancellation |
Examples​
--params carries query, path and header parameters (id, page, filters, X-Workspace-Id); --json carries the request body; --fields limits which fields come back — worth using on every list/get to save context. See Global flags for the full reference.
# List protests
kobana dunning protests list --fields "id,person_id,charge_id,status,amount,protest_date"
# Protest a charge
kobana dunning protests create \
--json '{"person_id": "PERSON_ID", "charge_id": "CHARGE_ID", "amount": 150}'
# Request cancellation
kobana dunning protests cancel \
--params '{"id": "PROTEST_ID"}' \
--json '{"cancellation_reason": "Acordo firmado"}' --dry-run
Next steps​
- Interactions
- Schema introspection — every parameter this resource accepts.