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.
openapi: 3.2.0
info:
title: Stabledrop Me Requests API
version: 0.1.0
termsOfService: https://stabledrop.me/terms-of-service/
description: 'Operations tagged Requests 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: Requests
paths:
/requests:
get:
summary: Your payment requests, newest first
description: 'With your API key (or signed in): the requests you are the seller of, newest first, and
where each has got to — `open` (nobody has opened it to pay), `claimed` (a buyer has, and
the money has not landed yet) or `paid` (the payment contract is funded and live).'
operationId: list_requests_requests_get
security:
- Bearer: []
- Session cookie: []
parameters:
- name: limit
in: query
required: false
schema:
type: integer
default: 50
title: Limit
responses:
'200':
description: Your requests, and where each has got to.
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response List Requests Requests Get
example:
requests:
- request_id: 6710c0ffee00000000000001
pay_link: https://stabledrop.me/contract-pay?contractId=6710c0ffee00000000000001
status: open
amount: 20000000
token_symbol: USDC
description: 'Order #123'
expiry_timestamp: 0
created_at: 1760600000
caller:
authenticated: true
via: api_key
user_id: u-42
wallet: '0xc9D0602A87E55116F633b1A1F95D083Eb115f942'
key_label: WhatsApp bot
'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: A service we depend on could not answer.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
tags:
- Requests
components:
schemas:
ErrorResponse:
properties:
detail:
type: string
title: Detail
description: What was wrong, in terms a machine can branch on.
type: object
required:
- detail
title: ErrorResponse
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
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
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