-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathRealtimeFundingQuoteSource.yaml
More file actions
37 lines (37 loc) · 1.6 KB
/
RealtimeFundingQuoteSource.yaml
File metadata and controls
37 lines (37 loc) · 1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
title: Real-time Funding
allOf:
- $ref: ./BaseQuoteSource.yaml
- type: object
required:
- currency
- sourceType
properties:
sourceType:
type: string
enum:
- REALTIME_FUNDING
customerId:
type: string
description: >-
Source customer ID. If this transaction is being initiated on behalf of a customer, this is required.
If customerId is not provided, the quote will be created on behalf of the platform itself.
example: Customer:019542f5-b3e7-1d02-0000-000000000009
currency:
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:
allOf:
- $ref: ../crypto/CryptoNetwork.yaml
- 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.
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.).