naftiko: 1.0.0-alpha2 info: label: Stripe Issuing API — Authorization description: 'Stripe Issuing API — Authorization. 5 operations. Lead operation: Stripe Get Issuing Authorizations. Self-contained Naftiko capability covering one Stripe business surface.' tags: - Stripe - Authorization created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: STRIPE_API_KEY: STRIPE_API_KEY capability: consumes: - type: http namespace: issuing-authorization baseUri: https://api.stripe.com description: Stripe Issuing API — Authorization business capability. Self-contained, no shared references. resources: - name: v1-issuing-authorizations path: /v1/issuing/authorizations operations: - name: getissuingauthorizations method: GET description: Stripe Get Issuing Authorizations outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: card in: query type: string description: Only return authorizations that belong to the given card. - name: cardholder in: query type: string description: Only return authorizations that belong to the given cardholder. - name: created in: query type: string description: Only return authorizations that were created during the given date interval. - name: ending_before in: query type: string description: A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 ob - name: expand in: query type: array description: Specifies which fields in the response should be expanded. - name: limit in: query type: integer description: A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. - name: starting_after in: query type: string description: A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 o - name: status in: query type: string description: Only return authorizations with the given status. One of `pending`, `closed`, or `reversed`. - name: body in: body type: object description: Request body (JSON). required: false - name: v1-issuing-authorizations-authorization path: /v1/issuing/authorizations/{authorization} operations: - name: getissuingauthorizationsauthorization method: GET description: Stripe Get Issuing Authorizations outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: authorization in: path type: string required: true - name: expand in: query type: array description: Specifies which fields in the response should be expanded. - name: body in: body type: object description: Request body (JSON). required: false - name: postissuingauthorizationsauthorization method: POST description: Stripe Post Issuing Authorizations outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: authorization in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: v1-issuing-authorizations-authorization-approve path: /v1/issuing/authorizations/{authorization}/approve operations: - name: postissuingauthorizationsauthorizationapprove method: POST description: Stripe Post Issuing Authorizations Approve outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: authorization in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: v1-issuing-authorizations-authorization-decline path: /v1/issuing/authorizations/{authorization}/decline operations: - name: postissuingauthorizationsauthorizationdecline method: POST description: Stripe Post Issuing Authorizations Decline outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: authorization in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false authentication: type: bearer token: '{{env.STRIPE_API_KEY}}' exposes: - type: rest namespace: issuing-authorization-rest port: 8080 description: REST adapter for Stripe Issuing API — Authorization. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/issuing/authorizations name: v1-issuing-authorizations description: REST surface for v1-issuing-authorizations. operations: - method: GET name: getissuingauthorizations description: Stripe Get Issuing Authorizations call: issuing-authorization.getissuingauthorizations with: card: rest.card cardholder: rest.cardholder created: rest.created ending_before: rest.ending_before expand: rest.expand limit: rest.limit starting_after: rest.starting_after status: rest.status body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/issuing/authorizations/{authorization} name: v1-issuing-authorizations-authorization description: REST surface for v1-issuing-authorizations-authorization. operations: - method: GET name: getissuingauthorizationsauthorization description: Stripe Get Issuing Authorizations call: issuing-authorization.getissuingauthorizationsauthorization with: authorization: rest.authorization expand: rest.expand body: rest.body outputParameters: - type: object mapping: $. - method: POST name: postissuingauthorizationsauthorization description: Stripe Post Issuing Authorizations call: issuing-authorization.postissuingauthorizationsauthorization with: authorization: rest.authorization body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/issuing/authorizations/{authorization}/approve name: v1-issuing-authorizations-authorization-approve description: REST surface for v1-issuing-authorizations-authorization-approve. operations: - method: POST name: postissuingauthorizationsauthorizationapprove description: Stripe Post Issuing Authorizations Approve call: issuing-authorization.postissuingauthorizationsauthorizationapprove with: authorization: rest.authorization body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/issuing/authorizations/{authorization}/decline name: v1-issuing-authorizations-authorization-decline description: REST surface for v1-issuing-authorizations-authorization-decline. operations: - method: POST name: postissuingauthorizationsauthorizationdecline description: Stripe Post Issuing Authorizations Decline call: issuing-authorization.postissuingauthorizationsauthorizationdecline with: authorization: rest.authorization body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: issuing-authorization-mcp port: 9090 transport: http description: MCP adapter for Stripe Issuing API — Authorization. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: stripe-get-issuing-authorizations description: Stripe Get Issuing Authorizations hints: readOnly: true destructive: false idempotent: true call: issuing-authorization.getissuingauthorizations with: card: tools.card cardholder: tools.cardholder created: tools.created ending_before: tools.ending_before expand: tools.expand limit: tools.limit starting_after: tools.starting_after status: tools.status body: tools.body outputParameters: - type: object mapping: $. - name: stripe-get-issuing-authorizations-2 description: Stripe Get Issuing Authorizations hints: readOnly: true destructive: false idempotent: true call: issuing-authorization.getissuingauthorizationsauthorization with: authorization: tools.authorization expand: tools.expand body: tools.body outputParameters: - type: object mapping: $. - name: stripe-post-issuing-authorizations description: Stripe Post Issuing Authorizations hints: readOnly: false destructive: false idempotent: false call: issuing-authorization.postissuingauthorizationsauthorization with: authorization: tools.authorization body: tools.body outputParameters: - type: object mapping: $. - name: stripe-post-issuing-authorizations-approve description: Stripe Post Issuing Authorizations Approve hints: readOnly: false destructive: false idempotent: false call: issuing-authorization.postissuingauthorizationsauthorizationapprove with: authorization: tools.authorization body: tools.body outputParameters: - type: object mapping: $. - name: stripe-post-issuing-authorizations-decline description: Stripe Post Issuing Authorizations Decline hints: readOnly: false destructive: false idempotent: false call: issuing-authorization.postissuingauthorizationsauthorizationdecline with: authorization: tools.authorization body: tools.body outputParameters: - type: object mapping: $.