Apps - Room Booking

Read the billing state of a room booking installation

Each calendar on a screen is billed monthly or yearly after a trial. Subscribing and managing the subscription happen in the browser on the billing page (checkout_url and portal_url), because each opens a Stripe session for the owner; the API never starts one.

get/api/apps/room_booking/{installation_id}/billing

Request

  • Base URL: https://trmnl.com
  • URL: https://trmnl.com/api/apps/room_booking/{installation_id}/billing
  • Auth: HTTP bearer

Response

The billing state

Example response

{
  "data": {
    "amount_in_dollars": {
      "month": 8,
      "year": 80
    },
    "trial_days": 14,
    "subscription": {
      "status": "active"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.