Stabledrop Parties API
The Parties API from Stabledrop — 2 operation(s) for parties.
The Parties API from Stabledrop — 2 operation(s) for parties.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/stabledrop-me:stabledrop-me-parties-api"
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.
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: 3.2.0
info:
title: Stabledrop Me Parties API
version: 0.1.0
termsOfService: https://stabledrop.me/terms-of-service/
description: 'Operations tagged Parties 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: Parties
paths:
/parties/resolve:
post:
summary: Turn an email into the wallet a payment contract's terms will name
description: 'The step before deriving an address, for a caller holding an email.
The payment address is a function of the buyer''s and seller''s WALLETS, and a payer signs
against that address — so anyone deriving it for themselves needs the wallets first. This
answers with the same wallets /settle will resolve the same emails to, which is what makes
the two agree. A wallet passes through untouched.'
operationId: resolve_parties_parties_resolve_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ResolvePartiesBody'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ResolvePartiesResponse'
'400':
description: No wallet could be found or made.
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'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
'502':
description: userservice could not be reached.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
security:
- Bearer: []
- Session cookie: []
tags:
- Parties
/parties/screen:
post:
summary: Screen a payment contract's named parties for sanctions risk, before any…
description: 'SANCTIONS CONTROL — the early screening (chainservice/SANCTIONS_SCREENING.md).
The MCP tools ask the factory for the payment address and hand it to an agent to pay. Before they
do, the buyer, seller and arbiter are scored here by sanctionservice, and any risk above 0 is
`refused`, so a listed party is refused before an address exists for anyone to send money to.
This is a question, so it answers 200 with `refused`; the caller does the refusing. Each hit
names the party''s role, its address and its risk (0-100). An unreachable sanctionservice is a
503: the caller must not issue an address on an unknown answer.'
operationId: screen_parties_parties_screen_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ScreenPartiesBody'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ScreenPartiesResponse'
'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'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
'503':
description: sanctionservice could not be reached.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
security:
- Bearer: []
- Session cookie: []
tags:
- Parties
components:
schemas:
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
ResolvePartiesResponse:
properties:
seller:
anyOf:
- $ref: '#/components/schemas/ResolvedParty'
- type: 'null'
nominal_buyer:
anyOf:
- $ref: '#/components/schemas/ResolvedParty'
- type: 'null'
type: object
title: ResolvePartiesResponse
ScreenPartiesResponse:
properties:
refused:
type: boolean
title: Refused
hits:
items:
additionalProperties: true
type: object
type: array
title: Hits
message:
anyOf:
- type: string
- type: 'null'
title: Message
type: object
required:
- refused
- hits
title: ScreenPartiesResponse
ResolvePartiesBody:
properties:
seller:
anyOf:
- type: string
- type: 'null'
title: Seller
description: A wallet address or an email address
nominal_buyer:
anyOf:
- type: string
- type: 'null'
title: Nominal Buyer
description: A wallet address or an email address
type: object
title: ResolvePartiesBody
description: Parties as a caller holds them — wallets or emails — to be turned into wallets.
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
ErrorResponse:
properties:
detail:
type: string
title: Detail
description: What was wrong, in terms a machine can branch on.
type: object
required:
- detail
title: ErrorResponse
ResolvedParty:
properties:
given:
type: string
title: Given
address:
type: string
title: Address
description: The wallet the payment contract's terms will name
resolved_from_email:
type: boolean
title: Resolved From Email
type: object
required:
- given
- address
- resolved_from_email
title: ResolvedParty
ScreenPartiesBody:
properties:
buyer:
anyOf:
- type: string
- type: 'null'
title: Buyer
description: The nominal buyer's wallet
seller:
anyOf:
- type: string
- type: 'null'
title: Seller
description: The seller's wallet
arbiter:
anyOf:
- type: string
- type: 'null'
title: Arbiter
description: The arbiter's wallet; an omitted one is not screened
reference:
anyOf:
- type: string
- type: 'null'
title: Reference
description: 'How to name the payment contract in a refusal: its predicted address'
type: object
title: ScreenPartiesBody
description: The named parties of a payment contract that does not exist yet.
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