Agentic Fabrication Network Checkout API

The Checkout API from Agentic Fabrication Network — 1 operation(s) for checkout.

Operations 1

POST /v1/checkout Create an order + hosted payment link #

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/agenticfabricationnetwork-ai:agenticfabricationnetwork-ai-checkout-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

agenticfabricationnetwork-ai-checkout-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: AFN — Agentic Fabrication Network Checkout API
  version: 0.3.0
  description: 'The agent-facing API of AFN, a network speaking UFP — the Universal Fabrication Protocol (the aggregator profile): quote, refine, checkout, track. Live processes: decals/stickers, FDM 3D printing, paper print (cards/flyers/posters), sheet metal, CNC machining, resin 3D printing (SLA/DLP), laser cutting, and apparel; US shipping. Human-readable docs at /docs; full schema spec at /docs/protocol.md; vendor-hosted binding at /docs/vendor-binding.md; agent summary at /llms.txt.'
servers:
- url: https://agenticfabricationnetwork.ai
security:
- bearerAuth: []
tags:
- name: Checkout
paths:
  /v1/checkout:
    post:
      summary: Create an order + hosted payment link
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - offer_id
              - shipping_option_id
              properties:
                offer_id:
                  type: string
                shipping_option_id:
                  type: string
                ship_to:
                  type: object
                  description: Optional — omit to have the hosted payment page collect the shipping address
                  required:
                  - name
                  - street1
                  - city
                  - state
                  - zip
                  properties:
                    name:
                      type: string
                    street1:
                      type: string
                    street2:
                      type: string
                    city:
                      type: string
                    state:
                      type: string
                      minLength: 2
                      maxLength: 2
                    zip:
                      type: string
                    country:
                      type: string
                      default: US
                contact:
                  type: object
                  description: Optional — omit to have the hosted payment page collect the buyer email
                  required:
                  - email
                  properties:
                    email:
                      type: string
                      format: email
                    phone:
                      type: string
                return_url:
                  type: string
                  format: uri
                  maxLength: 2048
                  description: Optional — the page the buyer is on when checkout starts. The post-payment landing pages show a 'Return to <site>' button pointing here. http(s) only; pass a URL the client actually knows, never an invented one.
                coupon_code:
                  type: string
                  maxLength: 64
                  description: Optional coupon code (early-adopter codes from the AFN team; case-insensitive). Validated before any order exists — unknown, deactivated, or fully-redeemed codes refuse with a 400 and no money moves. The discount shows on the hosted payment page; a 100%-off code makes the total $0 and no card is collected.
      responses:
        '201':
          description: Order created; give checkout_url to the user
          content:
            application/json:
              schema:
                type: object
                properties:
                  order_id:
                    type: string
                  checkout_url:
                    type: string
                    format: uri
                  total_cents:
                    type: integer
                    description: What the buyer pays; 0 when a 100%-off coupon covered the order
                  currency:
                    type: string
                    enum:
                    - usd
                  discount_cents:
                    type: integer
                    description: 'Present when a coupon applied: cents knocked off the total'
                  coupon_code:
                    type: string
                    description: The redeemed coupon code, normalized uppercase
                  price_basis:
                    type: string
                    enum:
                    - estimate_pending_verification
                    description: 'Present when the total is a cached estimate. The quote is a price ceiling: the checkout page confirms the vendor''s live price, which can only match the quote or come in lower. If the vendor repriced upward the order expires unpaid — just re-quote. Agents need no special handling.'
      tags:
      - Checkout
      operationId: postV1Checkout
      x-operation-id-source: derived
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'API key from POST /v1/agents, e.g. ''Authorization: Bearer ufp_sk_...'''
    vendorKey:
      type: http
      scheme: bearer
      description: 'Vendor attestation key (''Authorization: Bearer ufp_vk_...'') — issued by the network operator to vendors, distinct from agent API keys. Used only on POST /v1/attestations.'