Retrieves site data.
Full documentation on Sites in the Advanced Billing UI can be located here.
Specifically, the Clearing Site Data section is relevant to this endpoint documentation.
If the site has RI enabled then you will see more settings like:
"customer_hierarchy_enabled": true,"whopays_enabled": true,"whopays_default_payer": "self"You can read more about these settings here: Who Pays & Customer Hierarchy.
The username is a Maxio Chargify API key and the password is x. Basic authentication works only with the US and EU environments, which connect to chargify.com directly. The Maxio API Gateway environment does not accept Basic authentication.
In: header
application/json
curl -X GET \ --url 'https://subdomain.chargify.com/site.json' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer ACCESS_TOKEN'