Adyen · Capability

Adyen Configuration API — grantOffers

Adyen Configuration API — grantOffers. 2 operations. Lead operation: Adyen Get All Available Grant Offers. Self-contained Naftiko capability covering one Adyen business surface.

Run with Naftiko AdyengrantOffers

What You Can Do

GET
Getgrantoffers — Adyen Get All Available Grant Offers
/v1/grantoffers
GET
Getgrantoffersgrantofferid — Adyen Get a Grant Offer
/v1/grantoffers/{grantofferid}

MCP Tools

adyen-get-all-available-grant

Adyen Get All Available Grant Offers

read-only idempotent
adyen-get-grant-offer

Adyen Get a Grant Offer

read-only idempotent

Capability Spec

configuration-grantoffers.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Adyen Configuration API — grantOffers
  description: 'Adyen Configuration API — grantOffers. 2 operations. Lead operation: Adyen Get All Available Grant Offers.
    Self-contained Naftiko capability covering one Adyen business surface.'
  tags:
  - Adyen
  - grantOffers
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ADYEN_API_KEY: ADYEN_API_KEY
capability:
  consumes:
  - type: http
    namespace: configuration-grantoffers
    baseUri: https://balanceplatform-api-test.adyen.com/bcl/v2
    description: Adyen Configuration API — grantOffers business capability. Self-contained, no shared references.
    resources:
    - name: grantOffers
      path: /grantOffers
      operations:
      - name: getgrantoffers
        method: GET
        description: Adyen Get All Available Grant Offers
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: accountHolderId
          in: query
          type: string
          description: The unique identifier of the grant account.
          required: true
    - name: grantOffers-grantOfferId
      path: /grantOffers/{grantOfferId}
      operations:
      - name: getgrantoffersgrantofferid
        method: GET
        description: Adyen Get a Grant Offer
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: grantOfferId
          in: path
          type: string
          description: The unique identifier of the grant offer.
          required: true
    authentication:
      type: apikey
      key: X-API-Key
      value: '{{env.ADYEN_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: configuration-grantoffers-rest
    port: 8080
    description: REST adapter for Adyen Configuration API — grantOffers. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/grantoffers
      name: grantoffers
      description: REST surface for grantOffers.
      operations:
      - method: GET
        name: getgrantoffers
        description: Adyen Get All Available Grant Offers
        call: configuration-grantoffers.getgrantoffers
        with:
          accountHolderId: rest.accountHolderId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/grantoffers/{grantofferid}
      name: grantoffers-grantofferid
      description: REST surface for grantOffers-grantOfferId.
      operations:
      - method: GET
        name: getgrantoffersgrantofferid
        description: Adyen Get a Grant Offer
        call: configuration-grantoffers.getgrantoffersgrantofferid
        with:
          grantOfferId: rest.grantOfferId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: configuration-grantoffers-mcp
    port: 9090
    transport: http
    description: MCP adapter for Adyen Configuration API — grantOffers. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: adyen-get-all-available-grant
      description: Adyen Get All Available Grant Offers
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: configuration-grantoffers.getgrantoffers
      with:
        accountHolderId: tools.accountHolderId
      outputParameters:
      - type: object
        mapping: $.
    - name: adyen-get-grant-offer
      description: Adyen Get a Grant Offer
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: configuration-grantoffers.getgrantoffersgrantofferid
      with:
        grantOfferId: tools.grantOfferId
      outputParameters:
      - type: object
        mapping: $.