naftiko: 1.0.0-alpha2 info: label: Synctera API — Customers description: 'Synctera API — Customers. 13 operations. Lead operation: List Customers. Self-contained Naftiko capability covering one Synctera business surface.' tags: - Synctera - Customers created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SYNCTERA_API_KEY: SYNCTERA_API_KEY capability: consumes: - type: http namespace: synctera-customers baseUri: https://api.synctera.com/v0 description: Synctera API — Customers business capability. Self-contained, no shared references. resources: - name: customers path: /customers operations: - name: listcustomers method: GET description: List Customers outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createcustomer method: POST description: Create a Customer outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: customers-customer_id path: /customers/{customer_id} operations: - name: getcustomer method: GET description: Get Customer outputRawFormat: json outputParameters: - name: result type: object value: $. - name: patchcustomer method: PATCH description: Patch Customer outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: updatecustomer method: PUT description: Update Customer outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: customers-customer_id-employment path: /customers/{customer_id}/employment operations: - name: getallcustomeremployment method: GET description: List customer employment records outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createcustomeremployment method: POST description: Create employment record outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: customers-customer_id-employment-employment_id path: /customers/{customer_id}/employment/{employment_id} operations: - name: getpartyemployment method: GET description: Get customer employment record outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updatepartyemployment method: PUT description: Update customer employment record outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: customers-customer_id-prefill path: /customers/{customer_id}/prefill operations: - name: prefillcustomer method: POST description: Prefill customer outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: customers-customer_id-risk_ratings path: /customers/{customer_id}/risk_ratings operations: - name: getallcustomerriskratings method: GET description: List customer risk ratings outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createcustomerriskrating method: POST description: Create customer risk rating outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: customers-customer_id-risk_ratings-risk_rating_id path: /customers/{customer_id}/risk_ratings/{risk_rating_id} operations: - name: getcustomerriskrating method: GET description: Get customer risk rating outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.SYNCTERA_API_KEY}}' exposes: - type: rest namespace: synctera-customers-rest port: 8080 description: REST adapter for Synctera API — Customers. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/customers name: customers description: REST surface for customers. operations: - method: GET name: listcustomers description: List Customers call: synctera-customers.listcustomers outputParameters: - type: object mapping: $. - method: POST name: createcustomer description: Create a Customer call: synctera-customers.createcustomer with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/customers/{customer-id} name: customers-customer-id description: REST surface for customers-customer_id. operations: - method: GET name: getcustomer description: Get Customer call: synctera-customers.getcustomer outputParameters: - type: object mapping: $. - method: PATCH name: patchcustomer description: Patch Customer call: synctera-customers.patchcustomer with: body: rest.body outputParameters: - type: object mapping: $. - method: PUT name: updatecustomer description: Update Customer call: synctera-customers.updatecustomer with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/customers/{customer-id}/employment name: customers-customer-id-employment description: REST surface for customers-customer_id-employment. operations: - method: GET name: getallcustomeremployment description: List customer employment records call: synctera-customers.getallcustomeremployment outputParameters: - type: object mapping: $. - method: POST name: createcustomeremployment description: Create employment record call: synctera-customers.createcustomeremployment with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/customers/{customer-id}/employment/{employment-id} name: customers-customer-id-employment-employment-id description: REST surface for customers-customer_id-employment-employment_id. operations: - method: GET name: getpartyemployment description: Get customer employment record call: synctera-customers.getpartyemployment outputParameters: - type: object mapping: $. - method: PUT name: updatepartyemployment description: Update customer employment record call: synctera-customers.updatepartyemployment with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/customers/{customer-id}/prefill name: customers-customer-id-prefill description: REST surface for customers-customer_id-prefill. operations: - method: POST name: prefillcustomer description: Prefill customer call: synctera-customers.prefillcustomer with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/customers/{customer-id}/risk-ratings name: customers-customer-id-risk-ratings description: REST surface for customers-customer_id-risk_ratings. operations: - method: GET name: getallcustomerriskratings description: List customer risk ratings call: synctera-customers.getallcustomerriskratings outputParameters: - type: object mapping: $. - method: POST name: createcustomerriskrating description: Create customer risk rating call: synctera-customers.createcustomerriskrating with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/customers/{customer-id}/risk-ratings/{risk-rating-id} name: customers-customer-id-risk-ratings-risk-rating-id description: REST surface for customers-customer_id-risk_ratings-risk_rating_id. operations: - method: GET name: getcustomerriskrating description: Get customer risk rating call: synctera-customers.getcustomerriskrating outputParameters: - type: object mapping: $. - type: mcp namespace: synctera-customers-mcp port: 9090 transport: http description: MCP adapter for Synctera API — Customers. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-customers description: List Customers hints: readOnly: true destructive: false idempotent: true call: synctera-customers.listcustomers outputParameters: - type: object mapping: $. - name: create-customer description: Create a Customer hints: readOnly: false destructive: false idempotent: false call: synctera-customers.createcustomer with: body: tools.body outputParameters: - type: object mapping: $. - name: get-customer description: Get Customer hints: readOnly: true destructive: false idempotent: true call: synctera-customers.getcustomer outputParameters: - type: object mapping: $. - name: patch-customer description: Patch Customer hints: readOnly: false destructive: false idempotent: true call: synctera-customers.patchcustomer with: body: tools.body outputParameters: - type: object mapping: $. - name: update-customer description: Update Customer hints: readOnly: false destructive: false idempotent: true call: synctera-customers.updatecustomer with: body: tools.body outputParameters: - type: object mapping: $. - name: list-customer-employment-records description: List customer employment records hints: readOnly: true destructive: false idempotent: true call: synctera-customers.getallcustomeremployment outputParameters: - type: object mapping: $. - name: create-employment-record description: Create employment record hints: readOnly: false destructive: false idempotent: false call: synctera-customers.createcustomeremployment with: body: tools.body outputParameters: - type: object mapping: $. - name: get-customer-employment-record description: Get customer employment record hints: readOnly: true destructive: false idempotent: true call: synctera-customers.getpartyemployment outputParameters: - type: object mapping: $. - name: update-customer-employment-record description: Update customer employment record hints: readOnly: false destructive: false idempotent: true call: synctera-customers.updatepartyemployment with: body: tools.body outputParameters: - type: object mapping: $. - name: prefill-customer description: Prefill customer hints: readOnly: false destructive: false idempotent: false call: synctera-customers.prefillcustomer with: body: tools.body outputParameters: - type: object mapping: $. - name: list-customer-risk-ratings description: List customer risk ratings hints: readOnly: true destructive: false idempotent: true call: synctera-customers.getallcustomerriskratings outputParameters: - type: object mapping: $. - name: create-customer-risk-rating description: Create customer risk rating hints: readOnly: false destructive: false idempotent: false call: synctera-customers.createcustomerriskrating with: body: tools.body outputParameters: - type: object mapping: $. - name: get-customer-risk-rating description: Get customer risk rating hints: readOnly: true destructive: false idempotent: true call: synctera-customers.getcustomerriskrating outputParameters: - type: object mapping: $.