From 26b350b8d30d3e679f2147c3606002f1b97a5ed9 Mon Sep 17 00:00:00 2001 From: shreyav Date: Wed, 29 Apr 2026 21:32:03 -0700 Subject: [PATCH] Update cryptoNetwork values --- mintlify/openapi.yaml | 10 +++++----- openapi.yaml | 10 +++++----- .../crypto/EstimateCryptoWithdrawalFeeRequest.yaml | 8 +++----- .../schemas/quotes/RealtimeFundingQuoteSource.yaml | 6 ++---- .../paths/crypto/crypto_estimate-withdrawal-fee.yaml | 2 +- 5 files changed, 16 insertions(+), 20 deletions(-) diff --git a/mintlify/openapi.yaml b/mintlify/openapi.yaml index eca20ec0..89b941c8 100644 --- a/mintlify/openapi.yaml +++ b/mintlify/openapi.yaml @@ -2774,7 +2774,7 @@ paths: value: internalAccountId: InternalAccount:a12dcbd6-dced-4ec4-b756-3c3a9ea3d123 currency: USDC - cryptoNetwork: SOLANA_MAINNET + cryptoNetwork: SOLANA amount: 1000000 destinationAddress: 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU responses: @@ -12942,8 +12942,8 @@ components: 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`, `ETHEREUM_TESTNET`, `BASE_MAINNET`, `BASE_TESTNET`, `SPARK_MAINNET`, `SPARK_TESTNET`, `LIGHTNING_MAINNET`, `LIGHTNING_REGTEST`.' - example: SOLANA_MAINNET + 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`, `ETHEREUM`, `BASE`, `POLYGON`, `SPARK`, `LIGHTNING`, `BITCOIN`.' + example: SOLANA 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: @@ -13249,8 +13249,8 @@ components: example: USDC cryptoNetwork: type: string - description: 'The blockchain network for the withdrawal. Example values: SOLANA_MAINNET, SOLANA_DEVNET, ETHEREUM_MAINNET, ETHEREUM_TESTNET, BASE_MAINNET, BASE_TESTNET, SPARK_MAINNET, SPARK_TESTNET, LIGHTNING_MAINNET, LIGHTNING_REGTEST.' - example: SOLANA_MAINNET + description: 'The blockchain network for the withdrawal. Example values: SOLANA, ETHEREUM, BASE, POLYGON, SPARK, LIGHTNING, BITCOIN.' + example: SOLANA amount: type: integer description: The amount to withdraw in the smallest unit of the currency. diff --git a/openapi.yaml b/openapi.yaml index eca20ec0..89b941c8 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -2774,7 +2774,7 @@ paths: value: internalAccountId: InternalAccount:a12dcbd6-dced-4ec4-b756-3c3a9ea3d123 currency: USDC - cryptoNetwork: SOLANA_MAINNET + cryptoNetwork: SOLANA amount: 1000000 destinationAddress: 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU responses: @@ -12942,8 +12942,8 @@ components: 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`, `ETHEREUM_TESTNET`, `BASE_MAINNET`, `BASE_TESTNET`, `SPARK_MAINNET`, `SPARK_TESTNET`, `LIGHTNING_MAINNET`, `LIGHTNING_REGTEST`.' - example: SOLANA_MAINNET + 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`, `ETHEREUM`, `BASE`, `POLYGON`, `SPARK`, `LIGHTNING`, `BITCOIN`.' + example: SOLANA 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: @@ -13249,8 +13249,8 @@ components: example: USDC cryptoNetwork: type: string - description: 'The blockchain network for the withdrawal. Example values: SOLANA_MAINNET, SOLANA_DEVNET, ETHEREUM_MAINNET, ETHEREUM_TESTNET, BASE_MAINNET, BASE_TESTNET, SPARK_MAINNET, SPARK_TESTNET, LIGHTNING_MAINNET, LIGHTNING_REGTEST.' - example: SOLANA_MAINNET + description: 'The blockchain network for the withdrawal. Example values: SOLANA, ETHEREUM, BASE, POLYGON, SPARK, LIGHTNING, BITCOIN.' + example: SOLANA amount: type: integer description: The amount to withdraw in the smallest unit of the currency. diff --git a/openapi/components/schemas/crypto/EstimateCryptoWithdrawalFeeRequest.yaml b/openapi/components/schemas/crypto/EstimateCryptoWithdrawalFeeRequest.yaml index 18a8a322..bb7377bc 100644 --- a/openapi/components/schemas/crypto/EstimateCryptoWithdrawalFeeRequest.yaml +++ b/openapi/components/schemas/crypto/EstimateCryptoWithdrawalFeeRequest.yaml @@ -17,11 +17,9 @@ properties: cryptoNetwork: type: string description: >- - The blockchain network for the withdrawal. Example values: SOLANA_MAINNET, - SOLANA_DEVNET, ETHEREUM_MAINNET, ETHEREUM_TESTNET, BASE_MAINNET, - BASE_TESTNET, SPARK_MAINNET, SPARK_TESTNET, LIGHTNING_MAINNET, - LIGHTNING_REGTEST. - example: SOLANA_MAINNET + The blockchain network for the withdrawal. Example values: SOLANA, + ETHEREUM, BASE, POLYGON, SPARK, LIGHTNING, BITCOIN. + example: SOLANA amount: type: integer description: The amount to withdraw in the smallest unit of the currency. diff --git a/openapi/components/schemas/quotes/RealtimeFundingQuoteSource.yaml b/openapi/components/schemas/quotes/RealtimeFundingQuoteSource.yaml index 3ae205b2..3b23d388 100644 --- a/openapi/components/schemas/quotes/RealtimeFundingQuoteSource.yaml +++ b/openapi/components/schemas/quotes/RealtimeFundingQuoteSource.yaml @@ -29,10 +29,8 @@ allOf: 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`, `ETHEREUM_TESTNET`, - `BASE_MAINNET`, `BASE_TESTNET`, `SPARK_MAINNET`, `SPARK_TESTNET`, - `LIGHTNING_MAINNET`, `LIGHTNING_REGTEST`. - example: SOLANA_MAINNET + `SOLANA`, `ETHEREUM`, `BASE`, `POLYGON`, `SPARK`, `LIGHTNING`, `BITCOIN`. + example: SOLANA 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. diff --git a/openapi/paths/crypto/crypto_estimate-withdrawal-fee.yaml b/openapi/paths/crypto/crypto_estimate-withdrawal-fee.yaml index 8227bac8..2583e86e 100644 --- a/openapi/paths/crypto/crypto_estimate-withdrawal-fee.yaml +++ b/openapi/paths/crypto/crypto_estimate-withdrawal-fee.yaml @@ -21,7 +21,7 @@ post: value: internalAccountId: InternalAccount:a12dcbd6-dced-4ec4-b756-3c3a9ea3d123 currency: USDC - cryptoNetwork: SOLANA_MAINNET + cryptoNetwork: SOLANA amount: 1000000 destinationAddress: 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU responses: