Skip to content
Closed
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
4 changes: 4 additions & 0 deletions mintlify/openapi.yaml

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

4 changes: 4 additions & 0 deletions openapi.yaml

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

Original file line number Diff line number Diff line change
Expand Up @@ -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. Note that sandbox platforms cannot use
MAINNET networks.
example: SOLANA_MAINNET
Comment on lines +26 to +33
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check that documentation examples using REALTIME_FUNDING with stablecoins include cryptoNetwork:

  • mintlify/snippets/sending/cross-currency.mdx (line 174-178)
  • mintlify/global-p2p/quickstart.mdx (line 145-149)

Both use "currency": "USDC" without cryptoNetwork, which the description states is required for stablecoins.

Prompt To Fix With AI
This is a comment left during a code review.
Path: openapi/components/schemas/quotes/RealtimeFundingQuoteSource.yaml
Line: 26-33

Comment:
Check that documentation examples using `REALTIME_FUNDING` with stablecoins include `cryptoNetwork`:
- `mintlify/snippets/sending/cross-currency.mdx` (line 174-178)
- `mintlify/global-p2p/quickstart.mdx` (line 145-149)

Both use `"currency": "USDC"` without `cryptoNetwork`, which the description states is required for stablecoins.

How can I resolve this? If you propose a fix, please make it concise.

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.
Expand Down