naftiko: 1.0.0-alpha2 info: label: Chase Loyalty Pay with Points Order Service API — Orders description: 'Chase Loyalty Pay with Points Order Service API — Orders. 4 operations. Lead operation: Create a Pay with Points order. Self-contained Naftiko capability covering one Chase business surface.' tags: - Chase - Orders created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CHASE_API_KEY: CHASE_API_KEY capability: consumes: - type: http namespace: loyalty-pay-with-points-order-service-orders baseUri: https://api.chase.com/loyalty/pay-with-points/orders description: Chase Loyalty Pay with Points Order Service API — Orders business capability. Self-contained, no shared references. resources: - name: orders path: /orders operations: - name: createorder method: POST description: Create a Pay with Points order outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: orders-orderId path: /orders/{orderId} operations: - name: getorder method: GET description: Get a Pay with Points order outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orderId in: path type: string required: true - name: orders-orderId-capture path: /orders/{orderId}/capture operations: - name: captureorder method: POST description: Capture a Pay with Points order outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orderId in: path type: string required: true - name: orders-orderId-reverse path: /orders/{orderId}/reverse operations: - name: reverseorder method: POST description: Reverse a Pay with Points order outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orderId in: path type: string required: true authentication: type: bearer token: '{{env.CHASE_API_KEY}}' exposes: - type: rest namespace: loyalty-pay-with-points-order-service-orders-rest port: 8080 description: REST adapter for Chase Loyalty Pay with Points Order Service API — Orders. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/orders name: orders description: REST surface for orders. operations: - method: POST name: createorder description: Create a Pay with Points order call: loyalty-pay-with-points-order-service-orders.createorder with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/orders/{orderid} name: orders-orderid description: REST surface for orders-orderId. operations: - method: GET name: getorder description: Get a Pay with Points order call: loyalty-pay-with-points-order-service-orders.getorder with: orderId: rest.orderId outputParameters: - type: object mapping: $. - path: /v1/orders/{orderid}/capture name: orders-orderid-capture description: REST surface for orders-orderId-capture. operations: - method: POST name: captureorder description: Capture a Pay with Points order call: loyalty-pay-with-points-order-service-orders.captureorder with: orderId: rest.orderId outputParameters: - type: object mapping: $. - path: /v1/orders/{orderid}/reverse name: orders-orderid-reverse description: REST surface for orders-orderId-reverse. operations: - method: POST name: reverseorder description: Reverse a Pay with Points order call: loyalty-pay-with-points-order-service-orders.reverseorder with: orderId: rest.orderId outputParameters: - type: object mapping: $. - type: mcp namespace: loyalty-pay-with-points-order-service-orders-mcp port: 9090 transport: http description: MCP adapter for Chase Loyalty Pay with Points Order Service API — Orders. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-pay-points-order description: Create a Pay with Points order hints: readOnly: false destructive: false idempotent: false call: loyalty-pay-with-points-order-service-orders.createorder with: body: tools.body outputParameters: - type: object mapping: $. - name: get-pay-points-order description: Get a Pay with Points order hints: readOnly: true destructive: false idempotent: true call: loyalty-pay-with-points-order-service-orders.getorder with: orderId: tools.orderId outputParameters: - type: object mapping: $. - name: capture-pay-points-order description: Capture a Pay with Points order hints: readOnly: false destructive: false idempotent: false call: loyalty-pay-with-points-order-service-orders.captureorder with: orderId: tools.orderId outputParameters: - type: object mapping: $. - name: reverse-pay-points-order description: Reverse a Pay with Points order hints: readOnly: false destructive: false idempotent: false call: loyalty-pay-with-points-order-service-orders.reverseorder with: orderId: tools.orderId outputParameters: - type: object mapping: $.