cURL
curl --request GET \ --url https://api.raul.ugps.io/api/v1/subscription_cancellation/current_month/{client_id} \ --header 'Authorization: Bearer <token>'
[ { "id": 123, "cancellation_reason_id": 123, "date": "2023-11-07T05:31:56Z", "subscription_detail_id": "<string>", "cancellation_cost": {}, "monthly_payments": {}, "subscription_currency_id": {}, "observations": {}, "cancellationReason": { "cancellation_reason_id": 123, "reason": "<string>" } } ]
Get cancellations by client ID (defaults to current month)
Bearer token authentication
Client UUID
Filter by period YYYY-MM (defaults to current month)
List of cancellations for the period
Show child attributes