Untitled Payments API

Settlement, fees, and transaction preparation

GitHub OpenAPI

Operations 3

GET /quote Fee quote for a DPX settlement #
POST /prepare-settle Prepare a DPX settlement — returns unsigned tx calldata #
GET /settle-status Check settlement transaction 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/untitledfinancial-com:untitledfinancial-com-payments-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

untitledfinancial-com-payments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: DPX Protocol Payments API
  version: 1.0.0
  description: 'DPX is a programmable settlement rail for AI agents and institutional treasuries on Base mainnet. ESG-scored, multi-currency, and non-custodial — agents receive unsigned transaction calldata and sign independently; DPX never holds keys. Call /quote for live fee pricing on any settlement. The intelligence layer ($0.001 USDC/call) provides AI-synthesized pre-settlement analysis: confidence scoring, risk alerts, and forward outlook so agents can assess conditions before committing to a transaction.'
  x-guidance: 'Use GET /quote to price a settlement (amountUsd, hasFx, esgScore params). Use GET /esg-score?address=0x... to check a company''s ESG compliance score. Use POST /prepare-settle to receive unsigned transaction calldata — your agent signs and broadcasts, DPX never holds keys. Check confirmation with GET /settle-status?txHash=0x.... Use GET /reliability for oracle health. Use POST /intelligence (paid, 0.001 USDC per call) for AI pre-settlement analysis: confidence score, risk alerts, and 30-90 day macro outlook. Recommended before large or cross-currency settlements.'
  contact:
    name: Untitled_ LuxPerpetua Technologies, Inc.
    url: https://untitledfinancial.com
    email: case@untitledfinancial.com
servers:
- url: https://api.untitledfinancial.com
  description: Production
tags:
- name: Payments
  description: Settlement, fees, and transaction preparation
paths:
  /quote:
    get:
      operationId: getQuote
      tags:
      - Payments
      summary: Fee quote for a DPX settlement
      description: 'Returns a binding fee quote valid for 300 seconds. All-in fee includes core (1.50%), FX (0.40% cross-currency only), ESG component (0–0.50% based on score), and license (0.01%). Typical all-in: 2.035% cross-currency at ESG score 75.'
      security: []
      parameters:
      - name: amountUsd
        in: query
        required: true
        schema:
          type: number
        description: Settlement amount in USD
      - name: hasFx
        in: query
        required: false
        schema:
          type: boolean
        description: true for cross-currency settlement
      - name: esgScore
        in: query
        required: false
        schema:
          type: number
          minimum: 0
          maximum: 100
        description: Company ESG score (0–100). Fetched from /esg-score if omitted.
      - name: monthlyVolumeUsd
        in: query
        required: false
        schema:
          type: number
        description: Monthly settlement volume for tier discount
      responses:
        '200':
          description: Binding fee quote
          content:
            application/json:
              schema:
                type: object
                properties:
                  quoteId:
                    type: string
                    description: Use in /prepare-settle to lock this quote
                  validForSeconds:
                    type: number
                    description: Quote expires after this many seconds
                  fees:
                    type: object
                    properties:
                      core:
                        type: object
                        properties:
                          pct:
                            type: number
                          usd:
                            type: number
                      fx:
                        type: object
                        properties:
                          pct:
                            type: number
                          usd:
                            type: number
                      esg:
                        type: object
                        properties:
                          pct:
                            type: number
                          usd:
                            type: number
                          score:
                            type: number
                      license:
                        type: object
                        properties:
                          pct:
                            type: number
                          usd:
                            type: number
                      total:
                        type: object
                        properties:
                          pct:
                            type: number
                          usd:
                            type: number
                  settlement:
                    type: object
                    properties:
                      grossUsd:
                        type: number
                      netUsd:
                        type: number
                        description: Amount recipient receives after all fees
                  volumeTier:
                    type: string
                    description: Volume discount tier applied
  /prepare-settle:
    post:
      operationId: prepareSettle
      tags:
      - Payments
      summary: Prepare a DPX settlement — returns unsigned tx calldata
      description: 'Generates the approve() and settle() calldata for the agent to sign and broadcast. DPX never holds private keys — settlement execution is always the agent''s responsibility. Use the quoteId from /quote to lock fees. Returns two-step unsigned transaction data: step 1 approves the token spend, step 2 executes the settlement.'
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - recipient
              - amountWei
              - isCrossCurrency
              properties:
                recipient:
                  type: string
                  description: Destination wallet address (0x...)
                amountWei:
                  type: string
                  description: Amount in DPX base units (18 decimals). E.g. "1000000000000000000" = 1 DPX
                isCrossCurrency:
                  type: boolean
                  description: true for cross-currency settlement (adds FX fee)
                quoteId:
                  type: string
                  description: 'Optional: quoteId from /quote to lock fee rate'
      responses:
        '200':
          description: Unsigned transaction data ready to sign and broadcast
          content:
            application/json:
              schema:
                type: object
                properties:
                  quoteId:
                    type: string
                  note:
                    type: string
                  approve:
                    type: object
                    description: 'Step 1: approve DPX token spend'
                    properties:
                      to:
                        type: string
                        description: Token contract address to send approve() to
                      data:
                        type: string
                        description: Encoded approve() calldata
                  settle:
                    type: object
                    description: 'Step 2: execute settlement after approve confirms'
                    properties:
                      to:
                        type: string
                        description: Settlement router address
                      data:
                        type: string
                        description: Encoded settle() calldata
  /settle-status:
    get:
      operationId: getSettleStatus
      tags:
      - Payments
      summary: Check settlement transaction status
      description: Poll confirmation status for a settlement transaction by hash. Returns PENDING until confirmed, then SUCCESS or FAILED with block number and explorer link.
      security: []
      parameters:
      - name: txHash
        in: query
        required: true
        schema:
          type: string
        description: Transaction hash (0x...)
      responses:
        '200':
          description: Settlement status
          content:
            application/json:
              schema:
                type: object
                properties:
                  txHash:
                    type: string
                  status:
                    type: string
                    enum:
                    - PENDING
                    - SUCCESS
                    - FAILED
                  confirmed:
                    type: boolean
                  blockNumber:
                    type: number
                  explorer:
                    type: string
                    description: Basescan URL for this transaction
x-discovery:
  ownershipProofs:
  - dpx-protocol-api:0x160e920012fb4BAe2E465c1eD8815c5FD51B5Ce0