WSO2 · Capability

WSO2 API Manager - Developer Portal — API Monetization

WSO2 API Manager - Developer Portal — API Monetization. 1 operations. Lead operation: Get Details of a Pending Invoice for a Monetized Subscription with Metered Billing.. Self-contained Naftiko capability covering one Wso2 business surface.

Run with Naftiko Wso2API Monetization

What You Can Do

GET
Get — Get Details of a Pending Invoice for a Monetized Subscription with Metered Billing.
/v1/subscriptions/{subscriptionid}/usage

MCP Tools

get-details-pending-invoice-monetized

Get Details of a Pending Invoice for a Monetized Subscription with Metered Billing.

read-only idempotent

Capability Spec

devportal-api-monetization.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: WSO2 API Manager - Developer Portal — API Monetization
  description: 'WSO2 API Manager - Developer Portal — API Monetization. 1 operations. Lead operation: Get Details of a Pending
    Invoice for a Monetized Subscription with Metered Billing.. Self-contained Naftiko capability covering one Wso2 business
    surface.'
  tags:
  - Wso2
  - API Monetization
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    WSO2_API_KEY: WSO2_API_KEY
capability:
  consumes:
  - type: http
    namespace: devportal-api-monetization
    baseUri: https://apis.wso2.com/api/am/devportal/v3
    description: WSO2 API Manager - Developer Portal — API Monetization business capability. Self-contained, no shared references.
    resources:
    - name: subscriptions-subscriptionId-usage
      path: /subscriptions/{subscriptionId}/usage
      operations:
      - name: get
        method: GET
        description: Get Details of a Pending Invoice for a Monetized Subscription with Metered Billing.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.WSO2_API_KEY}}'
  exposes:
  - type: rest
    namespace: devportal-api-monetization-rest
    port: 8080
    description: REST adapter for WSO2 API Manager - Developer Portal — API Monetization. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/subscriptions/{subscriptionid}/usage
      name: subscriptions-subscriptionid-usage
      description: REST surface for subscriptions-subscriptionId-usage.
      operations:
      - method: GET
        name: get
        description: Get Details of a Pending Invoice for a Monetized Subscription with Metered Billing.
        call: devportal-api-monetization.get
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: devportal-api-monetization-mcp
    port: 9090
    transport: http
    description: MCP adapter for WSO2 API Manager - Developer Portal — API Monetization. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: get-details-pending-invoice-monetized
      description: Get Details of a Pending Invoice for a Monetized Subscription with Metered Billing.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: devportal-api-monetization.get
      outputParameters:
      - type: object
        mapping: $.