Metronome · Capability

Metronome — Threshold billing

Metronome — Threshold billing. 1 operations. Lead operation: Update a customer's active recharge or prepaid balance threshold config. Self-contained Naftiko capability covering one Metronome business surface.

Run with Naftiko MetronomeThreshold billing

What You Can Do

POST
Updateactiverechargeconfigv1 — Update a customer's active recharge or prepaid balance threshold config
/v1/v1/threshold-billing/update-active-recharge-config

MCP Tools

update-customer-s-active-recharge-prepaid

Update a customer's active recharge or prepaid balance threshold config

Capability Spec

metronome-threshold-billing.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Metronome — Threshold billing
  description: 'Metronome — Threshold billing. 1 operations. Lead operation: Update a customer''s active recharge or prepaid
    balance threshold config. Self-contained Naftiko capability covering one Metronome business surface.'
  tags:
  - Metronome
  - Threshold billing
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    METRONOME_API_KEY: METRONOME_API_KEY
capability:
  consumes:
  - type: http
    namespace: metronome-threshold-billing
    baseUri: https://api.metronome.com
    description: Metronome — Threshold billing business capability. Self-contained, no shared references.
    resources:
    - name: v1-threshold-billing-update-active-recharge-config
      path: /v1/threshold-billing/update-active-recharge-config
      operations:
      - name: updateactiverechargeconfigv1
        method: POST
        description: Update a customer's active recharge or prepaid balance threshold config
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: bearer
      token: '{{env.METRONOME_API_KEY}}'
  exposes:
  - type: rest
    namespace: metronome-threshold-billing-rest
    port: 8080
    description: REST adapter for Metronome — Threshold billing. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/v1/threshold-billing/update-active-recharge-config
      name: v1-threshold-billing-update-active-recharge-config
      description: REST surface for v1-threshold-billing-update-active-recharge-config.
      operations:
      - method: POST
        name: updateactiverechargeconfigv1
        description: Update a customer's active recharge or prepaid balance threshold config
        call: metronome-threshold-billing.updateactiverechargeconfigv1
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: metronome-threshold-billing-mcp
    port: 9090
    transport: http
    description: MCP adapter for Metronome — Threshold billing. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: update-customer-s-active-recharge-prepaid
      description: Update a customer's active recharge or prepaid balance threshold config
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: metronome-threshold-billing.updateactiverechargeconfigv1
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.