From a14bb9dd27e76f021667f2ceb387661f5bffe749 Mon Sep 17 00:00:00 2001 From: kphurley7 Date: Fri, 27 Feb 2026 14:08:25 -0600 Subject: [PATCH] feat: add cryptoNetwork field to RealtimeFundingQuoteSource MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Callers depositing stablecoins (USDC, USDT) via realtime funding need to specify which network they are depositing on so the correct vault deposit address can be generated. Without this field, the server would have to guess or hardcode the network. cryptoNetwork is optional for backward compatibility — existing fiat realtime funding sources (USD, MXN, etc.) are unaffected. Co-Authored-By: Claude Sonnet 4.6 (1M context) --- mintlify/openapi.yaml | 4 ++++ openapi.yaml | 4 ++++ .../schemas/quotes/RealtimeFundingQuoteSource.yaml | 8 ++++++++ 3 files changed, 16 insertions(+) diff --git a/mintlify/openapi.yaml b/mintlify/openapi.yaml index 0ead8c30..51a41926 100644 --- a/mintlify/openapi.yaml +++ b/mintlify/openapi.yaml @@ -7751,6 +7751,10 @@ components: type: string description: Currency code for the funding source. See [Supported Currencies](https://grid.lightspark.com/platform-overview/core-concepts/currencies-and-rails) for the full list of supported fiat and crypto currencies. example: USD + cryptoNetwork: + type: string + description: 'The crypto network to use for the funding source. Required when `currency` is a stablecoin (e.g. USDC, USDT). Specifies which network the customer will deposit on, so the correct deposit address can be generated. Example values: `SOLANA_MAINNET`, `SOLANA_DEVNET`, `ETHEREUM_MAINNET`.' + example: SOLANA_MAINNET description: Fund the quote using a real-time funding source (RTP, SEPA Instant, Spark, Stables, etc.). This will require manual just-in-time funding using `paymentInstructions` in the response. Because quotes expire quickly, this option is only valid for instant payment methods. Do not try to fund a quote with a non-instant payment method (ACH, etc.). QuoteSourceOneOf: oneOf: diff --git a/openapi.yaml b/openapi.yaml index 0ead8c30..51a41926 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -7751,6 +7751,10 @@ components: type: string description: Currency code for the funding source. See [Supported Currencies](https://grid.lightspark.com/platform-overview/core-concepts/currencies-and-rails) for the full list of supported fiat and crypto currencies. example: USD + cryptoNetwork: + type: string + description: 'The crypto network to use for the funding source. Required when `currency` is a stablecoin (e.g. USDC, USDT). Specifies which network the customer will deposit on, so the correct deposit address can be generated. Example values: `SOLANA_MAINNET`, `SOLANA_DEVNET`, `ETHEREUM_MAINNET`.' + example: SOLANA_MAINNET description: Fund the quote using a real-time funding source (RTP, SEPA Instant, Spark, Stables, etc.). This will require manual just-in-time funding using `paymentInstructions` in the response. Because quotes expire quickly, this option is only valid for instant payment methods. Do not try to fund a quote with a non-instant payment method (ACH, etc.). QuoteSourceOneOf: oneOf: diff --git a/openapi/components/schemas/quotes/RealtimeFundingQuoteSource.yaml b/openapi/components/schemas/quotes/RealtimeFundingQuoteSource.yaml index 4d5d7da7..075afb75 100644 --- a/openapi/components/schemas/quotes/RealtimeFundingQuoteSource.yaml +++ b/openapi/components/schemas/quotes/RealtimeFundingQuoteSource.yaml @@ -23,6 +23,14 @@ allOf: [Supported Currencies](https://grid.lightspark.com/platform-overview/core-concepts/currencies-and-rails) for the full list of supported fiat and crypto currencies. example: USD + cryptoNetwork: + type: string + description: >- + The crypto network to use for the funding source. Required when `currency` is a + stablecoin (e.g. USDC, USDT). Specifies which network the customer will deposit + on, so the correct deposit address can be generated. Example values: + `SOLANA_MAINNET`, `SOLANA_DEVNET`, `ETHEREUM_MAINNET`. + example: SOLANA_MAINNET description: >- Fund the quote using a real-time funding source (RTP, SEPA Instant, Spark, Stables, etc.). This will require manual just-in-time funding using `paymentInstructions` in the response.