SMKlog · Example Payload

SMKlog Cancel Payment Session Responses Example

CompanyShippingLogisticsParcel Shippingshipping-ratesShipping LabelsE-CommerceAgentsMCPA2A

SMKlog Cancel Payment Session Responses Example is an example object payload from SMKlog, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathresponses

Example Payload

Raw ↑
{
  "operationId": "cancelPaymentSession",
  "method": "DELETE",
  "path": "/agent/checkout-session/{session_id}",
  "responses": {
    "200": [
      {
        "name": "default",
        "value": {
          "session_id": "as_3f9c1b2e-7d64-4a8e-9c0f-5b2d1e8a7c33",
          "status": "cancelled",
          "created_at": "2026-10-12T15:04:05.000Z",
          "expires_at": "2026-11-11T15:04:05.000Z",
          "amount": 38.42,
          "currency": "USD",
          "service": "USPS Ground Advantage",
          "quote_reused": true,
          "cancelled_at": "2026-10-12T15:06:30.000Z",
          "checkout": null,
          "next": "Cancelled by the agent. The handoff link no longer binds a checkout to this session; create a new session for a new attempt."
        }
      }
    ],
    "404": [
      {
        "name": "default",
        "value": {
          "error": "session_not_found",
          "message": "Unknown or expired session_id. Sessions live 30 days from creation."
        }
      }
    ],
    "409": [
      {
        "name": "default",
        "value": {
          "error": "session_in_checkout",
          "message": "The human has already opened the checkout of this session, so it cannot be cancelled here. An unpaid checkout simply expires; a paid one is refunded by SMKlog support (info@smklog.com) against the order_id getCheckoutStatus reports.",
          "session_id": "as_3f9c1b2e-7d64-4a8e-9c0f-5b2d1e8a7c33"
        }
      }
    ],
    "429": [
      {
        "name": "default",
        "value": {
          "error": "rate_limited",
          "message": "Too many Smart Quote API requests from this client. Try again later."
        }
      }
    ]
  }
}

Work with this as data

Every example 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 examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example 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 example
curl "https://apis.io/api/v1/examples/smklog-com-cancel-payment-session-responses-example"
All examples
curl "https://apis.io/api/v1/examples?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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.