Reason Codes

Read Reason Code

GET
/reason_codes/{reason_code_id}.json

Returns a particular churn reason code for a given site by its unique ID.

Authorization

BasicAuth
AuthorizationBasic <token>

The username is a Maxio Chargify API key. The password is x.

In: header

Path Parameters

reason_code_id*integer

The Advanced Billing id of the reason code

Response Body

application/json

curl -X GET "https://example.com/reason_codes/0.json"
{  "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"  }}