Skip to content

Required form before canceling a paid plan: what could we have done better (owner)

POST
/v1/orgs/{org}/billing/cancellation-feedback
curl --request POST \
--url https://api.replifier.com/v1/orgs/org_01hx0000000000000000000000/billing/cancellation-feedback \
--header 'Content-Type: application/json' \
--data '{ "reason": "price", "switchedTo": "example", "comment": "example", "rating": 1, "contactAllowed": true }'

DAT-3351. Not a retention step: no offers. The answer is valid for 30 minutes for canceling (or opening the Stripe portal with intent=cancel) and is emailed to the internal inbox.

org
required
string
/^org_[a-z0-9]{26}$/

Example

org_01hx0000000000000000000000
Media typeapplication/json
object
reason
required
string
Allowed values: price missing_feature hard_to_use delivery_quality poor_support switched_tool no_longer_needed other
switchedTo

Required when reason is switched_tool: which tool

string
>= 1 characters <= 200 characters
comment
required

What could we have done for you to stay? 20–2000 characters

string
>= 20 characters <= 2000 characters
rating
integer
>= 1 <= 5
contactAllowed
boolean

Saved

Media typeapplication/json
object
id
required
string
validForMinutes
required
integer

Example generated

{
"id": "example",
"validForMinutes": 1
}

Invalid data

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

No session, expired session, or invalid, expired or revoked API key

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Not allowed, API key missing the scope, IP not allowed, or request rejected (csrf_rejected)

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Does not exist or is not visible to you

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Conflict

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Internal error

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}