NMI

NMI Customers API

Customer vault management 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).

Operations 13

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

POST /v5/customers Add a customer to the vault · Create Customer #
Ask an LLM
“How do I add a new customer with a billing address to the vault?”
“Can I add a customer with several billing addresses at once?”
Tell an agent
Add a customer with billing address {billing}.
Create a new customer using billing details {billing} and shipping {shipping}.
GET /v5/customers List customers in the vault · List Customers #
Ask an LLM
“Which customers have a given email address in their vault?”
“Can I find customers whose account number ends in a certain number?”
Tell an agent
List customers with email {email}.
Find customers whose account number ends in {account_number}.
GET /v5/customers/{customer_id} Get a customer from the vault · Get Customer #
Ask an LLM
“What billing and shipping addresses does a particular customer have?”
“Can I look up a customer by their vault ID?”
Tell an agent
Get customer {customer_id}.
Show the billing and shipping addresses on customer {customer_id}.
PATCH /v5/customers/{customer_id} Update a customer's addresses · Update Customer #
Ask an LLM
“How do I change the billing or shipping addresses on an existing customer?”
“Can I bulk update a customer's addresses?”
Tell an agent
Update the billing addresses on customer {customer_id} to {billing}.
Replace the shipping addresses of customer {customer_id} with {shipping}.
DELETE /v5/customers/{customer_id} Delete a customer from the vault · Delete Customer #
Ask an LLM
“How do I remove a customer and all their addresses from the vault?”
“Can I delete a customer entirely?”
Tell an agent destructive · confirm first
Delete customer {customer_id}.
Remove customer {customer_id} and all associated addresses.
POST /v5/customers/{customer_id}/billing Add a billing address and card to a customer · Add Billing Address #
Ask an LLM
“How do I add a new card and billing address to an existing customer?”
“Can I set a priority when adding a billing address?”
Tell an agent
Add billing address {payment_details} to customer {customer_id}.
Add a new billing address to customer {customer_id} with priority {priority}.
GET /v5/customers/{customer_id}/billing/{billing_id} Get one billing address of a customer · Get Billing Address #
Ask an LLM
“What are the details of a specific billing address on a customer?”
“Can I fetch a single billing address by its ID?”
Tell an agent
Get billing address {billing_id} of customer {customer_id}.
Show the card on billing address {billing_id} for customer {customer_id}.
PATCH /v5/customers/{customer_id}/billing/{billing_id} Update a customer's billing address · Update Billing Address #
Ask an LLM
“How do I change the zip code on an existing billing address?”
“Can I update the card on a customer's billing address?”
Tell an agent
Update the zip on billing address {billing_id} of customer {customer_id} to {zip}.
Replace the card on billing address {billing_id} for customer {customer_id} with {payment_details}.
DELETE /v5/customers/{customer_id}/billing/{billing_id} Delete a billing address from a customer · Delete Billing Address #
Ask an LLM
“How do I remove a billing address from a customer?”
“Can I delete a billing address without deleting the customer?”
Tell an agent destructive · confirm first
Delete billing address {billing_id} from customer {customer_id}.
Remove the billing address {billing_id} on customer {customer_id}.
POST /v5/customers/{customer_id}/shipping Add a shipping address to a customer · Add Shipping Address #
Ask an LLM
“How do I add a new shipping address to an existing customer?”
“Can I record the carrier a customer ships with?”
Tell an agent
Add shipping address {first_name} {last_name}, {address1}, {city}, {state} {zip} {country} to customer {customer_id}.
Add a shipping address for customer {customer_id} with carrier {carrier}.
GET /v5/customers/{customer_id}/shipping/{shipping_id} Get one shipping address of a customer · Get Shipping Address #
Ask an LLM
“What are the details of a specific shipping address on a customer?”
“Can I fetch a single shipping address by its ID?”
Tell an agent
Get shipping address {shipping_id} of customer {customer_id}.
Show the carrier on shipping address {shipping_id} for customer {customer_id}.
PATCH /v5/customers/{customer_id}/shipping/{shipping_id} Update a customer's shipping address · Update Shipping Address #
Ask an LLM
“How do I change the zip code on an existing shipping address?”
“Can I update the carrier on a customer's shipping address?”
Tell an agent
Update the zip on shipping address {shipping_id} of customer {customer_id} to {zip}.
Replace the carrier on shipping address {shipping_id} for customer {customer_id} with {carrier}.
DELETE /v5/customers/{customer_id}/shipping/{shipping_id} Delete a shipping address from a customer · Delete Shipping Address #
Ask an LLM
“How do I remove a shipping address from a customer?”
“Can I delete a shipping address without deleting the customer?”
Tell an agent destructive · confirm first
Delete shipping address {shipping_id} from customer {customer_id}.
Remove the shipping address {shipping_id} on customer {customer_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-customers-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-customers-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 1.0.0
  title: Payments Customers 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 (66 KB total) ---
# Full source: https://artifacts.apis.io/nmi/openapi/nmi-customers-api-openapi.yml