POST
/v1/billing/feedback_optionsCreate a feedback option
Creates a new feedback option for use as a custom cancellation reason. Supply a description for the option and use expand when the response should include expanded fields. The response contains the created feedback option and its initial status.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Form data for creating a feedback option.
descriptionstringrequired
Text describing the feedback option. Maximum 100 characters.
expandarray<string>optional
Specifies which fields in the response should be expanded.
200Returns the created feedback option with its description, unique identifier, live-mode flag, object type, status, and status transition details.
descriptionstringrequired
An arbitrary string attached to the object. Often useful for displaying to users.
idstringrequired
Unique identifier for the object.
livemodebooleanrequired
If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
objectstringrequired
String representing the object's type. Objects of the same type share the same value.
statusstringrequired
The feedback option's status.
status_transitionsobjectrequired
defaultError response.
errorobjectrequired
Error handling
description is required and must not exceed 100 characters. Each value in expand must not exceed 5,000 characters.