naftiko: 1.0.0-alpha2 info: label: NetBird REST API — Checkout description: 'NetBird REST API — Checkout. 1 operations. Lead operation: Create checkout session. Self-contained Naftiko capability covering one Netbird business surface.' tags: - Netbird - Checkout created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: NETBIRD_API_KEY: NETBIRD_API_KEY capability: consumes: - type: http namespace: netbird-checkout baseUri: https://api.netbird.io description: NetBird REST API — Checkout business capability. Self-contained, no shared references. resources: - name: api-integrations-billing-checkout path: /api/integrations/billing/checkout operations: - name: post method: POST description: Create checkout session outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.NETBIRD_API_KEY}}' exposes: - type: rest namespace: netbird-checkout-rest port: 8080 description: REST adapter for NetBird REST API — Checkout. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/integrations/billing/checkout name: api-integrations-billing-checkout description: REST surface for api-integrations-billing-checkout. operations: - method: POST name: post description: Create checkout session call: netbird-checkout.post with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: netbird-checkout-mcp port: 9090 transport: http description: MCP adapter for NetBird REST API — Checkout. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-checkout-session description: Create checkout session hints: readOnly: false destructive: false idempotent: false call: netbird-checkout.post with: body: tools.body outputParameters: - type: object mapping: $.