ROZO Stellar signing API

User-signed Stellar onboarding transaction (keyless or API key).

GitHub OpenAPI

Operations 3

POST /funding/orders/{fundingId}/signing-requests Build the versioned Stellar onboarding transaction for the user to sign #
GET /funding/signing-requests/{signingRequestId} Status of a signing request #
POST /funding/signing-requests/{signingRequestId}/submit Submit the user-signed XDR #

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-stellar-signing-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-stellar-signing-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: Stellar signing
  description: User-signed Stellar onboarding transaction (keyless or API key).
paths:
  /funding/orders/{fundingId}/signing-requests:
    post:
      tags:
      - Stellar signing
      operationId: createStellarSigningRequest
      security:
      - apiKey: []
      - {}
      summary: Build the versioned Stellar onboarding transaction for the user to sign
      description: 'Available when capabilities report `stellar_onboarding` supported for

        the calling app (a grant must list the mode; the keyless public app

        too when its grant lists it: then the `fundingId` is the credential).


        Only valid while the order shows a `sign_stellar_onboarding` action.

        Returns the unsigned XDR, its hash, the template version, a

        human-readable operation list and an expiry. Every call that has to

        rebuild (expired template, changed account state) returns a new

        `signingRequestId` and hash; an old signature never carries over.

        Answers `409 channel_busy` (retryable) when no channel account is free,

        `409 state_changed` while a previous request is `submitting`, and

        `410 claim_expiring` when the balance is too close to expiry.'
      parameters:
      - $ref: '#/components/parameters/FundingId'
      - $ref: '#/components/parameters/CorrelationId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SigningRequestCreate'
      responses:
        '201':
          description: Signing request created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SigningRequest'
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
        '409':
          $ref: '#/components/responses/Error'
        '422':
          $ref: '#/components/responses/Error'
        '503':
          $ref: '#/components/responses/Error'
  /funding/signing-requests/{signingRequestId}:
    get:
      tags:
      - Stellar signing
      operationId: getStellarSigningRequest
      security:
      - apiKey: []
      - {}
      summary: Status of a signing request
      description: Owner app only. A `submitting` / `submitted` request is resolved against the chain by its hash on read.
      parameters:
      - $ref: '#/components/parameters/SigningRequestId'
      responses:
        '200':
          description: The signing request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SigningRequest'
        '401':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
        '503':
          $ref: '#/components/responses/Error'
  /funding/signing-requests/{signingRequestId}/submit:
    post:
      tags:
      - Stellar signing
      operationId: submitStellarSigningRequest
      security:
      - apiKey: []
      - {}
      summary: Submit the user-signed XDR
      description: 'The server re-validates the signed transaction byte-for-byte against the

        request (same hash, the user''s signature only, no extra signers), adds

        the service signatures and submits it. `submitted` is not delivery:

        poll the order until the stable and native legs are `confirmed`.

        Submitting the same signed XDR again is idempotent. `200` when the

        transaction is already confirmed, `202` otherwise. If the signer

        refuses, the request becomes `failed` (`409 state_changed`) and a new

        signing request can be built.'
      parameters:
      - $ref: '#/components/parameters/SigningRequestId'
      - $ref: '#/components/parameters/CorrelationId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SigningSubmitRequest'
      responses:
        '200':
          description: Confirmed on chain
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SigningRequest'
        '202':
          description: Accepted for submission
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SigningRequest'
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
        '409':
          $ref: '#/components/responses/Error'
        '410':
          $ref: '#/components/responses/Error'
        '422':
          $ref: '#/components/responses/Error'
        '503':
          $ref: '#/components/responses/Error'
components:
  schemas:
    SigningSubmitRequest:
      type: object
      required:
      - signedXdr
      additionalProperties: false
      properties:
        signedXdr:
          type: string
          description: The envelope returned by the user's wallet (base64).
    NextAction:
      type: string
      enum:
      - none
      - retry
      - requote
      - verify_ownership
      - change_request
      - contact_support
      - poll_order
      - rebuild_signing_request
    SigningRequestCreate:
      type: object
      required:
      - walletAddress
      additionalProperties: false
      properties:
        walletAddress:
          type: string
          pattern: ^G[A-Z2-7]{55}$
          description: Must equal the order's frozen Stellar receiver.
        signerProfileId:
          type: string
          description: Optional; when passed it must be the profile the order was quoted for.
    SigningOperation:
      type: object
      required:
      - index
      - type
      - summary
      properties:
        index:
          type: integer
        type:
          type: string
        source:
          type:
          - string
          - 'null'
        summary:
          type: string
    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
    SigningRequest:
      type: object
      required:
      - signingRequestId
      - fundingId
      - status
      - templateVersion
      - networkPassphrase
      - xdr
      - txHash
      - expiresAt
      - operations
      properties:
        signingRequestId:
          type: string
          format: uuid
        fundingId:
          type: string
          format: uuid
        status:
          type: string
          enum:
          - awaiting_signature
          - submitting
          - submitted
          - confirmed
          - failed
          - expired
          - superseded
        templateVersion:
          type: string
        networkPassphrase:
          type: string
        xdr:
          type: string
          description: Unsigned transaction envelope (base64). Only pass it to the user's wallet.
        txHash:
          type: string
          pattern: ^[0-9a-f]{64}$
        expiresAt:
          type: string
          format: date-time
          description: maxTime of the transaction as a date.
        maxTime:
          type: integer
          description: Transaction maxTime (unix seconds). Additive 2026-10-12.
        accountState:
          type: string
          enum:
          - missing
          - missing_trustline
          - ready
          description: Receiver account state the template was built for. Additive 2026-10-12.
        operations:
          type: array
          items:
            $ref: '#/components/schemas/SigningOperation'
        submittedTxHash:
          type:
          - string
          - 'null'
        lastError:
          type:
          - string
          - 'null'
    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:
    SigningRequestId:
      name: signingRequestId
      in: path
      required: true
      schema:
        type: string
        format: uuid
    CorrelationId:
      name: X-Correlation-Id
      in: header
      required: false
      description: Echoed in errors; generated when absent.
      schema:
        type: string
        maxLength: 128
    FundingId:
      name: fundingId
      in: path
      required: true
      schema:
        type: string
        format: uuid
  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>`).