-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathschema.graphql
More file actions
2587 lines (2083 loc) · 62.3 KB
/
Copy pathschema.graphql
File metadata and controls
2587 lines (2083 loc) · 62.3 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
"""Exposes a URL that specifies the behavior of this scalar."""
directive @specifiedBy(
"""The URL that specifies the behavior of this scalar."""
url: String!
) on SCALAR
directive @defer(label: String, if: Boolean! = true) on FRAGMENT_SPREAD | INLINE_FRAGMENT
interface Account {
callbackEndpoints: [CallbackEndpoint!]!
csvTransactions(walletIds: [WalletId!]!): String!
defaultWalletId: WalletId!
displayCurrency: DisplayCurrency!
id: ID!
level: AccountLevel!
limits: AccountLimits!
notificationSettings: NotificationSettings!
realtimePrice: RealtimePrice!
transactions(
"""Returns the items in the list that come after the specified cursor."""
after: String
"""Returns the items in the list that come before the specified cursor."""
before: String
"""Returns the first n items from the list."""
first: Int
"""Returns the last n items from the list."""
last: Int
walletIds: [WalletId]
): TransactionConnection
wallets: [Wallet!]!
}
type AccountCapabilities {
"""An approved bank account is on file for payouts."""
bankPayout: Boolean!
"""Business profile (name and address) on file."""
business: Boolean!
"""
USD account and routing number available (Bridge KYC approved). Orthogonal to the other capabilities.
"""
usdAccount: Boolean!
"""Phone and identity verified."""
verified: Boolean!
}
enum AccountCapability {
BANK_PAYOUT
BUSINESS
}
input AccountCapabilityUpgradeRequestInput {
address: AddressInput!
bankAccount: BankAccountInput
capability: AccountCapability!
fullName: String!
idDocument: String
terminalsRequested: Int = 0
}
type AccountCapabilityUpgradeRequestPayload {
errors: [Error]
id: String
status: String
}
type AccountDeletePayload {
errors: [Error!]!
success: Boolean!
}
input AccountDisableNotificationCategoryInput {
category: NotificationCategory!
channel: NotificationChannel
}
input AccountDisableNotificationChannelInput {
channel: NotificationChannel!
}
input AccountEnableNotificationCategoryInput {
category: NotificationCategory!
channel: NotificationChannel
}
input AccountEnableNotificationChannelInput {
channel: NotificationChannel!
}
enum AccountLevel {
ONE
THREE
TWO
ZERO
}
interface AccountLimit {
"""The rolling time interval in seconds that the limits would apply for."""
interval: Seconds
"""
The amount of cents remaining below the limit for the current 24 hour period.
"""
remainingLimit: CentAmount
"""The current maximum limit for a given 24 hour period."""
totalLimit: CentAmount!
}
type AccountLimits {
"""
Limits for converting between currencies among a account's own wallets.
"""
convert: [AccountLimit!]!
"""Limits for sending to other internal accounts."""
internalSend: [AccountLimit!]!
"""Limits for withdrawing to external onchain or lightning destinations."""
withdrawal: [AccountLimit!]!
}
"""Bank account number. Accepts String or Int and coerces to String."""
scalar AccountNumber
enum AccountStatusHeadline {
BUSINESS
TRIAL
VERIFIED
}
input AccountUpdateDefaultWalletIdInput {
walletId: WalletId!
}
type AccountUpdateDefaultWalletIdPayload {
account: ConsumerAccount
errors: [Error!]!
}
input AccountUpdateDisplayCurrencyInput {
currency: DisplayCurrency!
}
type AccountUpdateDisplayCurrencyPayload {
account: ConsumerAccount
errors: [Error!]!
}
type AccountUpdateNotificationSettingsPayload {
account: ConsumerAccount
errors: [Error!]!
}
type AccountUpgradePayload {
errors: [Error]
id: String
status: String
}
type AccountUpgradeRequest {
address: Address!
bankAccount: BankAccount
currentLevel: AccountLevel!
email: String
fullName: String!
idDocument: Boolean!
"""ERPNext document name"""
name: String!
phoneNumber: String!
requestedLevel: AccountLevel!
"""Status of the upgrade request"""
status: String!
terminalsRequested: Int!
username: String!
}
type AccountUpgradeRequestPayload {
errors: [Error]
upgradeRequest: AccountUpgradeRequest
}
type Address {
city: String!
country: String!
line1: String!
line2: String
postalCode: String
state: String!
title: String!
}
input AddressInput {
city: String!
country: String!
line1: String!
line2: String
postalCode: String
state: String!
title: String!
}
type ApiKey {
createdAt: Timestamp!
expiresAt: Timestamp
id: ID!
"""Public key identifier (the keyId in fk_<keyId>_<secret>)"""
keyId: String!
lastUsedAt: Timestamp
name: String!
"""
Per-key request rate limit (requests per minute). Null means the platform default applies.
"""
rateLimitPerMinute: Int
scopes: [ApiKeyScope!]!
"""
Effective status: keys past their expiry report EXPIRED even before the stored status catches up
"""
status: ApiKeyStatus!
}
type ApiKeyCreated {
"""The raw API key. Store it securely — it won't be shown again."""
apiKey: String!
expiresAt: Timestamp
id: ID!
"""Public key identifier (the keyId in fk_<keyId>_<secret>)"""
keyId: String!
name: String!
"""
Per-key request rate limit (requests per minute). Null means the platform default applies.
"""
rateLimitPerMinute: Int
scopes: [ApiKeyScope!]!
warning: String!
}
input ApiKeyCreateInput {
"""
Optional expiration time in seconds. If not set, the key doesn't expire.
"""
expiresIn: Int
"""A descriptive name for the API key (e.g., 'BTCPayServer Integration')"""
name: String!
"""
Optional per-key request rate limit (requests per minute, 1-10000). If not set, the platform default applies.
"""
rateLimitPerMinute: Int
"""Permission scopes for the key. Defaults to read-only user access."""
scopes: [ApiKeyScope!] = [read_user]
}
type ApiKeyCreatePayload {
apiKey: ApiKeyCreated
errors: [Error!]!
}
input ApiKeyRevokeInput {
id: ID!
}
type ApiKeyRevokePayload {
apiKey: ApiKey
errors: [Error!]!
}
input ApiKeyRotateInput {
id: ID!
}
type ApiKeyRotatePayload {
apiKey: ApiKeyCreated
errors: [Error!]!
}
"""Permission scopes for API keys (FIP-07)"""
enum ApiKeyScope {
"""Full administrative access"""
admin
"""Read transaction history"""
read_transactions
"""Read-only access to user/account data"""
read_user
"""Read wallet balances and details"""
read_wallet
"""Create transactions"""
write_transactions
"""Modify user/account data"""
write_user
"""Perform wallet operations (send/receive)"""
write_wallet
}
"""Lifecycle status of an API key (FIP-07)"""
enum ApiKeyStatus {
ACTIVE
EXPIRED
REVOKED
}
"""An Opaque Bearer token"""
scalar AuthToken
type AuthTokenPayload {
authToken: AuthToken
errors: [Error!]!
totpRequired: Boolean
}
type Bank {
name: String!
}
type BankAccount {
accountName: String
accountNumber: String!
accountType: String!
bankBranch: String!
bankName: String!
"""Account currency (e.g. JMD, USD)"""
currency: String!
"""ERPNext bank account identifier"""
id: ID
isDefault: Boolean!
"""
The account's in-flight update request when it needs the user's attention —
Pending (awaiting review) or Rejected (declined). Null once approved/closed,
or when none exists.
"""
pendingUpdate: BankAccountUpdateRequest
}
input BankAccountInput {
accountNumber: AccountNumber!
accountType: String!
bankBranch: String!
bankName: String!
currency: String!
}
"""
A pending request to change the details of an approved bank account, awaiting admin review.
"""
type BankAccountUpdateRequest {
"""Proposed new account number"""
accountNumber: String!
"""Proposed new account type"""
accountType: String!
"""Proposed new bank branch"""
bankBranch: String!
"""Proposed new bank name"""
bankName: String!
"""Account currency (unchanged from the current account)"""
currency: String!
"""Reviewer note, set when status is Rejected"""
rejectionReason: String
"""Pending | Approved | Rejected | Closed"""
status: String!
}
input BankAccountUpdateRequestInput {
accountNumber: AccountNumber!
accountType: String!
"""ERPNext identifier of the account to update"""
bankAccountId: ID!
bankBranch: String!
bankName: String!
"""Must match the account's current currency (currency is locked)"""
currency: String!
}
type BankAccountUpdateRequestPayload {
errors: [Error]
"""Status of the created request (Pending on success)"""
status: String
}
type BridgeAddExternalAccountPayload {
errors: [Error!]!
externalAccount: BridgeExternalAccountLink
}
input BridgeCancelWithdrawalRequestInput {
withdrawalId: ID!
}
type BridgeCancelWithdrawalRequestPayload {
errors: [Error!]!
withdrawal: BridgeWithdrawal
}
input BridgeCreateExternalAccountInput {
accountNumber: String!
accountOwnerName: String!
bankName: String!
checkingOrSavings: String = "checking"
city: String!
country: String!
postalCode: String!
routingNumber: String!
state: String!
streetLine1: String!
}
type BridgeCreateExternalAccountPayload {
errors: [Error!]!
externalAccount: BridgeExternalAccount
}
type BridgeCreateVirtualAccountPayload {
errors: [Error!]!
virtualAccount: BridgeVirtualAccount
}
input BridgeDeleteExternalAccountInput {
externalAccountId: ID!
}
type BridgeDeleteExternalAccountPayload {
errors: [Error!]!
externalAccount: BridgeExternalAccount
}
input BridgeExchangePlaidPublicTokenInput {
linkToken: String!
publicToken: String!
}
type BridgeExchangePlaidPublicTokenPayload {
errors: [Error!]!
message: String
}
type BridgeExternalAccount {
accountNumberLast4: String!
bankName: String!
id: ID!
isDefault: Boolean!
status: String!
}
type BridgeExternalAccountLink {
expiresAt: String!
linkToken: String!
linkUrl: String @deprecated(reason: "Use linkToken with the Plaid Link SDK. Hosted-URL linking is being retired; this field is best-effort and may be null.")
}
input BridgeInitiateKycInput {
email: String
full_name: String
type: String
}
type BridgeInitiateKycPayload {
errors: [Error!]!
kycLink: BridgeKycLink
}
input BridgeInitiateWithdrawalInput {
withdrawalId: ID!
}
type BridgeInitiateWithdrawalPayload {
errors: [Error!]!
withdrawal: BridgeWithdrawal
}
type BridgeKycLink {
kycLink: String!
tosLink: String!
}
input BridgeRequestWithdrawalInput {
amount: String!
externalAccountId: ID!
}
type BridgeRequestWithdrawalPayload {
errors: [Error!]!
withdrawal: BridgeWithdrawal
}
input BridgeSetDefaultExternalAccountInput {
externalAccountId: ID!
}
type BridgeSetDefaultExternalAccountPayload {
errors: [Error!]!
externalAccount: BridgeExternalAccount
}
type BridgeVirtualAccount {
accountNumber: String
accountNumberLast4: String
bankName: String
id: ID
kycLink: String
message: String
pending: Boolean
routingNumber: String
tosLink: String
}
type BridgeWithdrawal {
amount: String!
bridgeDeveloperFee: String
bridgeExchangeFee: String
bridgeTransferId: String
createdAt: String!
currency: String!
estimatedBridgeFee: String
estimatedBridgeFeePercent: String
estimatedCustomerFee: String
estimatedGasBuffer: String
externalAccountId: String
failureReason: String
finalAmount: String
flashFee: String
flashFeeIsEstimate: Boolean!
flashFeeNotice: String
flashFeePercent: String
id: ID!
status: String!
subtotalAmount: String
}
"""
A wallet belonging to an account which contains a BTC balance and a list of transactions.
"""
type BTCWallet implements Wallet {
accountId: ID!
"""A balance stored in BTC."""
balance: FractionalCentAmount
id: ID!
isExternal: Boolean!
lnurlp: Lnurl
"""An unconfirmed incoming onchain balance."""
pendingIncomingBalance: SignedAmount!
"""A list of BTC transactions associated with this wallet."""
transactions(
"""Returns the items in the list that come after the specified cursor."""
after: String
"""Returns the items in the list that come before the specified cursor."""
before: String
"""Returns the first n items from the list."""
first: Int
"""Returns the last n items from the list."""
last: Int
): TransactionConnection
transactionsByAddress(
"""Returns the items that include this address."""
address: OnChainAddress!
"""Returns the items in the list that come after the specified cursor."""
after: String
"""Returns the items in the list that come before the specified cursor."""
before: String
"""Returns the first n items from the list."""
first: Int
"""Returns the last n items from the list."""
last: Int
): TransactionConnection
walletCurrency: WalletCurrency!
}
type BuildInformation {
commitHash: String
helmRevision: Int
}
input BusinessAccountUpgradeRequestInput {
address: AddressInput!
bankAccount: BankAccountInput
fullName: String!
idDocument: String
level: AccountLevel!
terminalsRequested: Int = 0
}
type CallbackEndpoint {
id: EndpointId!
url: EndpointUrl!
}
input CallbackEndpointAddInput {
"""callback endpoint to be called"""
url: EndpointUrl!
}
type CallbackEndpointAddPayload {
errors: [Error!]!
id: EndpointId
}
input CallbackEndpointDeleteInput {
id: EndpointId!
}
type CaptchaCreateChallengePayload {
errors: [Error!]!
result: CaptchaCreateChallengeResult
}
type CaptchaCreateChallengeResult {
challengeCode: String!
failbackMode: Boolean!
id: String!
newCaptcha: Boolean!
}
input CaptchaRequestAuthCodeInput {
challengeCode: String!
channel: PhoneCodeChannelType
phone: Phone!
secCode: String!
validationCode: String!
}
type CashoutOffer {
"""The rate used when withdrawing to a JMD bank account"""
exchangeRate: JMDCents
"""The time at which this offer is no longer accepted by Flash"""
expiresAt: Timestamp!
"""The amount that Flash is charging for its services"""
flashFee: USDCents!
"""ID of the offer"""
offerId: ID!
"""
The amount Flash owes to the user denominated in JMD cents (null for USD payouts)
"""
receiveJmd: JMDCents
"""
The amount Flash owes to the user denominated in USD cents (null for JMD payouts)
"""
receiveUsd: USDCents
"""The amount the user is sending to flash"""
send: USDCents!
"""ID for the users USD wallet to send from"""
walletId: WalletId!
}
type CashoutRate {
"""
JMD cents per 1 USD at which a JMD cashout would settle right now — the same rate a cashout offer locks in.
"""
exchangeRate: JMDCents!
"""
Flash cashout service fee in basis points for the calling account, deducted
from the USD amount before conversion. Already net of any Fee Discount the
account is whitelisted for. The offer may still charge more than quoted: up to
1 bip from rounding when the discount is a fraction of a percent, or the full
standard fee if the Fee Discount list is unreadable at the moment the offer is built.
"""
feeBasisPoints: Int!
}
type CashWalletCutover {
completedAt: Timestamp
cutoverVersion: Int!
pauseReason: String
pausedAt: Timestamp
runId: String
scheduledAt: Timestamp
startedAt: Timestamp
state: CashWalletCutoverState!
updatedAt: Timestamp!
updatedBy: String
}
enum CashWalletCutoverState {
COMPLETE
IN_PROGRESS
PRE
ROLLED_BACK
}
"""(Positive) Cent amount (1/100 of a dollar)"""
scalar CentAmount
type CentAmountPayload {
amount: USDCents
errors: [Error!]!
invoiceAmount: USDCents
}
type ConsumerAccount implements Account {
callbackEndpoints: [CallbackEndpoint!]!
capabilities: AccountCapabilities!
"""
return CSV stream, base64 encoded, of the list of transactions in the wallet
"""
csvTransactions(walletIds: [WalletId!]!): String!
defaultWalletId: WalletId!
displayCurrency: DisplayCurrency!
id: ID!
"""
Internal account level, derived from capabilities (ENG-516). Present capabilities and statusHeadline instead of this.
"""
level: AccountLevel!
limits: AccountLimits!
notificationSettings: NotificationSettings!
"""List the quiz questions of the consumer account"""
quiz: [Quiz!]!
realtimePrice: RealtimePrice!
statusHeadline: AccountStatusHeadline!
"""
A list of all transactions associated with walletIds optionally passed.
"""
transactions(
"""Returns the items in the list that come after the specified cursor."""
after: String
"""Returns the items in the list that come before the specified cursor."""
before: String
"""Returns the first n items from the list."""
first: Int
"""Returns the last n items from the list."""
last: Int
walletIds: [WalletId]
): TransactionConnection
wallets: [Wallet!]!
}
"""
An alias name that a user can set for a wallet (with which they have transactions)
"""
scalar ContactAlias
type Coordinates {
latitude: Float!
longitude: Float!
}
type Country {
id: CountryCode!
supportedAuthChannels: [PhoneCodeChannelType!]!
}
"""A CCA2 country code (ex US, FR, etc)"""
scalar CountryCode
input CreateInviteInput {
contact: String!
method: InviteMethod!
}
type CreateInvitePayload {
errors: [String!]!
invite: Invite
}
type Currency {
flag: String!
fractionDigits: Int!
id: ID!
name: String!
symbol: String!
}
type DepositFeesInformation {
minBankFee: String!
"""below this amount minBankFee will be charged"""
minBankFeeThreshold: String!
"""ratio to charge as basis points above minBankFeeThreshold amount"""
ratio: String!
}
input DeviceNotificationTokenCreateInput {
deviceToken: String!
}
"""Display currency of an account"""
scalar DisplayCurrency
type Email {
address: EmailAddress
verified: Boolean
}
"""Email address"""
scalar EmailAddress
"""
An id to be passed between registrationInitiate and registrationValidate for confirming email
"""
scalar EmailRegistrationId
scalar EndpointId
"""Url that will be fetched on events for the account"""
scalar EndpointUrl
interface Error {
code: String
message: String!
path: [String]
}
enum ExchangeCurrencyUnit {
BTCSAT
USDCENT
}
"""Feedback shared with our user"""
scalar Feedback
input FeedbackSubmitInput {
feedback: Feedback!
}
type FeesInformation {
deposit: DepositFeesInformation!
}
"""
Cent amount (1/100 of a dollar) as a float, can be positive or negative
"""
scalar FractionalCentAmount
"""
A server-authorised card top-up. The amount is signed into the URL, so it is the only amount that can be paid through it.
"""
type FygaroCheckout {
"""
The authorised amount, echoed back so the client can display what was signed.
"""
amount: CentAmount!
"""
After this, the URL is rejected by the payment provider and a new one must be requested.
"""
expiresAt: Timestamp!
"""
Open this in the payment webview. The amount and the destination account are
signed into it and cannot be edited; it stops working at expiresAt.
"""
url: String!
}
input FygaroCheckoutCreateInput {
amount: CentAmount!
}
type FygaroCheckoutCreatePayload {
checkout: FygaroCheckout
errors: [Error!]!
"""
How much more could be authorised right now, after this request. Card top-up
links you have open but have not paid are ALREADY SUBTRACTED, so this is what
would be accepted this second — not a statement of what the account has spent
today. Present on refusal too, so the client can say how much would go through
instead of only saying no. Null when the allowance could not be established.
"""
remainingAllowance: CentAmount
}
"""
Fee parameters for Fygaro card top-ups, so the client can
compute the net amount a user will receive. Null when the operator settings
are unavailable — clients should degrade gracefully (hide the estimate).
"""
type FygaroTopupInfo {
"""Flash margin fixed fee, in USD."""
flashFeeFixed: Float!
"""Flash margin percentage fee (e.g. 2.0 = 2.0%)."""
flashFeePercent: Float!
"""
Maximum gross card top-up per rolling 24h for level-1 accounts, in USD.
"""
l1DailyLimit: Float!
"""
Maximum gross card top-up per rolling 24h for level-2 accounts, in USD.
"""
l2DailyLimit: Float!
"""
Maximum gross card top-up per rolling 24h for level-3 (Business) accounts, in USD.
"""
l3DailyLimit: Float!
"""Minimum top-up amount, in USD."""
minimumAmount: Float!
"""Payment-processor fixed fee, in USD."""
processorFeeFixed: Float!
"""Payment-processor percentage fee (e.g. 2.99 = 2.99%)."""
processorFeePercent: Float!
}
"""
Provides global settings for the application which might have an impact for the user.
"""
type Globals {
"""
Whether Bridge (international bank transfer) entry points
should be shown to the user. Controlled by the instance-wide bridge feature flag.
"""
bridgeEnabled: Boolean!
buildInformation: BuildInformation!
"""
Whether cashout (settle to local bank account) entry points
should be shown to the user. Controlled by the instance-wide cashout feature flag.
"""
cashoutEnabled: Boolean!
feesInformation: FeesInformation!
"""
Fee parameters for Fygaro card top-ups so the app can
preview the net amount a user will receive. Null when operator settings
are unavailable — the app should hide the estimate and fall back gracefully.
"""
fygaroTopup: FygaroTopupInfo
"""
The domain name for lightning addresses accepted by this Galoy instance
"""
lightningAddressDomain: String!
lightningAddressDomainAliases: [String!]!
"""
Which network (mainnet, testnet, regtest, signet) this instance is running on.
"""
network: Network!
"""
A list of public keys for the running lightning nodes.
This can be used to know if an invoice belongs to one of our nodes.
"""
nodesIds: [String!]!
"""
Whether referral-reward entry points (e.g. the "invite a
friend" home-screen card) should be shown to the user. Controlled by the
instance-wide referralReward feature flag; when false the referral payout is
disabled, so reward-promising UI must stay hidden.