naftiko: 1.0.0-alpha2 info: label: Paypal Payment Experience Web Profiles — Web-Profiles description: 'Paypal Payment Experience Web Profiles — Web-Profiles. 6 operations. Lead operation: Paypal Create web experience profile. Self-contained Naftiko capability covering one Paypal business surface.' tags: - Paypal - Web-Profiles created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: PAYPAL_API_KEY: PAYPAL_API_KEY capability: consumes: - type: http namespace: payment-experience-web-profiles baseUri: https://api-m.sandbox.paypal.com description: Paypal Payment Experience Web Profiles — Web-Profiles business capability. Self-contained, no shared references. resources: - name: v1-payment-experience-web-profiles path: /v1/payment-experience/web-profiles operations: - name: webprofilecreate method: POST description: Paypal Create web experience profile outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: webprofilegetlist method: GET description: Paypal List web experience profiles outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v1-payment-experience-web-profiles-id path: /v1/payment-experience/web-profiles/{id} operations: - name: webprofileupdate method: PUT description: Paypal Update web experience profile outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: webprofilepartialupdate method: PATCH description: Paypal Partially update web experience profile outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: webprofileget method: GET description: Paypal Show web experience profile details by ID outputRawFormat: json outputParameters: - name: result type: object value: $. - name: webprofiledelete method: DELETE description: Paypal Delete web experience profile outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.PAYPAL_API_KEY}}' exposes: - type: rest namespace: payment-experience-web-profiles-rest port: 8080 description: REST adapter for Paypal Payment Experience Web Profiles — Web-Profiles. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/payment-experience/web-profiles name: v1-payment-experience-web-profiles description: REST surface for v1-payment-experience-web-profiles. operations: - method: POST name: webprofilecreate description: Paypal Create web experience profile call: payment-experience-web-profiles.webprofilecreate with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: webprofilegetlist description: Paypal List web experience profiles call: payment-experience-web-profiles.webprofilegetlist outputParameters: - type: object mapping: $. - path: /v1/v1/payment-experience/web-profiles/{id} name: v1-payment-experience-web-profiles-id description: REST surface for v1-payment-experience-web-profiles-id. operations: - method: PUT name: webprofileupdate description: Paypal Update web experience profile call: payment-experience-web-profiles.webprofileupdate with: body: rest.body outputParameters: - type: object mapping: $. - method: PATCH name: webprofilepartialupdate description: Paypal Partially update web experience profile call: payment-experience-web-profiles.webprofilepartialupdate with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: webprofileget description: Paypal Show web experience profile details by ID call: payment-experience-web-profiles.webprofileget outputParameters: - type: object mapping: $. - method: DELETE name: webprofiledelete description: Paypal Delete web experience profile call: payment-experience-web-profiles.webprofiledelete outputParameters: - type: object mapping: $. - type: mcp namespace: payment-experience-web-profiles-mcp port: 9090 transport: http description: MCP adapter for Paypal Payment Experience Web Profiles — Web-Profiles. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: paypal-create-web-experience-profile description: Paypal Create web experience profile hints: readOnly: false destructive: false idempotent: false call: payment-experience-web-profiles.webprofilecreate with: body: tools.body outputParameters: - type: object mapping: $. - name: paypal-list-web-experience-profiles description: Paypal List web experience profiles hints: readOnly: true destructive: false idempotent: true call: payment-experience-web-profiles.webprofilegetlist outputParameters: - type: object mapping: $. - name: paypal-update-web-experience-profile description: Paypal Update web experience profile hints: readOnly: false destructive: false idempotent: true call: payment-experience-web-profiles.webprofileupdate with: body: tools.body outputParameters: - type: object mapping: $. - name: paypal-partially-update-web-experience description: Paypal Partially update web experience profile hints: readOnly: false destructive: false idempotent: true call: payment-experience-web-profiles.webprofilepartialupdate with: body: tools.body outputParameters: - type: object mapping: $. - name: paypal-show-web-experience-profile description: Paypal Show web experience profile details by ID hints: readOnly: true destructive: false idempotent: true call: payment-experience-web-profiles.webprofileget outputParameters: - type: object mapping: $. - name: paypal-delete-web-experience-profile description: Paypal Delete web experience profile hints: readOnly: false destructive: true idempotent: true call: payment-experience-web-profiles.webprofiledelete outputParameters: - type: object mapping: $.