naftiko: 1.0.0-alpha2 info: label: Chase Loyalty Pay with Points Enrollment Service API — Enrollments description: 'Chase Loyalty Pay with Points Enrollment Service API — Enrollments. 3 operations. Lead operation: Enroll a card in Pay with Points. Self-contained Naftiko capability covering one Chase business surface.' tags: - Chase - Enrollments 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-enrollment-service-enrollments baseUri: https://api.chase.com/loyalty/pay-with-points/enrollment description: Chase Loyalty Pay with Points Enrollment Service API — Enrollments business capability. Self-contained, no shared references. resources: - name: enrollments path: /enrollments operations: - name: createenrollment method: POST description: Enroll a card in Pay with Points outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: enrollments-enrollmentId path: /enrollments/{enrollmentId} operations: - name: getenrollment method: GET description: Get an enrollment record outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: enrollmentId in: path type: string required: true - name: revokeenrollment method: DELETE description: Revoke a Pay with Points enrollment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: enrollmentId in: path type: string required: true authentication: type: bearer token: '{{env.CHASE_API_KEY}}' exposes: - type: rest namespace: loyalty-pay-with-points-enrollment-service-enrollments-rest port: 8080 description: REST adapter for Chase Loyalty Pay with Points Enrollment Service API — Enrollments. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/enrollments name: enrollments description: REST surface for enrollments. operations: - method: POST name: createenrollment description: Enroll a card in Pay with Points call: loyalty-pay-with-points-enrollment-service-enrollments.createenrollment with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/enrollments/{enrollmentid} name: enrollments-enrollmentid description: REST surface for enrollments-enrollmentId. operations: - method: GET name: getenrollment description: Get an enrollment record call: loyalty-pay-with-points-enrollment-service-enrollments.getenrollment with: enrollmentId: rest.enrollmentId outputParameters: - type: object mapping: $. - method: DELETE name: revokeenrollment description: Revoke a Pay with Points enrollment call: loyalty-pay-with-points-enrollment-service-enrollments.revokeenrollment with: enrollmentId: rest.enrollmentId outputParameters: - type: object mapping: $. - type: mcp namespace: loyalty-pay-with-points-enrollment-service-enrollments-mcp port: 9090 transport: http description: MCP adapter for Chase Loyalty Pay with Points Enrollment Service API — Enrollments. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: enroll-card-pay-points description: Enroll a card in Pay with Points hints: readOnly: false destructive: false idempotent: false call: loyalty-pay-with-points-enrollment-service-enrollments.createenrollment with: body: tools.body outputParameters: - type: object mapping: $. - name: get-enrollment-record description: Get an enrollment record hints: readOnly: true destructive: false idempotent: true call: loyalty-pay-with-points-enrollment-service-enrollments.getenrollment with: enrollmentId: tools.enrollmentId outputParameters: - type: object mapping: $. - name: revoke-pay-points-enrollment description: Revoke a Pay with Points enrollment hints: readOnly: false destructive: true idempotent: true call: loyalty-pay-with-points-enrollment-service-enrollments.revokeenrollment with: enrollmentId: tools.enrollmentId outputParameters: - type: object mapping: $.