SMKlog Payments API

Agentic checkout for shipping labels: an agent prepares a hosted payment session and hands the human a payment link; the human pays on smklog.com through Stripe Checkout. Create, create-or-update by your own id, re-price, cancel, and read where the payment stands.

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 5

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 /agent/checkout-session Create a checkout session for a parcel label · Create or update (upsert) a payment session for one parcel label (MPP intent… #
Ask an LLM
“How do I price a shipment and hand the customer a checkout link to pay for it?”
“Can I reuse a quote when creating a payment session?”
Tell an agent
Create a payment session for {product} from {from_zip} to {to_zip}.
Create a checkout session for quote {quote_id} and send the handoff link to the customer.
PUT /agent/checkout-session/by-external-id/{external_id} Create or update a payment session by external id · Create or update (upsert) a payment session under your own external_id #
Ask an LLM
“Can I update a payment session using my own external id in the path?”
“What happens if I send a different external id in the body than the one in the path?”
Tell an agent
Upsert the payment session for external id {external_id}.
Update the checkout session {external_id} with quote {quote_id}.
GET /agent/checkout-session/{session_id} Check the status of a payment session · Read where a payment session stands #
Ask an LLM
“Has the customer paid for their shipment yet?”
“Where did a payment session end up?”
Tell an agent
Get the status of payment session {session_id}.
Check whether checkout session {session_id} was paid or refunded.
DELETE /agent/checkout-session/{session_id} Cancel a payment session before checkout · Cancel a payment session before the human opens its checkout #
Ask an LLM
“Can I cancel a payment session before the customer opens checkout?”
“What happens to the handoff link when a session is cancelled?”
Tell an agent destructive · confirm first
Cancel payment session {session_id}.
Release the external id behind checkout session {session_id}.
PATCH /agent/checkout-session/{session_id} Re-price or change a payment session by session id · Re-price or change a payment session by its session_id #
Ask an LLM
“Can I change the service on a payment session after it was created?”
“What happens if I update a session that is already in checkout?”
Tell an agent
Re-price payment session {session_id} for {product} from {from_zip} to {to_zip}.
Update checkout session {session_id} to service {service}.

Documentation

Specifications

SDKs

Schemas & Data

Other Resources

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/smklog-com:smklog-com-payments-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

smklog-com-payments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SMKlog Quote Payments API
  version: 1.5.0
  summary: Live parcel rates from a US origin, a checkout handed to a human, and where that checkout stands.
  description: 'Live parcel rates from USPS, UPS, FedEx and DHL Express for a single shipment sent from a US origin: inside the US, or to Canada, the UK, Germany or Australia. Describe the item in plain words and the packed box size and weight are estimated server-side; supply exact dimensions and weight to skip the estimate. No account and no key: only a create-or-update keyed on your own external_id, or a session write that carries an Idempotency-Key, needs a bearer token, from an OAuth client any agent registers itself at /oauth/register. Rate limited per client (about 80 quote requests per hour); quotes cost real money to produce, so cache on your side and do not poll. Buying a label happens on smklog.com — this API prices and hands the payment to a human, it does not sell. It also tracks labels bought on smklog.com, reports whether a label payment was refunded, serves the monthly parcel shipping price index, works out the billable (dimensional) weight of a box, and lists the carriers’ holiday send-by dates and SMKlog’s shipping restrictions.'
  termsOfService: https://smklog.com/terms
  contact:
    name: SMKlog
    email: info@smklog.com
    url: https://smklog.com/developers/
  x-publisher: SMKlog (SMKLOG-2022 LLC)
servers:
- url: https://quote-api.smklog.com
  description: 'Production. There is no sandbox host: quoting is free and read-only, so production is the place to try it.'
security:
- {}
- clientCredentials:
  - quote
tags:


# --- truncated at 32 KB (63 KB total) ---
# Full source: https://artifacts.apis.io/smklog-com/openapi/smklog-com-payments-api-openapi.yml