NMI · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Payments API
9 actions
9 updates
phrasing
extends
openapi/nmi-payments-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for NMI's API. It is a proposal applied on top of the contract, not a document NMI publishes.
What the actions change
x-apievangelist-phrasing
Targets 9
$.info
$.paths['/v5/payments/auth'].post
$.paths['/v5/payments/credit'].post
$.paths['/v5/payments/sale'].post
$.paths['/v5/payments/validate'].post
$.paths['/v5/payments/{payment_id}'].get
$.paths['/v5/payments/{payment_id}/capture'].post
$.paths['/v5/payments/{payment_id}/refund'].post
$.paths['/v5/payments/{payment_id}/void'].post
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Payments API
version: 1.0.0
extends: openapi/nmi-payments-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-21'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 8
- target: $.paths['/v5/payments/auth'].post
update:
x-apievangelist-phrasing:
intent: Authorize a payment
effect: write
questions:
- How do I hold funds on a card before capturing them?
- Can I authorize a payment and then capture it later?
instructions:
- text: Authorize a payment.
- text: Place a hold on the customer's card.
method: generated
generated: '2026-11-21'
- target: $.paths['/v5/payments/credit'].post
update:
x-apievangelist-phrasing:
intent: Credit funds to a card
effect: write
questions:
- How do I refund money to a card without a prior charge?
- Can I credit funds directly to a customer's payment method?
instructions:
- text: Credit funds to the card.
- text: Issue a credit to the customer's payment method.
method: generated
generated: '2026-11-21'
- target: $.paths['/v5/payments/sale'].post
update:
x-apievangelist-phrasing:
intent: Charge a card in one step
effect: write
questions:
- How do I charge a card and capture the payment in a single step?
- Can I include a tip and surcharge when processing a sale?
instructions:
- text: Charge {amount} for a sale.
slots:
amount: requestBody.amount
- text: Process a sale of {amount} with a {tip} tip and {surcharge} surcharge.
slots:
amount: requestBody.amount
tip: requestBody.tip
surcharge: requestBody.surcharge
method: generated
generated: '2026-11-21'
- target: $.paths['/v5/payments/validate'].post
update:
x-apievangelist-phrasing:
intent: Validate a card without charging
effect: write
questions:
- How do I check a card is valid before charging it?
- Can I validate a payment method without processing a payment?
instructions:
- text: Validate this card.
- text: Check the card details are accepted without charging.
method: generated
generated: '2026-11-21'
- target: $.paths['/v5/payments/{payment_id}'].get
update:
x-apievangelist-phrasing:
intent: Get a payment
effect: read
questions:
- What are the details of a specific payment?
- Can I look up one payment by its ID?
instructions:
- text: Get payment {payment_id}.
slots:
payment_id: path.payment_id
- text: Show the details of payment {payment_id}.
slots:
payment_id: path.payment_id
method: generated
generated: '2026-11-21'
- target: $.paths['/v5/payments/{payment_id}/capture'].post
update:
x-apievangelist-phrasing:
intent: Capture an authorized payment
effect: write
questions:
- How do I capture a previously authorized payment?
- Can I capture only part of an authorized amount?
instructions:
- text: Capture payment {payment_id} for {amount}.
slots:
payment_id: path.payment_id
amount: requestBody.amount
- text: Settle the authorized amount on payment {payment_id}.
slots:
payment_id: path.payment_id
method: generated
generated: '2026-11-21'
- target: $.paths['/v5/payments/{payment_id}/refund'].post
update:
x-apievangelist-phrasing:
intent: Refund a settled payment
effect: write
questions:
- How do I refund a settled transaction back to the customer?
- Can I refund only part of a settled payment?
instructions:
- text: Refund payment {payment_id}.
slots:
payment_id: path.payment_id
- text: Refund {amount} of settled payment {payment_id}.
slots:
amount: requestBody.amount
payment_id: path.payment_id
method: generated
generated: '2026-11-21'
- target: $.paths['/v5/payments/{payment_id}/void'].post
update:
x-apievangelist-phrasing:
intent: Void an unsettled payment
effect: destructive
questions:
- How do I cancel a payment that hasn't settled yet?
- Can I void an EMV transaction for a reason?
instructions:
- text: Void payment {payment_id}.
slots:
payment_id: path.payment_id
- text: Void payment {payment_id} because {void_reason}.
slots:
payment_id: path.payment_id
void_reason: requestBody.void_reason
method: generated
generated: '2026-11-21'
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.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/nmi-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.