Vantiv · Capability

Vantiv CNP API — Credits

Vantiv CNP API — Credits. 1 operations. Lead operation: Create Credit. Self-contained Naftiko capability covering one Vantiv business surface.

Run with Naftiko VantivCredits

What You Can Do

POST
Createcredit — Create Credit
/v1/credit

MCP Tools

create-credit

Create Credit

Capability Spec

cnp-credits.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Vantiv CNP API — Credits
  description: 'Vantiv CNP API — Credits. 1 operations. Lead operation: Create Credit. Self-contained Naftiko capability covering
    one Vantiv business surface.'
  tags:
  - Vantiv
  - Credits
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    VANTIV_API_KEY: VANTIV_API_KEY
capability:
  consumes:
  - type: http
    namespace: cnp-credits
    baseUri: https://payments.vantivprelive.com/vap/communicator/online
    description: Vantiv CNP API — Credits business capability. Self-contained, no shared references.
    resources:
    - name: credit
      path: /credit
      operations:
      - name: createcredit
        method: POST
        description: Create Credit
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: basic
      username: '{{env.VANTIV_USER}}'
      password: '{{env.VANTIV_PASS}}'
  exposes:
  - type: rest
    namespace: cnp-credits-rest
    port: 8080
    description: REST adapter for Vantiv CNP API — Credits. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/credit
      name: credit
      description: REST surface for credit.
      operations:
      - method: POST
        name: createcredit
        description: Create Credit
        call: cnp-credits.createcredit
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: cnp-credits-mcp
    port: 9090
    transport: http
    description: MCP adapter for Vantiv CNP API — Credits. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: create-credit
      description: Create Credit
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: cnp-credits.createcredit
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.