Affirm · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Affirm Disputes API

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

What the actions change

x-apievangelist-phrasing

Targets 5

$.info
$.paths['/disputes'].get
$.paths['/disputes/{dispute_id}'].get
$.paths['/disputes/{dispute_id}/close'].post
$.paths['/disputes/{dispute_id}/evidence'].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 Affirm Disputes API
  version: 1.0.0
extends: openapi/affirm-disputes-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-19'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 4
- target: $.paths['/disputes'].get
  update:
    x-apievangelist-phrasing:
      intent: List payment disputes
      effect: read
      questions:
      - Which of my customer disputes are still open?
      - Can I filter disputes by status or date?
      instructions:
      - text: List all my disputes.
      - text: Show disputes with status {status}.
        slots:
          status: query.status
      method: generated
      generated: '2026-11-19'
- target: $.paths['/disputes/{dispute_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a dispute
      effect: read
      questions:
      - What is the reason code and status of one dispute?
      - Has a particular dispute been resolved yet?
      instructions:
      - text: Get dispute {dispute_id}.
        slots:
          dispute_id: path.dispute_id
      - text: Show the reason code and resolution for dispute {dispute_id}.
        slots:
          dispute_id: path.dispute_id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/disputes/{dispute_id}/close'].post
  update:
    x-apievangelist-phrasing:
      intent: Concede a dispute
      effect: destructive
      questions:
      - How do I concede a dispute and return the money?
      - Can I record a reason when I close a dispute?
      instructions:
      - text: Close dispute {dispute_id}.
        slots:
          dispute_id: path.dispute_id
      - text: Concede dispute {dispute_id} because {reason}.
        slots:
          dispute_id: path.dispute_id
          reason: requestBody.reason
      method: generated
      generated: '2026-11-19'
- target: $.paths['/disputes/{dispute_id}/evidence'].post
  update:
    x-apievangelist-phrasing:
      intent: Submit evidence to contest a dispute
      effect: write
      questions:
      - How do I fight a customer's chargeback?
      - Can I attach tracking info and a refund policy to a dispute?
      instructions:
      - text: Submit evidence {files} to dispute {dispute_id}.
        slots:
          files: requestBody.files
          dispute_id: path.dispute_id
      - text: Send tracking number {tracking_number} for dispute {dispute_id}.
        slots:
          tracking_number: requestBody.tracking_number
          dispute_id: path.dispute_id
      method: generated
      generated: '2026-11-19'

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/affirm-disputes-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.