naftiko: 1.0.0-alpha2 info: label: Enable Banking API — Payments description: 'Enable Banking — Payments capability covering PSD2 Payment Initiation Services (PIS): create payment, retrieve payment status, retrieve underlying bank transaction, and delete a pending payment. Lead operation: Create Payment.' tags: - EnableBanking - OpenBanking - PSD2 - PIS - Payments created: '2026-05-25' modified: '2026-05-25' binds: - namespace: env keys: ENABLE_BANKING_JWT: ENABLE_BANKING_JWT capability: consumes: - type: http namespace: payments-payments baseUri: https://api.enablebanking.com description: Enable Banking Payments endpoints. Payment initiation and lookup. resources: - name: payments path: /payments operations: - name: createpayment method: POST description: Create a payment initiation request against the PSU's ASPSP. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: CreatePaymentRequest body (access, aspsp, payment_request, redirect_url, psu_type, state). required: true - name: payment path: /payments/{payment_id} operations: - name: getpayment method: GET description: Get payment status by id. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: payment_id in: path type: string required: true - name: deletepayment method: DELETE description: Cancel a pending payment. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: payment_id in: path type: string required: true - name: payment-transaction path: /payments/{payment_id}/transactions/{transaction_id} operations: - name: getpaymenttransaction method: GET description: Get the underlying bank transaction created by a payment. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: payment_id in: path type: string required: true - name: transaction_id in: path type: string required: true authentication: type: bearer value: '{{env.ENABLE_BANKING_JWT}}' placement: header exposes: - type: rest namespace: payments-payments-rest port: 8080 description: REST adapter for Enable Banking Payments. resources: - path: /v1/payments name: payments description: REST surface for /payments. operations: - method: POST name: createpayment description: Create payment. call: payments-payments.createpayment with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/payments/{payment_id} name: payment description: REST surface for /payments/{payment_id}. operations: - method: GET name: getpayment description: Get payment. call: payments-payments.getpayment with: payment_id: rest.path.payment_id outputParameters: - type: object mapping: $. - method: DELETE name: deletepayment description: Delete (cancel) payment. call: payments-payments.deletepayment with: payment_id: rest.path.payment_id outputParameters: - type: object mapping: $. - path: /v1/payments/{payment_id}/transactions/{transaction_id} name: payment-transaction description: REST surface for /payments/{payment_id}/transactions/{transaction_id}. operations: - method: GET name: getpaymenttransaction description: Get payment transaction. call: payments-payments.getpaymenttransaction with: payment_id: rest.path.payment_id transaction_id: rest.path.transaction_id outputParameters: - type: object mapping: $. - type: mcp namespace: payments-payments-mcp port: 9090 transport: http description: MCP adapter for Enable Banking Payments. tools: - name: enable-banking-create-payment description: Initiate a payment via the PSU's ASPSP. hints: readOnly: false destructive: false idempotent: false call: payments-payments.createpayment with: body: tools.body outputParameters: - type: object mapping: $. - name: enable-banking-get-payment description: Get a payment by id. hints: readOnly: true destructive: false idempotent: true call: payments-payments.getpayment with: payment_id: tools.payment_id outputParameters: - type: object mapping: $. - name: enable-banking-delete-payment description: Cancel a pending payment. hints: readOnly: false destructive: true idempotent: true call: payments-payments.deletepayment with: payment_id: tools.payment_id outputParameters: - type: object mapping: $. - name: enable-banking-get-payment-transaction description: Get the underlying bank transaction for a payment. hints: readOnly: true destructive: false idempotent: true call: payments-payments.getpaymenttransaction with: payment_id: tools.payment_id transaction_id: tools.transaction_id outputParameters: - type: object mapping: $.