naftiko: 1.0.0-alpha2 info: label: Adyen Configuration API — Transaction description: 'Adyen Configuration API — Transaction. 6 operations. Lead operation: Adyen Get All Transaction Rules for a Payment Instrument Group. Self-contained Naftiko capability covering one Adyen business surface.' tags: - Adyen - Transaction created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ADYEN_API_KEY: ADYEN_API_KEY capability: consumes: - type: http namespace: configuration-transaction baseUri: https://balanceplatform-api-test.adyen.com/bcl/v2 description: Adyen Configuration API — Transaction business capability. Self-contained, no shared references. resources: - name: paymentInstrumentGroups-id-transactionRules path: /paymentInstrumentGroups/{id}/transactionRules operations: - name: getpaymentinstrumentgroupsidtransactionrules method: GET description: Adyen Get All Transaction Rules for a Payment Instrument Group outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The unique identifier of the payment instrument group. required: true - name: paymentInstruments-id-transactionRules path: /paymentInstruments/{id}/transactionRules operations: - name: getpaymentinstrumentsidtransactionrules method: GET description: Adyen Get All Transaction Rules for a Payment Instrument outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The unique identifier of the payment instrument. required: true - name: transactionRules path: /transactionRules operations: - name: posttransactionrules method: POST description: Adyen Create a Transaction Rule outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: transactionRules-transactionRuleId path: /transactionRules/{transactionRuleId} operations: - name: deletetransactionrulestransactionruleid method: DELETE description: Adyen Delete a Transaction Rule outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: transactionRuleId in: path type: string description: The unique identifier of the transaction rule. required: true - name: gettransactionrulestransactionruleid method: GET description: Adyen Get a Transaction Rule outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: transactionRuleId in: path type: string description: The unique identifier of the transaction rule. required: true - name: patchtransactionrulestransactionruleid method: PATCH description: Adyen Update a Transaction Rule outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: transactionRuleId in: path type: string description: The unique identifier of the transaction rule. required: true - name: body in: body type: object description: Request body (JSON). required: false authentication: type: apikey key: X-API-Key value: '{{env.ADYEN_API_KEY}}' placement: header exposes: - type: rest namespace: configuration-transaction-rest port: 8080 description: REST adapter for Adyen Configuration API — Transaction. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/paymentinstrumentgroups/{id}/transactionrules name: paymentinstrumentgroups-id-transactionrules description: REST surface for paymentInstrumentGroups-id-transactionRules. operations: - method: GET name: getpaymentinstrumentgroupsidtransactionrules description: Adyen Get All Transaction Rules for a Payment Instrument Group call: configuration-transaction.getpaymentinstrumentgroupsidtransactionrules with: id: rest.id outputParameters: - type: object mapping: $. - path: /v1/paymentinstruments/{id}/transactionrules name: paymentinstruments-id-transactionrules description: REST surface for paymentInstruments-id-transactionRules. operations: - method: GET name: getpaymentinstrumentsidtransactionrules description: Adyen Get All Transaction Rules for a Payment Instrument call: configuration-transaction.getpaymentinstrumentsidtransactionrules with: id: rest.id outputParameters: - type: object mapping: $. - path: /v1/transactionrules name: transactionrules description: REST surface for transactionRules. operations: - method: POST name: posttransactionrules description: Adyen Create a Transaction Rule call: configuration-transaction.posttransactionrules with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/transactionrules/{transactionruleid} name: transactionrules-transactionruleid description: REST surface for transactionRules-transactionRuleId. operations: - method: DELETE name: deletetransactionrulestransactionruleid description: Adyen Delete a Transaction Rule call: configuration-transaction.deletetransactionrulestransactionruleid with: transactionRuleId: rest.transactionRuleId outputParameters: - type: object mapping: $. - method: GET name: gettransactionrulestransactionruleid description: Adyen Get a Transaction Rule call: configuration-transaction.gettransactionrulestransactionruleid with: transactionRuleId: rest.transactionRuleId outputParameters: - type: object mapping: $. - method: PATCH name: patchtransactionrulestransactionruleid description: Adyen Update a Transaction Rule call: configuration-transaction.patchtransactionrulestransactionruleid with: transactionRuleId: rest.transactionRuleId body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: configuration-transaction-mcp port: 9090 transport: http description: MCP adapter for Adyen Configuration API — Transaction. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: adyen-get-all-transaction-rules description: Adyen Get All Transaction Rules for a Payment Instrument Group hints: readOnly: true destructive: false idempotent: true call: configuration-transaction.getpaymentinstrumentgroupsidtransactionrules with: id: tools.id outputParameters: - type: object mapping: $. - name: adyen-get-all-transaction-rules-2 description: Adyen Get All Transaction Rules for a Payment Instrument hints: readOnly: true destructive: false idempotent: true call: configuration-transaction.getpaymentinstrumentsidtransactionrules with: id: tools.id outputParameters: - type: object mapping: $. - name: adyen-create-transaction-rule description: Adyen Create a Transaction Rule hints: readOnly: false destructive: false idempotent: false call: configuration-transaction.posttransactionrules with: body: tools.body outputParameters: - type: object mapping: $. - name: adyen-delete-transaction-rule description: Adyen Delete a Transaction Rule hints: readOnly: false destructive: true idempotent: true call: configuration-transaction.deletetransactionrulestransactionruleid with: transactionRuleId: tools.transactionRuleId outputParameters: - type: object mapping: $. - name: adyen-get-transaction-rule description: Adyen Get a Transaction Rule hints: readOnly: true destructive: false idempotent: true call: configuration-transaction.gettransactionrulestransactionruleid with: transactionRuleId: tools.transactionRuleId outputParameters: - type: object mapping: $. - name: adyen-update-transaction-rule description: Adyen Update a Transaction Rule hints: readOnly: false destructive: false idempotent: true call: configuration-transaction.patchtransactionrulestransactionruleid with: transactionRuleId: tools.transactionRuleId body: tools.body outputParameters: - type: object mapping: $.