Recognitium Offline Tickets API

The Offline Tickets API from Recognitium — 5 operation(s) for offline tickets.

GitHub OpenAPI

Operations 5

POST /v1/offline-tickets/mint Mint Offline Tickets #
POST /v1/offline-tickets/verify Verify Offline Ticket Voucher #
POST /v1/offline-tickets/redeem Redeem Offline Ticket #
GET /v1/offline-tickets/packs List Offline Packs #
GET /v1/offline-tickets/pack/{pack_id} Get Offline Pack Status #

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/recognitium-com:recognitium-com-offline-tickets-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

recognitium-com-offline-tickets-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Recognitium Phase 1 API Middleware Offline Tickets API
  version: 0.1.0
tags:
- name: Offline Tickets
paths:
  /v1/offline-tickets/mint:
    post:
      summary: Mint Offline Tickets
      operationId: mint_offline_tickets_v1_offline_tickets_mint_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MintOfflineTicketsRequest'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Offline Tickets
  /v1/offline-tickets/verify:
    post:
      summary: Verify Offline Ticket Voucher
      description: Public stateless + chain check of a spent offline voucher (no key_id leaked).
      operationId: verify_offline_ticket_voucher_v1_offline_tickets_verify_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OfflineVoucherPayload'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Offline Tickets
  /v1/offline-tickets/redeem:
    post:
      summary: Redeem Offline Ticket
      description: 'Settle a spent Offline Ticket back onto the live chain (T_return).

        Callable by either the spender or the offline recipient on first signal.'
      operationId: redeem_offline_ticket_v1_offline_tickets_redeem_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OfflineVoucherPayload'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Offline Tickets
  /v1/offline-tickets/packs:
    get:
      summary: List Offline Packs
      operationId: list_offline_packs_v1_offline_tickets_packs_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Offline Tickets
  /v1/offline-tickets/pack/{pack_id}:
    get:
      summary: Get Offline Pack Status
      operationId: get_offline_pack_status_v1_offline_tickets_pack__pack_id__get
      parameters:
      - name: pack_id
        in: path
        required: true
        schema:
          type: string
          title: Pack Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Offline Tickets
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    MintOfflineTicketsRequest:
      properties:
        key_hashes:
          items:
            type: string
          type: array
          title: Key Hashes
      type: object
      required:
      - key_hashes
      title: MintOfflineTicketsRequest
    OfflineVoucherPayload:
      properties:
        protocol:
          type: string
          title: Protocol
          default: BHB-OFFLINE-TICKET-v1
        ticket_id:
          type: string
          title: Ticket Id
        pack_id:
          type: string
          title: Pack Id
        slot_index:
          type: integer
          title: Slot Index
        key_hash:
          type: string
          title: Key Hash
        issue_fingerprint:
          type: string
          title: Issue Fingerprint
        issue_new_tip:
          type: string
          title: Issue New Tip
        issue_timestamp_ns:
          anyOf:
          - type: string
          - type: integer
          - type: 'null'
          title: Issue Timestamp Ns
        issue_receipt:
          anyOf:
          - type: object
          - type: 'null'
          title: Issue Receipt
        pack_merkle_root:
          anyOf:
          - type: string
          - type: 'null'
          title: Pack Merkle Root
        merkle_proof:
          anyOf:
          - items:
              type: object
            type: array
          - type: 'null'
          title: Merkle Proof
        content_hash:
          type: string
          title: Content Hash
        wots_signature:
          items:
            type: string
          type: array
          title: Wots Signature
      type: object
      required:
      - ticket_id
      - pack_id
      - slot_index
      - key_hash
      - issue_fingerprint
      - issue_new_tip
      - content_hash
      - wots_signature
      title: OfflineVoucherPayload
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError