Debit My Data Products API

Products bought for a DID-LLM that already exists, such as the BottyBotty tiers (Entry, Standard, Premium; paid once and owned for good, a higher tier costs the difference): a quote for the DID-LLM, the payment, then a receipt signed by DebitMyData and the product's entitlement on the DID-LLM.

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 4

GET /v1/products Products an agent can buy for its DID-LLM (such as the BottyBotty tiers) #
POST /v1/products/{product}/quotes Quote a product for an active DID-LLM: the amount and where to pay it #
GET /v1/products/purchases/{purchase_id} A product purchase: payment progress, next action, and its receipt once… #
POST /v1/products/purchases/{purchase_id}/complete Once paid: issue the signed receipt and the entitlement on the DID-LLM… #

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/debitmydata:debitmydata-products-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

debitmydata-products-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Debitmydata Products API
  version: 0.55.27
  description: 'Operations tagged products across 2 of this provider''s published API definitions: debitmydata-openapi.json, debitmydata-openapi.json. Each path carries the servers of the definition it was published in.'
tags:
- name: Products
  description: 'Products bought for a DID-LLM that already exists, such as the BottyBotty tiers (Entry, Standard, Premium; paid once and owned for good, a higher tier costs the difference): a quote for the DID-LLM, the payment, then a receipt signed by DebitMyData and the product''s entitlement on the DID-LLM.'
paths:
  /v1/products:
    get:
      tags:
      - Products
      summary: Products an agent can buy for its DID-LLM (such as the BottyBotty tiers)
      operationId: products_v1_products_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ProductInfo'
                type: array
                title: Response Products V1 Products Get
  /v1/products/{product}/quotes:
    post:
      tags:
      - Products
      summary: 'Quote a product for an active DID-LLM: the amount and where to pay it'
      operationId: quote_v1_products__product__quotes_post
      parameters:
      - name: product
        in: path
        required: true
        schema:
          type: string
          pattern: ^[a-z][a-z0-9-]{1,40}$
          description: e.g. bottybotty-entry
          title: Product
        description: e.g. bottybotty-entry
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProductQuoteRequest'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductQuote'
        '404':
          description: Unknown product or DID-LLM.
        '409':
          description: The DID-LLM is suspended or revoked.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/products/purchases/{purchase_id}:
    get:
      tags:
      - Products
      summary: 'A product purchase: payment progress, next action, and its receipt once…'
      operationId: status_v1_products_purchases__purchase_id__get
      parameters:
      - name: purchase_id
        in: path
        required: true
        schema:
          type: string
          pattern: ^dmd_purchase_[0-9A-HJKMNP-TV-Z]{26}$
          title: Purchase Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PurchaseState'
        '404':
          description: Unknown product purchase.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/products/purchases/{purchase_id}/complete:
    post:
      tags:
      - Products
      summary: 'Once paid: issue the signed receipt and the entitlement on the DID-LLM…'
      operationId: complete_v1_products_purchases__purchase_id__complete_post
      parameters:
      - name: purchase_id
        in: path
        required: true
        schema:
          type: string
          pattern: ^dmd_purchase_[0-9A-HJKMNP-TV-Z]{26}$
          title: Purchase Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PurchaseState'
        '404':
          description: Unknown product purchase.
        '409':
          description: Not paid yet, or the DID-LLM is no longer active.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    Money:
      properties:
        currency:
          type: string
          title: Currency
        amount:
          type: string
          title: Amount
      type: object
      required:
      - currency
      - amount
      title: Money
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ProductQuoteRequest:
      properties:
        did:
          type: string
          maxLength: 300
          minLength: 26
          title: Did
          description: The DID-LLM the product is for (or its identity ID, dmd_identity_...). It must be active.
        preferred_payment_option:
          type: string
          maxLength: 64
          minLength: 1
          title: Preferred Payment Option
          description: How the agent pays, e.g. dmd_pow_native.
      additionalProperties: false
      type: object
      required:
      - did
      - preferred_payment_option
      title: ProductQuoteRequest
      examples:
      - did: did:web:api.debitmydata.io:agents:01JA8Z3T6H5K9V2M4Q7R8S0W1X
        preferred_payment_option: dmd_pow_native
    TierInfo:
      properties:
        group:
          type: string
          title: Group
          description: The family of tiers, e.g. bottybotty.
        rank:
          type: integer
          title: Rank
          description: 1 is the lowest tier.
        name:
          type: string
          title: Name
      type: object
      required:
      - group
      - rank
      - name
      title: TierInfo
    PriceQuote:
      properties:
        source:
          type: string
          title: Source
        usd_per_unit:
          type: string
          title: Usd Per Unit
        price_observed_at:
          type: string
          format: date-time
          title: Price Observed At
        quoted_at:
          type: string
          format: date-time
          title: Quoted At
        expires_at:
          type: string
          format: date-time
          title: Expires At
      type: object
      required:
      - source
      - usd_per_unit
      - price_observed_at
      - quoted_at
      - expires_at
      title: PriceQuote
    ProductQuote:
      properties:
        purchase_id:
          type: string
          title: Purchase Id
        payment_intent_id:
          type: string
          title: Payment Intent Id
        product:
          $ref: '#/components/schemas/ProductInfo'
        did:
          type: string
          title: Did
        commercial_price:
          $ref: '#/components/schemas/Money'
          description: What this quote charges.
        list_price:
          $ref: '#/components/schemas/Money'
          description: The product's price (more than commercial_price for an upgrade, which pays the difference).
        upgrade_from:
          anyOf:
          - type: string
          - type: 'null'
          title: Upgrade From
          description: 'For an upgrade: the tier the DID-LLM owns now (product ID).'
        selected_payment_option:
          $ref: '#/components/schemas/SelectedPaymentOption'
        price_quote:
          anyOf:
          - $ref: '#/components/schemas/PriceQuote'
          - type: 'null'
        payment_status:
          type: string
          title: Payment Status
        next_action:
          type: string
          title: Next Action
        expires_at:
          type: string
          format: date-time
          title: Expires At
        status_url:
          type: string
          title: Status Url
        terms_version:
          type: string
          title: Terms Version
        policy_urls:
          additionalProperties:
            type: string
          type: object
          title: Policy Urls
      type: object
      required:
      - purchase_id
      - payment_intent_id
      - product
      - did
      - commercial_price
      - list_price
      - selected_payment_option
      - price_quote
      - payment_status
      - next_action
      - expires_at
      - status_url
      - terms_version
      - policy_urls
      title: ProductQuote
    PurchaseState:
      properties:
        purchase_id:
          type: string
          title: Purchase Id
        product_id:
          type: string
          title: Product Id
        did:
          type: string
          title: Did
        status:
          type: string
          title: Status
          description: awaiting_payment, paid, completed or failed
        payment_intent_id:
          type: string
          title: Payment Intent Id
        payment_status:
          type: string
          title: Payment Status
        next_action:
          type: string
          title: Next Action
          description: send_payment, wait_for_confirmations, complete_purchase, none (completed) or request_new_quote (failed)
        entitlement:
          type: string
          title: Entitlement
        covers_until:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Covers Until
          description: 'Once completed: the end of the period bought (null: no end).'
        receipt:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Receipt
          description: 'Once completed: the receipt signed by DebitMyData.'
      type: object
      required:
      - purchase_id
      - product_id
      - did
      - status
      - payment_intent_id
      - payment_status
      - next_action
      - entitlement
      title: PurchaseState
    SelectedPaymentOption:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        asset:
          type: string
          title: Asset
        asset_type:
          type: string
          title: Asset Type
        asset_id:
          type: string
          title: Asset Id
        token_contract:
          anyOf:
          - type: string
          - type: 'null'
          title: Token Contract
        network:
          type: string
          title: Network
        payment_protocol:
          type: string
          title: Payment Protocol
        scheme:
          anyOf:
          - type: string
          - type: 'null'
          title: Scheme
        transfer_method:
          anyOf:
          - type: string
          - type: 'null'
          title: Transfer Method
        amount:
          type: string
          title: Amount
        amount_base_units:
          type: string
          title: Amount Base Units
        decimals:
          type: integer
          title: Decimals
        recipient:
          type: string
          title: Recipient
        payment_reference:
          anyOf:
          - type: string
          - type: 'null'
          title: Payment Reference
        required_confirmations:
          anyOf:
          - type: integer
          - type: 'null'
          title: Required Confirmations
        finality:
          anyOf:
          - type: string
          - type: 'null'
          title: Finality
        payment_url:
          anyOf:
          - type: string
          - type: 'null'
          title: Payment Url
      type: object
      required:
      - id
      - name
      - asset
      - asset_type
      - asset_id
      - token_contract
      - network
      - payment_protocol
      - scheme
      - transfer_method
      - amount
      - amount_base_units
      - decimals
      - recipient
      - payment_reference
      - required_confirmations
      - finality
      title: SelectedPaymentOption
    ProductInfo:
      properties:
        product_id:
          type: string
          title: Product Id
        name:
          type: string
          title: Name
        description:
          type: string
          title: Description
        entitlement:
          type: string
          title: Entitlement
        period_days:
          anyOf:
          - type: integer
          - type: 'null'
          title: Period Days
          description: 'How long one purchase covers; null: for good.'
        commercial_price:
          $ref: '#/components/schemas/Money'
        tier:
          anyOf:
          - $ref: '#/components/schemas/TierInfo'
          - type: 'null'
          description: 'One tier of a family: a DID-LLM owns one tier, and a higher tier costs the difference in price.'
        payment_options:
          items:
            type: string
          type: array
          title: Payment Options
        quote_url:
          type: string
          title: Quote Url
      type: object
      required:
      - product_id
      - name
      - description
      - entitlement
      - period_days
      - commercial_price
      - payment_options
      - quote_url
      title: ProductInfo
    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-refined-from:
- debitmydata-openapi.json
- debitmydata-openapi.json
x-provenance:
  method: harvested
  publisher: Debit My Data
  source: https://id.debitmydata.io/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)