Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
93 changes: 65 additions & 28 deletions mintlify/openapi.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

93 changes: 65 additions & 28 deletions openapi.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 8 additions & 1 deletion openapi/components/schemas/quotes/Quote.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,14 @@ properties:
expiresAt:
type: string
format: date-time
description: When this quote expires (typically 1-5 minutes after creation)
description: >-
Absolute UTC timestamp when the rate locked in this quote becomes
invalid and the quote can no longer be executed. The window depends
on the rail and corridor: instant rails (Lightning, Spark, USDC on
Solana/Base/Polygon, RTP, SEPA Instant) typically expire in 1–5
minutes; corridors with longer settlement guarantees may have longer
windows. Always rely on this timestamp rather than assuming a fixed
window.
example: '2025-10-03T12:05:00Z'
# Transfer details
source:
Expand Down
16 changes: 16 additions & 0 deletions openapi/paths/auth/auth_credentials_{id}_verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,22 @@ post:
application/json:
schema:
$ref: ../../components/schemas/errors/Error404.yaml
'429':
description: >-
Too many requests. Returned with `RATE_LIMITED` when verification
attempts for this credential happen too frequently (for example,
repeated bad OTPs or rapid-fire reauthentication retries). Clients
should back off and retry after the interval indicated by the
`Retry-After` response header.
headers:
Retry-After:
description: Number of seconds to wait before retrying the request.
schema:
type: integer
content:
application/json:
schema:
$ref: ../../components/schemas/errors/Error429.yaml
'500':
description: Internal service error
content:
Expand Down
9 changes: 9 additions & 0 deletions openapi/paths/auth/auth_sessions_{id}.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@ delete:
then retry the same `DELETE` request with that full stamp as the
`Grid-Wallet-Signature` header and the `requestId` echoed back as
the `Request-Id` header. The signed retry returns `204`.


Sessions also expire on their own. `404` is returned whenever the
`id` does not match an active session — whether the session was
never issued, was already revoked by a prior call, or has expired
past its `expiresAt`. The response code reflects the resource
state, not an error in the client's flow: re-revoking an
already-revoked or expired session is safe and idempotent at the
user intent level.
operationId: revokeAuthSession
tags:
- Embedded Wallet Auth
Expand Down
18 changes: 18 additions & 0 deletions openapi/paths/cards/cards.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,15 @@ post:
application/json:
schema:
$ref: ../../components/schemas/errors/Error500.yaml
'501':
description: >-
Not implemented in this environment. Card issuance is not enabled
for every Grid deployment; environments without a configured card
issuer return `501 NOT_IMPLEMENTED`.
content:
application/json:
schema:
$ref: ../../components/schemas/errors/Error501.yaml
get:
summary: List cards
description: >
Expand Down Expand Up @@ -150,3 +159,12 @@ get:
application/json:
schema:
$ref: ../../components/schemas/errors/Error500.yaml
'501':
description: >-
Not implemented in this environment. Cards are not enabled for
every Grid deployment; environments without a configured card
issuer return `501 NOT_IMPLEMENTED`.
content:
application/json:
schema:
$ref: ../../components/schemas/errors/Error501.yaml
Loading
Loading