naftiko: 1.0.0-alpha2 info: label: Tamara Checkout API — Checkout Sessions description: 'Tamara Checkout API — Checkout Sessions. 1 operation. Lead operation: Tamara Create Checkout Session. Self-contained Naftiko capability covering one Tamara business surface.' tags: - Tamara - Checkout - BNPL created: '2026-05-24' modified: '2026-05-24' binds: - namespace: env keys: TAMARA_API_TOKEN: TAMARA_API_TOKEN capability: consumes: - type: http namespace: checkout-sessions baseUri: https://api.tamara.co description: Tamara Checkout API — Checkout Sessions business capability. Self-contained, no shared references. resources: - name: checkout path: /checkout operations: - name: createcheckoutsession method: POST description: Tamara Create Checkout Session outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Checkout session payload (order, consumer, items, addresses, merchant_url). required: true authentication: type: bearer token: '{{env.TAMARA_API_TOKEN}}' exposes: - type: rest namespace: checkout-sessions-rest port: 8080 description: REST adapter for Tamara Checkout API — Checkout Sessions. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/checkout name: checkout description: REST surface for /checkout. operations: - method: POST name: createcheckoutsession description: Tamara Create Checkout Session call: checkout-sessions.createcheckoutsession with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: checkout-sessions-mcp port: 9090 transport: http description: MCP adapter for Tamara Checkout API — Checkout Sessions. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: tamara-create-checkout-session description: Tamara Create Checkout Session hints: readOnly: false destructive: false idempotent: false call: checkout-sessions.createcheckoutsession with: body: tools.body outputParameters: - type: object mapping: $.