Affise · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Documentation Admin Payments API

11 actions 11 updates phrasing extends openapi/affise-admin-payments-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Affise's API. It is a proposal applied on top of the contract, not a document Affise publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 11

$.info
$.paths['/3.1/payments'].get
$.paths['/3.1/payments/{id}'].get
$.paths['/3.1/payments/{id}'].post
$.paths['/3.1/payments/create-for-affiliate'].post
$.paths['/3.1/payments/generate'].post
$.paths['/3.1/payments/{id}/add-correction'].post
$.paths['/3.1/payments/del-correction/{id}'].delete
$.paths['/3.1/payments/delete/{id}'].delete
$.paths['/3.1/payments/bulk-delete'].post
$.paths['/3.1/payments/{invoice_id}/conversions/delete'].post

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Documentation Admin Payments API
  version: 1.0.0
extends: openapi/affise-admin-payments-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-24'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 10
- target: $.paths['/3.1/payments'].get
  update:
    x-apievangelist-phrasing:
      intent: List payment invoices
      effect: read
      questions:
      - Which payment invoices were created between two dates?
      - Can I filter payments by status, affiliate or payment system?
      instructions:
      - text: List payment invoices from {date_from} to {date_to}.
        slots:
          date_from: query.date_from
          date_to: query.date_to
      - text: Show {status} payments for affiliate {aid}.
        slots:
          status: query.status
          aid: query.aid
      method: generated
      generated: '2026-11-24'
- target: $.paths['/3.1/payments/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a payment invoice
      effect: read
      questions:
      - What is the status and sum of one payment invoice?
      - Can I look up a payment by its ID?
      instructions:
      - text: Get payment invoice {id}.
        slots:
          id: path.id
      - text: Show the details of payment {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/3.1/payments/{id}'].post
  update:
    x-apievangelist-phrasing:
      intent: Update a payment invoice
      effect: write
      questions:
      - Can I change the status of a payment invoice?
      - Is it possible to add a comment or note to a payment?
      instructions:
      - text: Set payment {id} status to {status}.
        slots:
          id: path.id
          status: requestBody.status
      - text: Add note {note} to payment {id}.
        slots:
          note: requestBody.note
          id: path.id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/3.1/payments/create-for-affiliate'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a payment invoice for an affiliate
      effect: write
      questions:
      - How do I create a payment invoice for one affiliate?
      - Can I set the sum and currency when creating a payment?
      instructions:
      - text: Create a {currency} payment of {sum} for affiliate {aid}.
        slots:
          currency: requestBody.currency
          sum: requestBody.sum
          aid: requestBody.aid
      - text: Invoice affiliate {aid} {sum} {currency} with note {note}.
        slots:
          aid: requestBody.aid
          sum: requestBody.sum
          currency: requestBody.currency
          note: requestBody.note
      method: generated
      generated: '2026-11-24'
- target: $.paths['/3.1/payments/generate'].post
  update:
    x-apievangelist-phrasing:
      intent: Generate payment invoices for affiliates
      effect: write
      questions:
      - Can I generate payment invoices for several affiliates at once?
      - Is it possible to generate payments for a date range or by offer?
      instructions:
      - text: Generate payments for affiliates {include_aids} from {date_from} to {date_to}.
        slots:
          include_aids: requestBody.include_aids
          date_from: requestBody.date_from
          date_to: requestBody.date_to
      - text: Create payment invoices for offer {offer_ids} in {currencies}.
        slots:
          offer_ids: requestBody.offer_ids
          currencies: requestBody.currencies
      method: generated
      generated: '2026-11-24'
- target: $.paths['/3.1/payments/{id}/add-correction'].post
  update:
    x-apievangelist-phrasing:
      intent: Add a correction to a payment invoice
      effect: write
      questions:
      - How do I correct the revenue on a payment invoice?
      - Can I leave a comment when adding a correction?
      instructions:
      - text: Add a {revenue} correction to payment {id} with comment {comment}.
        slots:
          revenue: requestBody.revenue
          id: path.id
          comment: requestBody.comment
      - text: Correct payment {id} revenue by {revenue}.
        slots:
          id: path.id
          revenue: requestBody.revenue
      method: generated
      generated: '2026-11-24'
- target: $.paths['/3.1/payments/del-correction/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Remove a correction from a payment
      effect: destructive
      questions:
      - Can I remove a correction value from a payment invoice?
      - What happens to the payment when its correction is deleted?
      instructions:
      - text: Remove correction {id} from payment {id}.
        slots:
          id: path.id
      - text: Delete the correction sum {id} on payment {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/3.1/payments/delete/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a payment invoice
      effect: destructive
      questions:
      - Can I delete a single payment invoice?
      - Is removing one payment invoice permanent?
      instructions:
      - text: Delete payment invoice {id}.
        slots:
          id: path.id
      - text: Remove payment {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/3.1/payments/bulk-delete'].post
  update:
    x-apievangelist-phrasing:
      intent: Delete several payment invoices
      effect: destructive
      questions:
      - Can I delete multiple payment invoices in one request?
      - How do I bulk remove payments by ID?
      instructions:
      - text: Bulk delete payments {ids}.
        slots:
          ids: requestBody.ids
      - text: Remove the payment invoices {ids} at once.
        slots:
          ids: requestBody.ids
      method: generated
      generated: '2026-11-24'
- target: $.paths['/3.1/payments/{invoice_id}/conversions/delete'].post
  update:
    x-apievangelist-phrasing:
      intent: Delete conversions from a payment invoice
      effect: destructive
      questions:
      - Can I remove specific conversions from a payment invoice?
      - Is it possible to delete all conversions for certain offers on an invoice?
      instructions:
      - text: Delete conversions {conversion_ids} from invoice {invoice_id}.
        slots:
          conversion_ids: requestBody.conversion_ids
          invoice_id: path.invoice_id
      - text: Remove every conversion for offers {offer_ids} on invoice {invoice_id}.
        slots:
          offer_ids: requestBody.offer_ids
          invoice_id: path.invoice_id
      method: generated
      generated: '2026-11-24'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/affise-admin-payments-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.