Reason Codes
Create Reason Code
Creates a reason code for a given site.
Reason Codes are a way to gain a high-level view of why your customers are cancelling the subscription to your product or service.
Add a set of churn reason codes to be displayed in-app and/or the Maxio Billing Portal. As your subscribers decide to cancel their subscription, learn why they decided to cancel.
For more information, see Churn Reason Codes.
Authorization
BasicAuth AuthorizationBasic <token>
The username is a Maxio Chargify API key. The password is x.
In: header
Request Body
application/json
reason_code*
Response Body
application/json
application/json
curl -X POST "https://example.com/reason_codes.json" \ -H "Content-Type: application/json" \ -d '{ "reason_code": { "code": "NOTHANKYOU", "description": "No thank you!", "position": 5 } }'{ "reason_code": { "id": 0, "site_id": 0, "code": "string", "description": "string", "position": 0, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }}