ROZO Ownership API

Optional proof of control of a Stellar address (API key apps only).

GitHub OpenAPI

Operations 2

POST /funding/ownership/challenges Create a no-funds signing challenge for a Stellar address #
POST /funding/ownership/verify Verify the user's signature and get a short-lived ownership proof #

Specifications

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/rozo-ai:rozo-ai-ownership-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

rozo-ai-ownership-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ROZO Funding API (native gas, gas + stablecoin, Stellar…
  version: 1.2.0
  x-contract-id: rozo-funding-v1
  description: 'One stablecoin payment from the user funds one of three delivery modes:


    | mode | the user receives |

    | --- | --- |

    | `native_only` | the destination chain''s native coin only (ETH, SOL, XLM, ...). No stablecoin output exists. |

    | `native_and_stable` | one native output and one stablecoin output, same chain or two supported chains. Each output is tracked and confirmed separately. |

    | `stellar_onboarding` | a new or not-yet-ready Stellar G-account gets a USDC trustline and USDC (and optionally spendable XLM) through one funding signature by the user. |


    **Status (1.2.0, 2026-10-13)**: live. The keyless public app

    `rozoNativeGas` offers `stellar_onboarding` and `native_only` (XLM) to

    everyone. Apps with an API key are granted modes, routes and limits per

    app; `native_and_stable` is available on request. Discover what is

    actually available with `GET /funding/capabilities`; never hard-code chains,

    assets, minimums or maximums from this document. **Changes in 1.2.0** (additive, no field removed): keyless

    `stellar_onboarding` with one user signature; ownership proof,

    `signerProfileId` and `signerPreflight` are optional; `usdGas` fixed XLM

    tiers with `gasOptions` in capabilities; USDC or USDT on any enabled EVM

    source chain accepted 1:1; per-IP daily source limit for keyless callers. ## Authentication


    Every endpoint, including `GET`, accepts `X-API-Key` (server-to-server). **Keyless public app `rozoNativeGas`**: callers that have not

    registered may call `GET /funding/capabilities`, `POST /funding/quotes`,

    `GET /funding/quotes/{quoteId}`, `POST /funding/orders` and

    `GET /funding/orders/{fundingId}` WITHOUT a key. Such calls run as app

    `rozoNativeGas` (`stellar_onboarding` and `native_only`; 1 to 1000 USD

    per order, 2000 USD per client IP per day, 10000 USD per day for the app;

    XLM budget up to 10 USD per order), are rate limited per client IP

    (`429 rate_limited`), and `userRef` is replaced by a per-IP value. Keep the `fundingId` private: it is the only handle to a keyless

    order (anyone holding it can read that order). The public app holds at

    most a few unpaid orders at once; when busy, quotes or orders answer

    `limit_exceeded` / `inventory_unavailable`: retry later or register an app. Lookup by `orderId` and ownership proofs always need a

    key. **Keyless Stellar onboarding (1.2.0)**: the public app''s grant lists

    `stellar_onboarding` (see capabilities), so a keyless

    caller can also run Path B end to end: quote and order (no

    `ownershipProofId`, `signerProfileId` or `signerPreflight` needed), pay,

    then `POST /funding/orders/{fundingId}/signing-requests`,

    `GET /funding/signing-requests/{signingRequestId}` and

    `POST /funding/signing-requests/{signingRequestId}/submit`. The

    `fundingId` is the credential; `walletAddress` must equal the order''s

    Stellar receiver and only that address''s signature on the exact template

    is accepted, so the user signs exactly once. Signing and submit are rate

    limited per client IP. The key''s app is authoritative: a body `appId` is ignored and never widens

    access. Browsers and agents must call through their own trusted backend;

    never ship the API key to a client. The API key does not authorize spending

    from the user''s wallet: the user pays the source deposit and signs Stellar

    transactions themselves. ## Flow


    1. `GET /funding/capabilities`: modes, source assets, outputs, limits. 2. Optional, Stellar onboarding with an API key only:

    `POST /funding/ownership/challenges`, the user signs the returned

    message, `POST /funding/ownership/verify`. Not needed: the claim

    transaction itself must carry the receiver''s signature. 3. `POST /funding/quotes`: read-only plan with every fee and per-output

    minimum. No deposit address, nothing reserved. 4. Show the plan; the user approves it. 5. `POST /funding/orders` with `quoteId`, the quote''s `planDigest` and an

    `Idempotency-Key`. Inventory and limits are reserved atomically and a

    one-time deposit instruction is returned. 6.'
  contact:
    name: ROZO
    url: https://docs.rozo.ai
  license:
    name: Proprietary
    url: https://rozo.ai
servers:
- url: https://intentapiv4.rozo.ai/functions/v1/payment-api
  description: Production
security:
- apiKey: []
tags:
- name: Ownership
  description: Optional proof of control of a Stellar address (API key apps only).
paths:
  /funding/ownership/challenges:
    post:
      tags:
      - Ownership
      operationId: createOwnershipChallenge
      summary: Create a no-funds signing challenge for a Stellar address
      description: 'Optional (1.2.0). An app with an API key may attach the resulting

        `ownershipProofId` to a `stellar_onboarding` quote; it is not required

        because the claim transaction must carry the receiver''s signature

        anyway. Not available to keyless callers. The server builds the

        message (domain, purpose, app, userRef, address, nonce, expiry). The

        user signs it with their wallet''s message-signing function (SEP-53).

        A challenge can be verified once.'
      parameters:
      - $ref: '#/components/parameters/CorrelationId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OwnershipChallengeRequest'
      responses:
        '201':
          description: Challenge created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OwnershipChallenge'
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Error'
        '403':
          $ref: '#/components/responses/Error'
        '503':
          $ref: '#/components/responses/Error'
  /funding/ownership/verify:
    post:
      tags:
      - Ownership
      operationId: verifyOwnershipChallenge
      summary: Verify the user's signature and get a short-lived ownership proof
      description: 'Consumes the challenge atomically. Returns `ownershipProofId`, bound to

        this app, userRef, address, network and purpose. A client-side

        `verified=true` is never accepted as proof.'
      parameters:
      - $ref: '#/components/parameters/CorrelationId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OwnershipVerifyRequest'
      responses:
        '201':
          description: Proof issued
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OwnershipProof'
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Error'
        '403':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
        '409':
          $ref: '#/components/responses/Error'
        '422':
          $ref: '#/components/responses/Error'
        '410':
          $ref: '#/components/responses/Error'
        '503':
          $ref: '#/components/responses/Error'
components:
  schemas:
    OwnershipChallenge:
      type: object
      required:
      - challengeId
      - chainId
      - address
      - userRef
      - purpose
      - message
      - signatureScheme
      - expiresAt
      properties:
        challengeId:
          type: string
          format: uuid
        chainId:
          type: string
        address:
          type: string
        userRef:
          type: string
        purpose:
          type: string
        message:
          type: string
          description: Sign exactly these bytes (UTF-8).
        signatureScheme:
          type: string
          const: sep53
          description: ed25519 over SHA-256("Stellar Signed Message:\n" + message).
        expiresAt:
          type: string
          format: date-time
    NextAction:
      type: string
      enum:
      - none
      - retry
      - requote
      - verify_ownership
      - change_request
      - contact_support
      - poll_order
      - rebuild_signing_request
    OwnershipChallengeRequest:
      type: object
      required:
      - chainId
      - address
      - userRef
      additionalProperties: false
      properties:
        chainId:
          type: string
          const: '1500'
        address:
          type: string
          pattern: ^G[A-Z2-7]{55}$
        userRef:
          type: string
          minLength: 1
          maxLength: 128
        purpose:
          type: string
          const: stellar_onboarding
          default: stellar_onboarding
    Error:
      type: object
      required:
      - code
      - message
      - retryable
      - nextAction
      - correlationId
      properties:
        code:
          $ref: '#/components/schemas/ErrorCode'
        message:
          type: string
        retryable:
          type: boolean
        nextAction:
          $ref: '#/components/schemas/NextAction'
        correlationId:
          type: string
        details:
          type: object
          additionalProperties: true
    OwnershipVerifyRequest:
      type: object
      required:
      - challengeId
      - signature
      additionalProperties: false
      properties:
        challengeId:
          type: string
          format: uuid
        signature:
          type: string
          description: Base64 ed25519 signature (64 bytes).
    OwnershipProof:
      type: object
      required:
      - ownershipProofId
      - chainId
      - address
      - userRef
      - purpose
      - expiresAt
      properties:
        ownershipProofId:
          type: string
          format: uuid
        chainId:
          type: string
        address:
          type: string
        userRef:
          type: string
        purpose:
          type: string
        expiresAt:
          type: string
          format: date-time
    ErrorCode:
      type: string
      enum:
      - unauthorized
      - funding_disabled
      - app_not_enabled
      - invalid_request
      - unsupported_mode
      - unsupported_route
      - unsupported_asset
      - unsupported_target
      - limit_exceeded
      - fees_exceed_limit
      - price_unavailable
      - inventory_unavailable
      - quote_expired
      - quote_consumed
      - plan_mismatch
      - idempotency_conflict
      - ownership_required
      - ownership_invalid
      - challenge_expired
      - signer_unsupported
      - stellar_account_not_ready
      - state_changed
      - channel_busy
      - signature_invalid
      - template_expired
      - claim_expiring
      - recovery_required
      - not_found
      - rate_limited
      - internal_error
  parameters:
    CorrelationId:
      name: X-Correlation-Id
      in: header
      required: false
      description: Echoed in errors; generated when absent.
      schema:
        type: string
        maxLength: 128
  responses:
    Error:
      description: 'Error. Status mapping: unauthorized 401; app_not_enabled 403; not_found 404;

        idempotency_conflict, quote_consumed, plan_mismatch, inventory_unavailable,

        state_changed, channel_busy, recovery_required 409; quote_expired,

        challenge_expired, template_expired, claim_expiring 410; other validation codes 400/422;

        rate_limited 429 (keyless callers); internal_error 500 (retry with the same Idempotency-Key);

        funding_disabled, price_unavailable 503.

        '
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-API-Key
      description: Server-to-server key from https://partners.rozo.ai. Bound to one app (for example `wallet_<slug>`).