cryptodataapi-com Wallet Payments API

On-chain USDC plan upgrades and invoices.

Operations 6

POST /api/v1/wallet/upgrade Upgrade Plan #
GET /api/v1/wallet/invoices List Invoices #
GET /api/v1/wallet/invoices/{number} Download Invoice #
GET /api/v1/wallet/config Wallet Config #
POST /api/v1/wallet/create-tron-intent Create Tron Intent #
POST /api/v1/wallet/create-solana-tx Create Solana Tx #

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/cryptodataapi-com:cryptodataapi-com-wallet-payments-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

cryptodataapi-com-wallet-payments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Crypto Data Wallet Payments API
  description: 'Real-time crypto market intelligence API. Built for AI agents: gasless USDC payments via x402 protocol, one-call onboarding, and 180+ endpoints for prices, derivatives, funding, and sentiment.'
  version: '2026-10-28'
servers:
- url: https://cryptodataapi.com
tags:
- name: Wallet Payments
  description: On-chain USDC plan upgrades and invoices.
paths:
  /api/v1/wallet/upgrade:
    post:
      tags:
      - Wallet Payments
      summary: Upgrade Plan
      description: Verify a USDC transfer on-chain and upgrade the API key to pro.
      operationId: upgrade_plan_api_v1_wallet_upgrade_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PaymentVerifyRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentVerifyResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - APIKeyHeader: []
  /api/v1/wallet/invoices:
    get:
      tags:
      - Wallet Payments
      summary: List Invoices
      description: List all invoices for the current wallet.
      operationId: list_invoices_api_v1_wallet_invoices_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - APIKeyHeader: []
  /api/v1/wallet/invoices/{number}:
    get:
      tags:
      - Wallet Payments
      summary: Download Invoice
      description: Download a single invoice as PDF.
      operationId: download_invoice_api_v1_wallet_invoices__number__get
      security:
      - APIKeyHeader: []
      parameters:
      - name: number
        in: path
        required: true
        schema:
          type: string
          title: Number
        example: INV-000001
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-account-scoped: true
  /api/v1/wallet/config:
    get:
      tags:
      - Wallet Payments
      summary: Wallet Config
      description: Return public wallet config (treasury addresses, supported networks).
      operationId: wallet_config_api_v1_wallet_config_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /api/v1/wallet/create-tron-intent:
    post:
      tags:
      - Wallet Payments
      summary: Create Tron Intent
      description: 'Bind a declared Tron sender to this API key BEFORE they send USDC, and return

        the deposit details. Tron has no wallet-signature login, so this intent is what

        lets /wallet/upgrade confirm the on-chain sender is the person claiming it.'
      operationId: create_tron_intent_api_v1_wallet_create_tron_intent_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TronIntentRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - APIKeyHeader: []
  /api/v1/wallet/create-solana-tx:
    post:
      tags:
      - Wallet Payments
      summary: Create Solana Tx
      description: 'Build a Solana SPL USDC transfer transaction and return base64 bytes.


        Creates a payment intent binding the sender to the caller''s API key.

        The frontend passes these bytes to Phantom which deserializes, simulates,

        and signs using its own @solana/web3.js — avoiding cross-module issues.'
      operationId: create_solana_tx_api_v1_wallet_create_solana_tx_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SolanaTxRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - APIKeyHeader: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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
    TronIntentRequest:
      properties:
        sender:
          type: string
          title: Sender
        plan:
          type: string
          title: Plan
        discount_code:
          title: Discount Code
          type:
          - string
          - 'null'
      type: object
      required:
      - sender
      - plan
      title: TronIntentRequest
    PaymentVerifyResponse:
      properties:
        success:
          type: boolean
          title: Success
        subscription:
          title: Subscription
          additionalProperties: true
          type:
          - object
          - 'null'
        invoice_number:
          title: Invoice Number
          type:
          - string
          - 'null'
      type: object
      required:
      - success
      title: PaymentVerifyResponse
    SolanaTxRequest:
      properties:
        sender:
          type: string
          title: Sender
        plan:
          type: string
          title: Plan
        discount_code:
          title: Discount Code
          type:
          - string
          - 'null'
      type: object
      required:
      - sender
      - plan
      title: SolanaTxRequest
    PaymentVerifyRequest:
      properties:
        tx_hash:
          type: string
          maxLength: 120
          minLength: 10
          title: Tx Hash
        network:
          type: string
          pattern: ^(base|ethereum|solana|tron)$
          title: Network
        plan:
          type: string
          pattern: ^(monthly|monthly_plus|annual|annual_plus)$
          title: Plan
        intent_id:
          title: Intent Id
          type:
          - string
          - 'null'
        discount_code:
          title: Discount Code
          type:
          - string
          - 'null'
      type: object
      required:
      - tx_hash
      - network
      - plan
      title: PaymentVerifyRequest
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key