NMI

NMI Devices API

Cloud device management and payment request endpoints

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).
Business capability
Payment Initiation Management BC-1340.10

Operations 19

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /v5/devices List cloud payment devices · List Cloud Devices #
Ask an LLM
“Which cloud payment devices are registered to my merchant?”
“Can I filter my cloud devices by connection status?”
Tell an agent
List all my cloud devices.
Show cloud devices with connection status {connection_status}.
POST /v5/devices Register a cloud payment device · Register Cloud Device #
Ask an LLM
“How do I register a new cloud card reader with my merchant?”
“Can I give a new cloud device a nickname when I register it?”
Tell an agent
Register cloud device {registration_code}.
Register {registration_code} as a cloud device named {nickname}.
GET /v5/devices/{device_id} Get a cloud payment device · Get Cloud Device #
Ask an LLM
“What is the battery and WiFi status of one of my cloud devices?”
“Can I look up a single cloud device by its ID?”
Tell an agent
Get cloud device {device_id}.
Show the status of cloud device {device_id}.
PATCH /v5/devices/{device_id} Rename or set default a cloud device · Update Cloud Device #
Ask an LLM
“Can I rename a cloud payment device or make it the default?”
“How do I change a cloud device's nickname?”
Tell an agent
Rename cloud device {device_id} to {nickname}.
Set cloud device {device_id} as my default.
DELETE /v5/devices/{device_id} Deregister a cloud payment device · Deregister Cloud Device #
Ask an LLM
“How do I remove a cloud card reader from my merchant so it can't take payments?”
“Can I stop a cloud device from being used for transactions?”
Tell an agent destructive · confirm first
Deregister cloud device {device_id}.
Remove cloud card reader {device_id} from my merchant.
DELETE /v5/devices/{device_id}/display Cancel a display on a cloud device · Cancel Display on Device #
Ask an LLM
“How do I clear a QR code or other display off a cloud card reader?”
“Can I cancel an active display on a cloud device?”
Tell an agent destructive · confirm first
Cancel the active display on cloud device {device_id}.
Clear the screen of cloud card reader {device_id}.
POST /v5/devices/{device_id}/display/qr-code Display a QR code on a cloud device · Display QR Code on Device #
Ask an LLM
“How do I show a QR code on a cloud card reader screen?”
“Can I display a custom header with a QR code on a cloud device?”
Tell an agent
Display QR code {qr_data} with header {header} on cloud device {device_id}.
Show {header} and {qr_data} on cloud card reader {device_id}.
DELETE /v5/devices/{device_id}/payment-requests Cancel an in-flight payment on a device · Cancel Payment Request on Device #
Ask an LLM
“How do I cancel a payment that is still in progress on a cloud card reader?”
“Can I stop a pending transaction on a cloud device before it completes?”
Tell an agent destructive · confirm first
Cancel the in-flight payment on cloud device {device_id}.
Stop the pending transaction on cloud card reader {device_id}.
POST /v5/devices/{device_id}/payment-requests/auth Authorize a payment on a cloud device · Create Authorization Payment Request on Device #
Ask an LLM
“How do I take a card payment on a cloud card reader without sending the card details?”
“Can I collect a tip on a cloud device when authorizing a payment?”
Tell an agent
Authorize {amount} on cloud device {device_id}.
Authorize {amount} on cloud card reader {device_id} with tip {tip}.
POST /v5/devices/{device_id}/payment-requests/credit Refund a payment on a cloud device · Create Credit Payment Request on Device #
Ask an LLM
“How do I refund a card payment on a cloud card reader?”
“Can I refund a partial amount of a transaction from a cloud device?”
Tell an agent
Refund {amount} on cloud device {device_id}.
Refund {amount} on cloud card reader {device_id} with tip {tip}.
POST /v5/devices/{device_id}/payment-requests/sale Sell a payment on a cloud device · Create Sale Payment Request on Device #
Ask an LLM
“How do I take a card sale on a cloud card reader?”
“Can I collect a convenience fee on a cloud device sale?”
Tell an agent
Sell {amount} on cloud device {device_id}.
Sell {amount} on cloud card reader {device_id} with convenience fee {convenience_fee}.
POST /v5/devices/{device_id}/payment-requests/validate Validate a card on a cloud device · Create Validation Payment Request on Device #
Ask an LLM
“How do I check a card is valid on a cloud card reader?”
“Can I prompt a cloud device to validate a card without charging it?”
Tell an agent
Validate a card on cloud device {device_id}.
Run a card validation on cloud card reader {device_id} with signature {signature_image}.
GET /v5/devices/{device_id}/payment-requests/{request_id} Check a payment request on a device · Get Payment Request Status #
Ask an LLM
“Has the payment request I started on a cloud device finished?”
“Can I poll the status of a payment request on a cloud card reader?”
Tell an agent
Check payment request {request_id} on cloud device {device_id}.
Poll the status of cloud card reader {device_id} payment {request_id}.
POST /v5/devices/{device_id}/prompt/menu Prompt a cloud device for a menu selection · Prompt Device for Menu Selection #
Ask an LLM
“How do I ask a customer to pick an option from a menu on a cloud card reader?”
“Can I display a menu of choices on a cloud device?”
Tell an agent
Prompt cloud device {device_id} with menu {options} and header {header}.
Ask the customer to choose from {options} on cloud card reader {device_id}.
GET /v5/devices/{device_id}/prompt/menu/{reference} Check a menu prompt on a device · Get Menu Prompt Status #
Ask an LLM
“Did the customer pick an option from the menu I prompted on a cloud device?”
“Can I poll the result of a menu prompt on a cloud card reader?”
Tell an agent
Check menu prompt {reference} on cloud device {device_id}.
Poll the menu selection {reference} on cloud card reader {device_id}.
POST /v5/devices/{device_id}/prompt/sign Prompt a cloud device for a signature · Prompt Device for Signature #
Ask an LLM
“How do I get a customer's signature on a cloud card reader?”
“Can I prompt a cloud device to capture a signature?”
Tell an agent
Prompt cloud device {device_id} to capture a signature with header {header}.
Ask the customer to sign on cloud card reader {device_id} ({header}).
GET /v5/devices/{device_id}/prompt/sign/{reference} Check a signature prompt status · Get Signature Prompt Status #
Ask an LLM
“Has the signature capture on a card terminal completed?”
“Can I check the status of a signature prompt I started on a device?”
Tell an agent
Get the status of the signature prompt {reference} on device {device_id}.
Check whether the signed request {reference} for device {device_id} has been finalised.
POST /v5/devices/{device_id}/prompt/yes-no Prompt a cloud device for yes or no · Prompt Device for Yes/No Response #
Ask an LLM
“Can I ask the cardholder a yes-or-no question on a cloud terminal?”
“What can I show on a cloud device before waiting for a yes or no answer?”
Tell an agent
Prompt device {device_id} with header {header} and message {message}.
Ask the cardholder on device {device_id}, "{message}", with header {header}.
GET /v5/devices/{device_id}/prompt/yes-no/{reference} Check a yes/no prompt on a device · Get Yes/No Prompt Status #
Ask an LLM
“Did the customer answer yes or no to my prompt on a cloud device?”
“Can I poll the result of a yes/no prompt on a cloud card reader?”
Tell an agent
Check yes/no prompt {reference} on cloud device {device_id}.
Poll the yes/no answer {reference} on cloud card reader {device_id}.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/nmi:nmi-devices-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

nmi-devices-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 1.0.0
  title: Payments Devices API
  description: Our payments platform exposes two generations of API.
  x-logo:
    url: https://www.nmi.com/app/themes/nmi/images/NMI_Logo_Primary.webp
servers:
- url: https://sandbox.nmi.com/api
security: []
tags:


# --- truncated at 32 KB (95 KB total) ---
# Full source: https://artifacts.apis.io/nmi/openapi/nmi-devices-api-openapi.yml