Stabledrop Reserve API

The Reserve API from Stabledrop — 1 operation(s) for reserve.

GitHub OpenAPI

Operations 1

POST /reserve Put a payment contract on file before anybody is given its address to fund #

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/stabledrop-me:stabledrop-me-reserve-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

stabledrop-me-reserve-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Stabledrop Me Reserve API
  version: 0.1.0
  termsOfService: https://stabledrop.me/terms-of-service/
  description: 'Operations tagged Reserve across 2 of this provider''s published API definitions: openapi.json, stabledrop-me-openapi.json. Each path carries the servers of the definition it was published in.'
tags:
- name: Reserve
paths:
  /reserve:
    post:
      summary: Put a payment contract on file before anybody is given its address to fund
      description: 'The step before handing out an address for a direct transfer, a QR code or a card.


        Takes the same terms as /settle, without an authorization. Records the payment contract with

        contractservice so its sweep deploys it onto whatever arrives — including when the payer

        sends the money and never comes back to call /settle. Moves nothing, spends nothing, and

        the same terms give the same record however often they are sent.'
      operationId: reserve_reserve_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SettleBody'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReserveResponse'
        '400':
          description: Something about the terms, which will never work.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: No session, API access key or merchant API key; or one that is unknown, expired, revoked, or made for terms that have since changed. `detail.error` is `api_access_required`, `detail.reason` says which (`missing`, `invalid`, `terms_changed`, `terms_not_accepted`), `detail.access_url` is where to get a key, and `detail.docs_url` is this reference's section on sending one.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: 'This payment contract was refused on sanctions grounds. Its address is not handed out again: do not offer any way to pay into it.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '502':
          description: A service we depend on could not be reached.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
      - Bearer: []
      - Session cookie: []
      tags:
      - Reserve
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    SettleBody:
      properties:
        seller:
          type: string
          title: Seller
          description: 'Where the payment contract pays out to: a wallet address, or an email address. An email resolves to the wallet Privy holds for that person — made for them if they have never logged in — and the same email always resolves to the same wallet.'
        token:
          type: string
          title: Token
          description: The ERC-20 the payment contract will hold
        amount:
          type: integer
          title: Amount
          description: In the TOKEN's own base units, not fiat minor units. The payer needed this exact figure to derive the payment address before they could sign a destination for it.
        expiry_timestamp:
          anyOf:
          - type: integer
          - type: 'null'
          title: Expiry Timestamp
          description: Unix timestamp the dispute window closes at. 0 settles instantly with no recourse. Omitted is refused — say which, because the two differ in whether anyone can get their money back.
        external_id:
          type: string
          title: External Id
          description: Any opaque string that keeps two otherwise-identical payment contracts apart. Use your checkout's hash and you get one-checkout-one-payment for free, verifiable by anyone holding the mandate.
        eip3009:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Eip3009
          description: The payer's signed EIP-3009 authorization, for us to relay so they need no gas. Omit it if you have already funded the payment address yourself.
        buyer_claims:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Buyer Claims
          description: UCP Buyer object. Carry stabledrop.nominal_buyer_account to name who may dispute — a CAIP-10 account, or the person's email address; without it the payer holds those rights.
        creator_fee:
          type: integer
          title: Creator Fee
          default: 0
        arbiter:
          anyOf:
          - type: string
          - type: 'null'
          title: Arbiter
        description:
          type: string
          title: Description
          default: Protected payment
        mandate_chain:
          anyOf:
          - type: string
          - type: 'null'
          title: Mandate Chain
          description: An AP2 payment mandate chain. Optional, and NEVER verified — it is hashed into the receipt's `reference` so you can tie this settlement to your checkout. Verify it yourself against a key you trust; we make no claim about it.
        brand_id:
          anyOf:
          - type: string
            pattern: ^[a-z0-9-]{2,32}$
          - type: 'null'
          title: Brand Id
          description: The white-label partner this payment was made under (the `?b=` id, e.g. `escrow-me`). Recorded on the contract for attribution. Not a term of the payment contract — it does not change the address — and never used to authorise anything.
        seller_email:
          anyOf:
          - type: string
          - type: 'null'
          title: Seller Email
          description: 'Display only: the seller''s email, recorded so the payment contract reads on their dashboard like a request made on the site. Not a term. Used automatically when `seller` is itself an email.'
        buyer_email:
          anyOf:
          - type: string
          - type: 'null'
          title: Buyer Email
          description: 'Display only: the nominal buyer''s email. Not a term. Used automatically when `buyer_claims` names the buyer by email.'
        product_name:
          anyOf:
          - type: string
            maxLength: 160
          - type: 'null'
          title: Product Name
          description: 'Display only: what is being paid for, as shown on the dashboard. Not a term.'
      type: object
      required:
      - seller
      - token
      - amount
      - external_id
      title: SettleBody
      description: 'The payment contract''s terms, plus whatever is funding it.


        Everything down to `arbiter` is in the payment contract''s CREATE2 salt — these values ARE its address.

        Which is why they are accepted from the wire without ceremony: alter one and the address

        moves, and the payer''s signed destination no longer matches it.'
      examples:
      - amount: 1000000
        buyer_claims:
          stabledrop.nominal_buyer_account: eip155:8453:0x39C3236A2F7FCE4Cc215a24fFb32aC48646b2288
        description: Agent-relayed protected payment
        eip3009:
          authorization:
            from: '0x39C3236A2F7FCE4Cc215a24fFb32aC48646b2288'
            nonce: '0xabababababababababababababababababababababababababababababababab'
            to: '0x412Ce881Eb968F82C465c09C2f6df289AEDd4Bb8'
            validAfter: 0
            validBefore: 1789659706
            value: 1000000
          signature: '0xcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcd'
        expiry_timestamp: 1789659706
        external_id: agent-1f04862cde10387c
        seller: '0xc9D0602A87E55116F633b1A1F95D083Eb115f942'
        token: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
    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
    ReserveResponse:
      properties:
        escrow_address:
          type: string
          title: Payment address
          description: The address these terms derive to, now on file
        record_id:
          type: string
          title: Record Id
          description: contractservice's record, which its sweep works from
        already_recorded:
          type: boolean
          title: Already Recorded
          description: True when the same terms were reserved before
      type: object
      required:
      - escrow_address
      - record_id
      - already_recorded
      title: ReserveResponse
    ErrorResponse:
      properties:
        detail:
          type: string
          title: Detail
          description: What was wrong, in terms a machine can branch on.
      type: object
      required:
      - detail
      title: ErrorResponse
  securitySchemes:
    Bearer:
      type: http
      description: An API access key (`sd_access_…`, from the site's /myAPIAccessCode page), a merchant API key (`sd_live_…`, created on the site under API keys), or a signed-in user's session token.
      scheme: bearer
    Session_cookie:
      type: apiKey
      description: A signed-in user's session, as the site's browser sends it.
      in: cookie
      name: AUTH-TOKEN
x-refined-from:
- openapi.json
- stabledrop-me-openapi.json