AlmondTill/G3N API

On this page

cancelSupportPlan

mutation · in the family Billing and the wallet

What it does

Stop the handholding plan’s automatic renewals. The quarter you already paid keeps serving through its last month; after that the plan lapses and incidents bill per case.

Stop the handholding plan's renewals: paid coverage serves through its quarter (coveredThroughMonth), then the plan lapses; re-purchasing later re-arms the 72 h wait. No standing plan / already canceled refuses CONFLICT. Requires the unrestricted capability. Template class A16_BILLING (hand-derived v93).

What happens

No money moves. Re-purchasing later restarts the 72-hour activation wait.

Who may call it

Capability area: Billing and the wallet — Your platform bill, token purchases and the usage and cost reads.

Returns

SupportPlanReport SupportPlanReport! — The caller group's handholding-plan report (the quarterly HUMAN-support plans, consumption-sized): the LIVE size classing (what a purchase today charges), the ruled per-incident price, and the plan's standing in the ONE coverage vocabulary.

Example request

mutation ExampleCancelSupportPlan {
  cancelSupportPlan {
    sizeClass
    quarterUsdCents
    basisTokensPerMonth
    thresholdsVersion
    incidentUsdCents
    standing
    onboardingUntil
    onboardingCovers
    purchasedAt
    activatesAt
    coveredThroughMonth
    canceledAt
  }
}

Send it with the envelope naming the version: "extensions": {"at": {"version": {"name":"genesis","number":0}}}.

Example response

{
  "data": {
    "cancelSupportPlan": {
      "sizeClass": "<size class>",
      "quarterUsdCents": 1,
      "basisTokensPerMonth": 1,
      "thresholdsVersion": 1,
      "incidentUsdCents": 1,
      "standing": "<standing>",
      "onboardingUntil": "<onboarding until>",
      "onboardingCovers": true,
      "purchasedAt": "2027-01-31T00:00:00.000Z",
      "activatesAt": "2027-01-31T00:00:00.000Z",
      "coveredThroughMonth": "<covered through month>",
      "canceledAt": "2027-01-31T00:00:00.000Z"
    }
  },
  "extensions": {
    "at": {
      "callId": "01EXAMPLE-CALL-ID",
      "version": {
        "requested": {
          "name": "genesis",
          "number": 0
        },
        "serviced": {
          "name": "genesis",
          "number": 0
        }
      }
    }
  }
}

Errors this call can answer