Hive Civilization Mpp API

The mpp API from Hive Civilization — 4 operation(s) for mpp.

Operations 4

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 /v1/receipt/mpp/health Check MPP receipt minting configuration · Mpp Health #
Ask an LLM
“Is MPP payment configured for minting receipts yet?”
“Can I check the MPP health before paying for a receipt?”
Tell an agent
Check MPP health.
Show whether MPP receipt minting is configured.
POST /v1/receipt/mpp Mint a receipt paid through MPP · Mint Via Mpp #
Ask an LLM
“How do I mint a post-quantum receipt and pay for it with an MPP 402 challenge over Stripe?”
“What happens on the first MPP mint call when I have no payment credential?”
Tell an agent
Mint a receipt over {payload} paid via MPP.
Mint a {profile} receipt for {payload} labeled {label} using MPP.
POST /v1/receipt/mpp/spt Create a Stripe Shared Payment Token · Create Spt #
Ask an LLM
“How does an MPP client get a Stripe Shared Payment Token for a payment method?”
“What amount, currency and expiry do I pass to create a shared payment token?”
Tell an agent
Create a shared payment token for {paymentMethod} for {amount} {currency} on network {networkId}, expiring {expiresAt}.
Grant an SPT from {paymentMethod} worth {amount} {currency}, network {networkId}, expires {expiresAt}, reference {externalId}.
GET /.well-known/mpp.json Get the MPP service discovery manifest · Mpp Discovery #
Ask an LLM
“Where is the MPP discovery manifest for auto-discovery by aggregators?”
“What does the well-known mpp.json file advertise?”
Tell an agent
Fetch the MPP discovery manifest.
Show the well-known mpp.json.

Documentation

Specifications

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/thehiveryiq-com:thehiveryiq-com-mpp-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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

thehiveryiq-com-mpp-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: HiveMorph v0.1 Mpp API
  description: 'Polymorphic agent runtime — single shape (Merchant), single supermodel (W2 MERCHANT). Three gates: NEED + YIELD + CLEAN-MONEY.'
  version: 0.1.0
tags:
- name: mpp
paths:
  /v1/receipt/mpp/health:
    get:
      tags:
      - mpp
      summary: Mpp Health
      description: Healthcheck — safe to call publicly. Reveals config state.
      operationId: mpp_health_v1_receipt_mpp_health_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Mpp Health V1 Receipt Mpp Health Get
  /v1/receipt/mpp:
    post:
      tags:
      - mpp
      summary: Mint Via Mpp
      description: 'Mint a Hive PQ receipt, gated by MPP HTTP 402 over Stripe.


        Returns 402 + WWW-Authenticate on first call (no credential).

        Returns 200 + receipt body + Payment-Receipt header on success.

        Returns 503 if MPP is not yet configured (gracefully directs to x402).'
      operationId: mint_via_mpp_v1_receipt_mpp_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReceiptMintBody'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/receipt/mpp/spt:
    post:
      tags:
      - mpp
      summary: Create Spt
      description: 'Stripe Shared Payment Token proxy.


        The pympp client calls this with a payment method ID and challenge details.

        We hit Stripe''s test-helper SPT endpoint using our server-side secret key.

        In production replace `test_helpers/shared_payment/granted_tokens` with

        the real SPT endpoint once Stripe lifts the test-helper gate.'
      operationId: create_spt_v1_receipt_mpp_spt_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SPTBody'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /.well-known/mpp.json:
    get:
      tags:
      - mpp
      summary: Mpp Discovery
      description: 'Serve the MPP service discovery manifest.


        Format: matches https://mpp.tempo.xyz/schemas/discovery.schema.json (v1).

        Lets MPPScan + any compliant aggregator auto-discover Hive without a PR.'
      operationId: mpp_discovery__well_known_mpp_json_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Mpp Discovery  Well Known Mpp Json Get
components:
  schemas:
    ReceiptMintBody:
      properties:
        payload:
          type: string
          maxLength: 1000000
          minLength: 1
          title: Payload
          description: The payload to anchor in the receipt.
        label:
          anyOf:
          - type: string
            maxLength: 200
          - type: 'null'
          title: Label
          description: Optional human label.
        profile:
          type: string
          title: Profile
          description: 'Receipt profile: nano, standard, or pq.'
          default: pq
        tag:
          anyOf:
          - type: string
            maxLength: 64
          - type: 'null'
          title: Tag
          description: Bounty/attribution tag (bounty_xxxx).
      type: object
      required:
      - payload
      title: ReceiptMintBody
      description: Body for /v1/receipt/mpp — same shape as existing /v1/receipt/free.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    SPTBody:
      properties:
        paymentMethod:
          type: string
          title: Paymentmethod
        networkId:
          type: string
          title: Networkid
        currency:
          type: string
          title: Currency
        amount:
          type: integer
          title: Amount
        expiresAt:
          type: integer
          title: Expiresat
        externalId:
          anyOf:
          - type: string
          - type: 'null'
          title: Externalid
      type: object
      required:
      - paymentMethod
      - networkId
      - currency
      - amount
      - expiresAt
      title: SPTBody
      description: Body for /v1/receipt/mpp/spt — Stripe SPT creation proxy.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
x-provenance:
  method: harvested
  publisher: Hive Civilization
  source: https://receipts.thehiveryiq.com/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)