naftiko: 1.0.0-alpha2 info: label: Chase Account Aggregation User Consent API — Consents description: 'Chase Account Aggregation User Consent API — Consents. 4 operations. Lead operation: Create a consent request. Self-contained Naftiko capability covering one Chase business surface.' tags: - Chase - Consents created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CHASE_API_KEY: CHASE_API_KEY capability: consumes: - type: http namespace: account-aggregation-user-consent-consents baseUri: https://api.chase.com/aggregation/consent description: Chase Account Aggregation User Consent API — Consents business capability. Self-contained, no shared references. resources: - name: consents path: /consents operations: - name: createconsent method: POST description: Create a consent request outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: listconsents method: GET description: List consents outputRawFormat: json outputParameters: - name: result type: object value: $. - name: consents-consentId path: /consents/{consentId} operations: - name: getconsent method: GET description: Get a consent record outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: consentId in: path type: string required: true - name: revokeconsent method: DELETE description: Revoke a consent outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: consentId in: path type: string required: true authentication: type: bearer token: '{{env.CHASE_API_KEY}}' exposes: - type: rest namespace: account-aggregation-user-consent-consents-rest port: 8080 description: REST adapter for Chase Account Aggregation User Consent API — Consents. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/consents name: consents description: REST surface for consents. operations: - method: POST name: createconsent description: Create a consent request call: account-aggregation-user-consent-consents.createconsent with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: listconsents description: List consents call: account-aggregation-user-consent-consents.listconsents outputParameters: - type: object mapping: $. - path: /v1/consents/{consentid} name: consents-consentid description: REST surface for consents-consentId. operations: - method: GET name: getconsent description: Get a consent record call: account-aggregation-user-consent-consents.getconsent with: consentId: rest.consentId outputParameters: - type: object mapping: $. - method: DELETE name: revokeconsent description: Revoke a consent call: account-aggregation-user-consent-consents.revokeconsent with: consentId: rest.consentId outputParameters: - type: object mapping: $. - type: mcp namespace: account-aggregation-user-consent-consents-mcp port: 9090 transport: http description: MCP adapter for Chase Account Aggregation User Consent API — Consents. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-consent-request description: Create a consent request hints: readOnly: false destructive: false idempotent: false call: account-aggregation-user-consent-consents.createconsent with: body: tools.body outputParameters: - type: object mapping: $. - name: list-consents description: List consents hints: readOnly: true destructive: false idempotent: true call: account-aggregation-user-consent-consents.listconsents outputParameters: - type: object mapping: $. - name: get-consent-record description: Get a consent record hints: readOnly: true destructive: false idempotent: true call: account-aggregation-user-consent-consents.getconsent with: consentId: tools.consentId outputParameters: - type: object mapping: $. - name: revoke-consent description: Revoke a consent hints: readOnly: false destructive: true idempotent: true call: account-aggregation-user-consent-consents.revokeconsent with: consentId: tools.consentId outputParameters: - type: object mapping: $.