Schedules a cancellation for a subscription. The effective timing can be a keyword (e.g. immediate, end_of_term) or a specific date. A cancellation reason code is required and a free-text note is optional.
Documentation Index
Fetch the complete documentation index at: https://alguna.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
API key authentication. Pass your API key as a Bearer token.
2026-04-01 A unique string used to ensure the request is processed exactly once. If you retry a request with the same idempotency key within 24 hours, the original response is returned without re-executing the operation.
255"ik_a1b2c3d4e5f6"
Unique identifier for the subscription
Cancellation reason
no_longer_required, moving_provider, pricing, support, features, upgraded, other "no_longer_required"
When cancellation takes effect
"end_of_term"
Additional context for the cancellation
"Customer is consolidating vendors"
Success
Billing configuration
Contract configuration
When the subscription was created
"2025-12-15T10:30:00Z"
ISO 4217 currency code
"USD"
Customer ID
"cust_abc123"
Unique identifier
"sub_abc123"
Key-value metadata
Subscription name
"Acme Corp - Enterprise"
Pending version changes
Renewal configuration
Subscription status
"active"
When the subscription was last updated
"2026-04-04T10:00:05Z"
When the subscription was activated
"2026-01-01T00:00:00Z"
Current active version ID
"subv_abc123"
Subscription-level discount
Maximum spend threshold
Minimum spend threshold
Plan ID
"pln_abc123"
Price escalation configuration
Trial period in days
30