naftiko: 1.0.0-alpha2 info: label: Tango RaaS API — Low Balance Alerts description: 'Tango RaaS API — Low Balance Alerts. 5 operations. Lead operation: Create Low Balance Alert. Self-contained Naftiko capability covering one Tango business surface.' tags: - Tango - Low Balance Alerts created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TANGO_API_KEY: TANGO_API_KEY capability: consumes: - type: http namespace: raas-low-balance-alerts baseUri: https://api.tangocard.com/raas/v2 description: Tango RaaS API — Low Balance Alerts business capability. Self-contained, no shared references. resources: - name: customers-customerIdentifier-accounts-accountIdentifier-lowbalance path: /customers/{customerIdentifier}/accounts/{accountIdentifier}/lowbalance operations: - name: createlowbalancealert method: POST description: Create Low Balance Alert outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: listlowbalancealerts method: GET description: List Low Balance Alerts outputRawFormat: json outputParameters: - name: result type: object value: $. - name: customers-customerIdentifier-accounts-accountIdentifier-lowbalance-balanceAlertI path: /customers/{customerIdentifier}/accounts/{accountIdentifier}/lowbalance/{balanceAlertID} operations: - name: getlowbalancealert method: GET description: Get Low Balance Alert outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updatelowbalancealert method: PATCH description: Update Low Balance Alert outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deletelowbalancealert method: DELETE description: Delete Low Balance Alert outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: basic username: '{{env.TANGO_USER}}' password: '{{env.TANGO_PASS}}' exposes: - type: rest namespace: raas-low-balance-alerts-rest port: 8080 description: REST adapter for Tango RaaS API — Low Balance Alerts. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/customers/{customeridentifier}/accounts/{accountidentifier}/lowbalance name: customers-customeridentifier-accounts-accountidentifier-lowbalance description: REST surface for customers-customerIdentifier-accounts-accountIdentifier-lowbalance. operations: - method: POST name: createlowbalancealert description: Create Low Balance Alert call: raas-low-balance-alerts.createlowbalancealert with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: listlowbalancealerts description: List Low Balance Alerts call: raas-low-balance-alerts.listlowbalancealerts outputParameters: - type: object mapping: $. - path: /v1/customers/{customeridentifier}/accounts/{accountidentifier}/lowbalance/{balancealertid} name: customers-customeridentifier-accounts-accountidentifier-lowbalance-balancealerti description: REST surface for customers-customerIdentifier-accounts-accountIdentifier-lowbalance-balanceAlertI. operations: - method: GET name: getlowbalancealert description: Get Low Balance Alert call: raas-low-balance-alerts.getlowbalancealert outputParameters: - type: object mapping: $. - method: PATCH name: updatelowbalancealert description: Update Low Balance Alert call: raas-low-balance-alerts.updatelowbalancealert with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletelowbalancealert description: Delete Low Balance Alert call: raas-low-balance-alerts.deletelowbalancealert outputParameters: - type: object mapping: $. - type: mcp namespace: raas-low-balance-alerts-mcp port: 9090 transport: http description: MCP adapter for Tango RaaS API — Low Balance Alerts. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-low-balance-alert description: Create Low Balance Alert hints: readOnly: false destructive: false idempotent: false call: raas-low-balance-alerts.createlowbalancealert with: body: tools.body outputParameters: - type: object mapping: $. - name: list-low-balance-alerts description: List Low Balance Alerts hints: readOnly: true destructive: false idempotent: true call: raas-low-balance-alerts.listlowbalancealerts outputParameters: - type: object mapping: $. - name: get-low-balance-alert description: Get Low Balance Alert hints: readOnly: true destructive: false idempotent: true call: raas-low-balance-alerts.getlowbalancealert outputParameters: - type: object mapping: $. - name: update-low-balance-alert description: Update Low Balance Alert hints: readOnly: false destructive: false idempotent: true call: raas-low-balance-alerts.updatelowbalancealert with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-low-balance-alert description: Delete Low Balance Alert hints: readOnly: false destructive: true idempotent: true call: raas-low-balance-alerts.deletelowbalancealert outputParameters: - type: object mapping: $.