naftiko: 1.0.0-alpha2 info: label: Synchrony Financial Credit Authorization API — Purchases description: 'Synchrony Financial Credit Authorization API — Purchases. 1 operations. Lead operation: Create Purchase Authorization. Self-contained Naftiko capability covering one Synchrony Financial business surface.' tags: - Synchrony Financial - Purchases created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SYNCHRONY_FINANCIAL_API_KEY: SYNCHRONY_FINANCIAL_API_KEY capability: consumes: - type: http namespace: credit-authorization-purchases baseUri: https://api.syf.com description: Synchrony Financial Credit Authorization API — Purchases business capability. Self-contained, no shared references. resources: - name: v1-authorizations-purchases path: /v1/authorizations/purchases operations: - name: createpurchase method: POST description: Create Purchase Authorization outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.SYNCHRONY_FINANCIAL_API_KEY}}' exposes: - type: rest namespace: credit-authorization-purchases-rest port: 8080 description: REST adapter for Synchrony Financial Credit Authorization API — Purchases. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/authorizations/purchases name: v1-authorizations-purchases description: REST surface for v1-authorizations-purchases. operations: - method: POST name: createpurchase description: Create Purchase Authorization call: credit-authorization-purchases.createpurchase with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: credit-authorization-purchases-mcp port: 9090 transport: http description: MCP adapter for Synchrony Financial Credit Authorization API — Purchases. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-purchase-authorization description: Create Purchase Authorization hints: readOnly: false destructive: false idempotent: false call: credit-authorization-purchases.createpurchase with: body: tools.body outputParameters: - type: object mapping: $.