Debit My Data Registration API

DID-LLM registration: quote, proof of key control, issuance, progress.

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 5

POST /v1/dids/registration-quotes Get a time-limited quote for a DebitMyData DID-LLM registration #
POST /v1/dids/registrations/{registration_intent_id}/controller-challenges Get a one-time message to sign with the controller key or wallet #
POST /v1/dids/registrations/{registration_intent_id}/controller-proofs Prove control of the controller key or wallet by returning the signed challenge #
POST /v1/dids/registrations Issue the DID-LLM once the payment is settled and the controller proof is… #
GET /v1/dids/registrations/{registration_intent_id} Registration progress: payment, controller proof, what is still missing #

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-registration-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-registration-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Debitmydata Registration API
  version: 0.55.27
  description: 'Operations tagged registration 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: Registration
  description: 'DID-LLM registration: quote, proof of key control, issuance, progress.'
paths:
  /v1/dids/registration-quotes:
    post:
      tags:
      - Registration
      summary: Get a time-limited quote for a DebitMyData DID-LLM registration
      operationId: create_quote_v1_dids_registration_quotes_post
      parameters:
      - name: Idempotency-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
            pattern: ^[A-Za-z0-9._:-]{16,128}$
          - type: 'null'
          description: Optional random key (e.g. a UUID). Retrying with the same key returns the original quote instead of creating a new one.
          title: Idempotency-Key
        description: Optional random key (e.g. a UUID). Retrying with the same key returns the original quote instead of creating a new one.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/QuoteRequest'
            examples:
              dmd:
                summary: Pay in DMD, the DebitMyData coin (native PoW chain)
                value:
                  controller_public_key: ed25519:z6Mk<your agent public key>
                  display_name: TestAgent-01
                  participant_type: autonomous_agent
                  preferred_payment_option: dmd_pow_native
              x402:
                summary: Pay in USDC through x402 (Base)
                value:
                  controller_public_key: ed25519:z6Mk<your agent public key>
                  display_name: TestAgent-01
                  participant_type: autonomous_agent
                  preferred_payment_option: x402_usdc_base
              wallet:
                summary: A wallet as the controller, paying in USDC through x402 (Base)
                value:
                  controller_wallet_address: 0x<your wallet address>
                  display_name: TestAgent-01
                  participant_type: autonomous_agent
                  preferred_payment_option: x402_usdc_base
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RegistrationQuote'
        '409':
          description: The chosen payment option is not currently available.
        '422':
          description: Invalid request, unknown payment option or reused Idempotency-Key.
        '429':
          description: This controller key already has the maximum of open quotes.
        '503':
          description: No approved price available, or the service is temporarily down.
  /v1/dids/registrations/{registration_intent_id}/controller-challenges:
    post:
      tags:
      - Registration
      summary: Get a one-time message to sign with the controller key or wallet
      operationId: create_challenge_v1_dids_registrations__registration_intent_id__controller_challenges_post
      parameters:
      - name: registration_intent_id
        in: path
        required: true
        schema:
          type: string
          pattern: ^dmd_did_intent_[0-9A-HJKMNP-TV-Z]{26}$
          description: '`registration_intent_id` from the quote (it starts with `dmd_did_intent_`).'
          title: Registration Intent Id
        description: '`registration_intent_id` from the quote (it starts with `dmd_did_intent_`).'
      requestBody:
        content:
          application/json:
            schema:
              anyOf:
              - $ref: '#/components/schemas/ChallengeRequest'
              - type: 'null'
              title: Body
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChallengeResponse'
        '404':
          description: Unknown registration intent.
        '409':
          description: Registration already issued, closed, or has no usable key.
        '429':
          description: Too many open challenges.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/dids/registrations/{registration_intent_id}/controller-proofs:
    post:
      tags:
      - Registration
      summary: Prove control of the controller key or wallet by returning the signed challenge
      operationId: submit_proof_v1_dids_registrations__registration_intent_id__controller_proofs_post
      parameters:
      - name: registration_intent_id
        in: path
        required: true
        schema:
          type: string
          pattern: ^dmd_did_intent_[0-9A-HJKMNP-TV-Z]{26}$
          description: '`registration_intent_id` from the quote (it starts with `dmd_did_intent_`).'
          title: Registration Intent Id
        description: '`registration_intent_id` from the quote (it starts with `dmd_did_intent_`).'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProofRequest'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProofResponse'
        '404':
          description: Unknown registration or challenge.
        '409':
          description: Challenge already answered, or registration closed.
        '410':
          description: Challenge expired.
        '422':
          description: Wrong or malformed signature (a wrong one uses up the challenge), or a smart wallet on a network this gateway cannot ask.
        '503':
          description: A smart wallet's network cannot be asked right now (try again).
  /v1/dids/registrations:
    post:
      tags:
      - Registration
      summary: Issue the DID-LLM once the payment is settled and the controller proof is…
      description: 'For a quote paid in DMD, call this once the payment is settled and the controller proof verified. For an x402 quote (USDC on Base), prove the controller first, then call this: it answers **402** with a `PAYMENT-REQUIRED` header (x402 version 2). Call it again with your signed payment in the `PAYMENT-SIGNATURE` header; the payment is settled, checked on chain, and the DID-LLM is issued in the same answer (`PAYMENT-RESPONSE` header), or 202 if confirmations take longer. A call without `registration_intent_id` answers 402 with the payment terms only (for x402 tools that probe the route); it cannot be paid.'
      operationId: register_v1_dids_registrations_post
      parameters:
      - name: PAYMENT-SIGNATURE
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: 'x402 only: the base64 PaymentPayload answering the 402 (a long value starting with eyJ; on staging, payment_signature from POST /v1/staging/test-payments). Not the controller-proof signature.'
          title: Payment-Signature
        description: 'x402 only: the base64 PaymentPayload answering the 402 (a long value starting with eyJ; on staging, payment_signature from POST /v1/staging/test-payments). Not the controller-proof signature.'
      requestBody:
        content:
          application/json:
            schema:
              anyOf:
              - $ref: '#/components/schemas/RegistrationRequest'
              - type: 'null'
              title: Body
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IssuedRegistration'
        '200':
          description: 'Already issued: the same DID-LLM and credential are returned.'
        '202':
          description: 'x402: payment received and confirming; call again shortly.'
        '400':
          description: 'x402: the PAYMENT-SIGNATURE header is not a valid payment.'
        '402':
          description: 'x402: payment required, or the payment was refused.'
        '404':
          description: Unknown registration intent.
        '409':
          description: 'Not ready: the response lists what is still missing.'
        '503':
          description: DID-LLM issuance or the payment service is not available.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/dids/registrations/{registration_intent_id}:
    get:
      tags:
      - Registration
      summary: 'Registration progress: payment, controller proof, what is still missing'
      operationId: registration_status_v1_dids_registrations__registration_intent_id__get
      parameters:
      - name: registration_intent_id
        in: path
        required: true
        schema:
          type: string
          pattern: ^dmd_did_intent_[0-9A-HJKMNP-TV-Z]{26}$
          description: '`registration_intent_id` from the quote (it starts with `dmd_did_intent_`).'
          title: Registration Intent Id
        description: '`registration_intent_id` from the quote (it starts with `dmd_did_intent_`).'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RegistrationStatus'
        '404':
          description: Unknown registration intent.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    PaymentStatus:
      type: string
      enum:
      - created
      - awaiting_payment
      - detected
      - confirming
      - verified
      - settled
      - failed
      - expired
      - underpaid
      - overpaid
      - reorged
      - reversed
      - refunded
      - disputed
      title: PaymentStatus
    ControllerStatus:
      properties:
        public_key:
          anyOf:
          - type: string
          - type: 'null'
          title: Public Key
        wallet_address:
          anyOf:
          - type: string
          - type: 'null'
          title: Wallet Address
        wallet_network:
          anyOf:
          - type: string
          - type: 'null'
          title: Wallet Network
        proof_status:
          type: string
          title: Proof Status
        still_to_prove:
          items:
            type: string
          type: array
          title: Still To Prove
          description: 'Controllers without a verified proof yet: ed25519 and/or eip155.'
      type: object
      required:
      - public_key
      - wallet_address
      - proof_status
      title: ControllerStatus
    PaymentSummary:
      properties:
        payment_intent_id:
          type: string
          title: Payment Intent Id
        payment_option:
          type: string
          title: Payment Option
        status:
          type: string
          title: Status
      type: object
      required:
      - payment_intent_id
      - payment_option
      - status
      title: PaymentSummary
    RegistrationQuote:
      properties:
        registration_intent_id:
          type: string
          title: Registration Intent Id
        payment_intent_id:
          type: string
          title: Payment Intent Id
        service:
          type: string
          title: Service
        commercial_price:
          $ref: '#/components/schemas/Money'
        selected_payment_option:
          $ref: '#/components/schemas/SelectedPaymentOption'
        price_quote:
          anyOf:
          - $ref: '#/components/schemas/PriceQuote'
          - type: 'null'
        payment_status:
          $ref: '#/components/schemas/PaymentStatus'
        next_action:
          type: string
          title: Next Action
        expires_at:
          type: string
          format: date-time
          title: Expires At
        controller_proof_required:
          type: boolean
          title: Controller Proof Required
        terms_version:
          type: string
          title: Terms Version
        policy_urls:
          additionalProperties:
            type: string
          type: object
          title: Policy Urls
      type: object
      required:
      - registration_intent_id
      - payment_intent_id
      - service
      - commercial_price
      - selected_payment_option
      - price_quote
      - payment_status
      - next_action
      - expires_at
      - controller_proof_required
      - terms_version
      - policy_urls
      title: RegistrationQuote
    Money:
      properties:
        currency:
          type: string
          title: Currency
        amount:
          type: string
          title: Amount
      type: object
      required:
      - currency
      - amount
      title: Money
    IssuedRegistration:
      properties:
        registration_intent_id:
          type: string
          title: Registration Intent Id
        status:
          type: string
          title: Status
        identity_id:
          type: string
          title: Identity Id
        did:
          type: string
          title: Did
        did_status:
          type: string
          title: Did Status
          description: 'The DID-LLM''s status now: active, suspended or revoked.'
        did_document_url:
          type: string
          title: Did Document Url
        identity_url:
          type: string
          title: Identity Url
        credential_id:
          type: string
          title: Credential Id
        credential_url:
          type: string
          title: Credential Url
        credential:
          additionalProperties: true
          type: object
          title: Credential
        entitlements:
          items:
            type: string
          type: array
          title: Entitlements
        issued_at:
          type: string
          format: date-time
          title: Issued At
        payment_response:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Payment Response
          description: 'x402 payments: the settlement (also in the PAYMENT-RESPONSE header).'
      type: object
      required:
      - registration_intent_id
      - status
      - identity_id
      - did
      - did_status
      - did_document_url
      - identity_url
      - credential_id
      - credential_url
      - credential
      - entitlements
      - issued_at
      title: IssuedRegistration
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ProofResponse:
      properties:
        proof_id:
          type: string
          title: Proof Id
        registration_intent_id:
          type: string
          title: Registration Intent Id
        status:
          type: string
          title: Status
        verified_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Verified At
        next_action:
          type: string
          title: Next Action
      type: object
      required:
      - proof_id
      - registration_intent_id
      - status
      - verified_at
      - next_action
      title: ProofResponse
    QuoteRequest:
      properties:
        display_name:
          type: string
          maxLength: 100
          minLength: 1
          pattern: ^[^\x00-\x1f\x7f]+$
          title: Display Name
          description: Name of the agent, e.g. TestAgent-01.
        participant_type:
          $ref: '#/components/schemas/ParticipantType'
          description: What kind of participant this is.
        controller_public_key:
          anyOf:
          - type: string
            maxLength: 256
            pattern: ^[a-z0-9-]{2,32}:[A-Za-z0-9+/=_.:-]{8,220}$
          - type: 'null'
          title: Controller Public Key
          description: 'The agent''s public key, e.g. ed25519:z6Mk...: the DID-LLM''s controller (with a wallet, or alone).'
        controller_wallet_address:
          anyOf:
          - type: string
            maxLength: 128
            pattern: ^[A-Za-z0-9:_.-]{8,128}$
          - type: 'null'
          title: Controller Wallet Address
          description: 'An EVM wallet that controls the DID-LLM: `0x...` or `eip155:8453:0x...`. Ordinary wallets and smart-contract wallets (such as Coinbase Smart Wallet) both work. Give a public key, a wallet, or both; each one given must prove control.'
        controller_network:
          anyOf:
          - type: string
            pattern: ^eip155:[1-9][0-9]{0,11}$
          - type: 'null'
          title: Controller Network
          description: 'The wallet''s network, e.g. eip155:8453 for Base. Optional: by default, the network of the gateway''s USDC payments.'
        preferred_payment_option:
          type: string
          maxLength: 64
          minLength: 1
          title: Preferred Payment Option
          description: 'How the agent pays: an id from GET /v1/payment-options, such as dmd_pow_native (DMD, the DebitMyData coin) or x402_usdc_base (USDC through x402).'
        metadata:
          additionalProperties:
            anyOf:
            - type: string
            - type: integer
            - type: boolean
            - type: 'null'
          type: object
          title: Metadata
      additionalProperties: false
      type: object
      required:
      - display_name
      - participant_type
      - preferred_payment_option
      title: QuoteRequest
      description: Request body, as in the directive's example request.
      examples:
      - controller_public_key: ed25519:z6Mk<your agent public key>
        display_name: TestAgent-01
        participant_type: autonomous_agent
        preferred_payment_option: dmd_pow_native
    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
    RegistrationStatus:
      properties:
        registration_intent_id:
          type: string
          title: Registration Intent Id
        status:
          type: string
          title: Status
        display_name:
          type: string
          title: Display Name
        participant_type:
          type: string
          title: Participant Type
        controller:
          $ref: '#/components/schemas/ControllerStatus'
        payment:
          anyOf:
          - $ref: '#/components/schemas/PaymentSummary'
          - type: 'null'
        blockers:
          items:
            type: string
          type: array
          title: Blockers
        next_action:
          type: string
          title: Next Action
        identity_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Identity Id
        did:
          anyOf:
          - type: string
          - type: 'null'
          title: Did
        did_status:
          anyOf:
          - type: string
          - type: 'null'
          title: Did Status
          description: 'The DID-LLM''s status now: active, suspended or revoked.'
        expires_at:
          type: string
          format: date-time
          title: Expires At
      type: object
      required:
      - registration_intent_id
      - status
      - display_name
      - participant_type
      - controller
      - payment
      - blockers
      - next_action
      - identity_id
      - did
      - expires_at
      title: RegistrationStatus
    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
    ChallengeRequest:
      properties:
        controller_type:
          anyOf:
          - type: string
            pattern: ^(ed25519|eip155)$
          - type: 'null'
          title: Controller Type
          description: 'Usually left out: the gateway then picks the quote''s only controller, or the next one still to prove. To choose: ed25519 for the agent''s public key (controller_public_key), eip155 for its wallet (controller_wallet_address).'
      additionalProperties: false
      type: object
      title: ChallengeRequest
      examples:
      - {}
    ParticipantType:
      type: string
      enum:
      - autonomous_agent
      - ai_agent
      - bot
      - agenticbot
      - claw
      - digital_twin
      - human
      - organization
      - approved_digital_entity
      title: ParticipantType
      description: Participants named in the directive.
    RegistrationRequest:
      properties:
        registration_intent_id:
          anyOf:
          - type: string
            pattern: ^dmd_did_intent_[0-9A-HJKMNP-TV-Z]{26}$
          - type: 'null'
          title: Registration Intent Id
          description: '`registration_intent_id` from the quote (it starts with `dmd_did_intent_`).'
      additionalProperties: false
      type: object
      title: RegistrationRequest
      examples:
      - registration_intent_id: dmd_did_intent_...
    ChallengeResponse:
      properties:
        challenge_id:
          type: string
          title: Challenge Id
        registration_intent_id:
          type: string
          title: Registration Intent Id
        controller:
          type: string
          title: Controller
        message:
          type: string
          title: Message
        signature_algorithm:
          type: string
          title: Signature Algorithm
        signature_encoding:
          type: string
          title: Signature Encoding
        expires_at:
          type: string
          format: date-time
          title: Expires At
        proof_url:
          type: string
          title: Proof Url
      type: object
      required:
      - challenge_id
      - registration_intent_id
      - controller
      - message
      - signature_algorithm
      - signature_encoding
      - expires_at
      - proof_url
      title: ChallengeResponse
    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
    ProofRequest:
      properties:
        challenge_id:
          type: string
          pattern: ^dmd_challenge_[0-9A-HJKMNP-TV-Z]{26}$
          title: Challenge Id
          description: '`challenge_id` from the controller challenge.'
        signature:
          type: string
          maxLength: 16400
          minLength: 86
          title: Signature
          description: 'Signature of the challenge message. A public key: Ed25519 signature of the message (UTF-8), base64url/base64/hex, about 86 characters. A wallet: what the wallet''s personal_sign / signMessage returns, 0x... (132 characters for an ordinary wallet, longer for a smart wallet). Not the x402 payment (the long value starting with eyJ).'
      additionalProperties: false
      type: object
      required:
      - challenge_id
      - signature
      title: ProofRequest
      examples:
      - challenge_id: dmd_challenge_...
        signature: <base64url>
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)