From c378f9707e4b42cdfafd7867b264c51401fd6f96 Mon Sep 17 00:00:00 2001 From: Jack Latourette Date: Tue, 25 Aug 2026 23:57:13 +0000 Subject: [PATCH] docs: declare the 429 daily-volume response on /sandbox/send /sandbox/send can refuse with DAILY_VOLUME_LIMIT_EXCEEDED when funding a quote would take the customer past the daily withdrawal limit, but its response list did not document a 429, so generated clients had no typed error for it. Also widen the /quotes 429 description: the limit is checked when a quote is created, not only when immediatelyExecute is set. Co-Authored-By: jacklatourette --- mintlify/openapi.yaml | 8 +++++++- openapi.yaml | 8 +++++++- openapi/paths/quotes/quotes.yaml | 7 ++++--- openapi/paths/sandbox/sandbox_send.yaml | 9 +++++++++ 4 files changed, 27 insertions(+), 5 deletions(-) diff --git a/mintlify/openapi.yaml b/mintlify/openapi.yaml index b2ef7ee32..50f946f91 100644 --- a/mintlify/openapi.yaml +++ b/mintlify/openapi.yaml @@ -4137,7 +4137,7 @@ paths: schema: $ref: '#/components/schemas/Error424' '429': - description: Too many requests. Returned with `DAILY_VOLUME_LIMIT_EXCEEDED` when `immediatelyExecute` is set and the requested amount would exceed the configured daily volume limit for the trade corridor. + description: Too many requests. Returned with `DAILY_VOLUME_LIMIT_EXCEEDED` when the requested amount would exceed the configured daily volume limit for the trade corridor or withdrawal currency. Sandbox stablecoin withdrawals are checked when the quote is created, not only when it is executed. content: application/json: schema: @@ -5305,6 +5305,12 @@ paths: application/json: schema: $ref: '#/components/schemas/Error404' + '429': + description: Too many requests. Returned with `DAILY_VOLUME_LIMIT_EXCEEDED` when funding the quote would exceed the configured daily volume limit for the withdrawal currency. + content: + application/json: + schema: + $ref: '#/components/schemas/Error429' '500': description: Internal service error content: diff --git a/openapi.yaml b/openapi.yaml index b2ef7ee32..50f946f91 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -4137,7 +4137,7 @@ paths: schema: $ref: '#/components/schemas/Error424' '429': - description: Too many requests. Returned with `DAILY_VOLUME_LIMIT_EXCEEDED` when `immediatelyExecute` is set and the requested amount would exceed the configured daily volume limit for the trade corridor. + description: Too many requests. Returned with `DAILY_VOLUME_LIMIT_EXCEEDED` when the requested amount would exceed the configured daily volume limit for the trade corridor or withdrawal currency. Sandbox stablecoin withdrawals are checked when the quote is created, not only when it is executed. content: application/json: schema: @@ -5305,6 +5305,12 @@ paths: application/json: schema: $ref: '#/components/schemas/Error404' + '429': + description: Too many requests. Returned with `DAILY_VOLUME_LIMIT_EXCEEDED` when funding the quote would exceed the configured daily volume limit for the withdrawal currency. + content: + application/json: + schema: + $ref: '#/components/schemas/Error429' '500': description: Internal service error content: diff --git a/openapi/paths/quotes/quotes.yaml b/openapi/paths/quotes/quotes.yaml index cde5a52be..650b8bcad 100644 --- a/openapi/paths/quotes/quotes.yaml +++ b/openapi/paths/quotes/quotes.yaml @@ -182,9 +182,10 @@ post: $ref: ../../components/schemas/errors/Error424.yaml '429': description: >- - Too many requests. Returned with `DAILY_VOLUME_LIMIT_EXCEEDED` when - `immediatelyExecute` is set and the requested amount would exceed the - configured daily volume limit for the trade corridor. + Too many requests. Returned with `DAILY_VOLUME_LIMIT_EXCEEDED` when the + requested amount would exceed the configured daily volume limit for the + trade corridor or withdrawal currency. Sandbox stablecoin withdrawals + are checked when the quote is created, not only when it is executed. content: application/json: schema: diff --git a/openapi/paths/sandbox/sandbox_send.yaml b/openapi/paths/sandbox/sandbox_send.yaml index af9e0750d..c53d122e1 100644 --- a/openapi/paths/sandbox/sandbox_send.yaml +++ b/openapi/paths/sandbox/sandbox_send.yaml @@ -47,6 +47,15 @@ post: application/json: schema: $ref: ../../components/schemas/errors/Error404.yaml + '429': + description: >- + Too many requests. Returned with `DAILY_VOLUME_LIMIT_EXCEEDED` when + funding the quote would exceed the configured daily volume limit for + the withdrawal currency. + content: + application/json: + schema: + $ref: ../../components/schemas/errors/Error429.yaml '500': description: Internal service error content: