Flash API Documentation
-Documentation for Flash's GraphQL API
-Terms of Service
- -API Endpoints
-https://api.flashapp.me/graphql
- Version
-1.0.0
-Queries
-
- accountDefaultWallet
-
- Response
- Returns a PublicWallet!
-
Arguments
-| Name | -Description | -
|---|---|
- username - Username!
- |
- - | -
- walletCurrency - WalletCurrency
- |
- - | -
Example
-Query
-query AccountDefaultWallet(
- $username: Username!,
- $walletCurrency: WalletCurrency
-) {
- accountDefaultWallet(
- username: $username,
- walletCurrency: $walletCurrency
- ) {
- id
- lnurlp
- walletCurrency
- }
-}
-
- Variables
-{"username": Username, "walletCurrency": "BTC"}
-
- Response
-{
- "data": {
- "accountDefaultWallet": {
- "id": "4",
- "lnurlp": Lnurl,
- "walletCurrency": "BTC"
- }
- }
-}
-
-
- bridgeExternalAccounts
-
- Response
- Returns [BridgeExternalAccount]
-
Example
-Query
-query BridgeExternalAccounts {
- bridgeExternalAccounts {
- accountNumberLast4
- bankName
- id
- isDefault
- status
- }
-}
-
- Response
-{
- "data": {
- "bridgeExternalAccounts": [
- {
- "accountNumberLast4": "abc123",
- "bankName": "abc123",
- "id": "4",
- "isDefault": false,
- "status": "xyz789"
- }
- ]
- }
-}
-
-
- bridgeKycStatus
-
- Response
- Returns a String
-
Example
-Query
-query BridgeKycStatus {
- bridgeKycStatus
-}
-
- Response
-{"data": {"bridgeKycStatus": "abc123"}}
-
-
- bridgeVirtualAccount
-
- Response
- Returns a BridgeVirtualAccount
-
Example
-Query
-query BridgeVirtualAccount {
- bridgeVirtualAccount {
- accountNumber
- accountNumberLast4
- bankName
- id
- kycLink
- message
- pending
- routingNumber
- tosLink
- }
-}
-
- Response
-{
- "data": {
- "bridgeVirtualAccount": {
- "accountNumber": "xyz789",
- "accountNumberLast4": "abc123",
- "bankName": "xyz789",
- "id": "4",
- "kycLink": "xyz789",
- "message": "abc123",
- "pending": true,
- "routingNumber": "abc123",
- "tosLink": "xyz789"
- }
- }
-}
-
-
- bridgeWithdrawalRequest
-
- Response
- Returns a BridgeWithdrawal
-
Arguments
-| Name | -Description | -
|---|---|
- id - ID!
- |
- - | -
Example
-Query
-query BridgeWithdrawalRequest($id: ID!) {
- bridgeWithdrawalRequest(id: $id) {
- amount
- bridgeDeveloperFee
- bridgeExchangeFee
- bridgeTransferId
- createdAt
- currency
- estimatedBridgeFee
- estimatedBridgeFeePercent
- estimatedCustomerFee
- estimatedGasBuffer
- externalAccountId
- failureReason
- finalAmount
- flashFee
- flashFeeIsEstimate
- flashFeeNotice
- flashFeePercent
- id
- status
- subtotalAmount
- }
-}
-
- Variables
-{"id": "4"}
-
- Response
-{
- "data": {
- "bridgeWithdrawalRequest": {
- "amount": "xyz789",
- "bridgeDeveloperFee": "xyz789",
- "bridgeExchangeFee": "abc123",
- "bridgeTransferId": "abc123",
- "createdAt": "xyz789",
- "currency": "abc123",
- "estimatedBridgeFee": "xyz789",
- "estimatedBridgeFeePercent": "xyz789",
- "estimatedCustomerFee": "xyz789",
- "estimatedGasBuffer": "abc123",
- "externalAccountId": "abc123",
- "failureReason": "abc123",
- "finalAmount": "abc123",
- "flashFee": "xyz789",
- "flashFeeIsEstimate": false,
- "flashFeeNotice": "xyz789",
- "flashFeePercent": "xyz789",
- "id": 4,
- "status": "abc123",
- "subtotalAmount": "abc123"
- }
- }
-}
-
-
- bridgeWithdrawals
-
- Response
- Returns [BridgeWithdrawal]
-
Example
-Query
-query BridgeWithdrawals {
- bridgeWithdrawals {
- amount
- bridgeDeveloperFee
- bridgeExchangeFee
- bridgeTransferId
- createdAt
- currency
- estimatedBridgeFee
- estimatedBridgeFeePercent
- estimatedCustomerFee
- estimatedGasBuffer
- externalAccountId
- failureReason
- finalAmount
- flashFee
- flashFeeIsEstimate
- flashFeeNotice
- flashFeePercent
- id
- status
- subtotalAmount
- }
-}
-
- Response
-{
- "data": {
- "bridgeWithdrawals": [
- {
- "amount": "xyz789",
- "bridgeDeveloperFee": "abc123",
- "bridgeExchangeFee": "abc123",
- "bridgeTransferId": "abc123",
- "createdAt": "xyz789",
- "currency": "xyz789",
- "estimatedBridgeFee": "xyz789",
- "estimatedBridgeFeePercent": "abc123",
- "estimatedCustomerFee": "xyz789",
- "estimatedGasBuffer": "abc123",
- "externalAccountId": "xyz789",
- "failureReason": "xyz789",
- "finalAmount": "abc123",
- "flashFee": "abc123",
- "flashFeeIsEstimate": true,
- "flashFeeNotice": "xyz789",
- "flashFeePercent": "abc123",
- "id": 4,
- "status": "xyz789",
- "subtotalAmount": "xyz789"
- }
- ]
- }
-}
-
-
- btcPrice
-
- Response
- Returns a Price
-
Arguments
-| Name | -Description | -
|---|---|
- currency - DisplayCurrency!
- |
- Default = "USD" |
-
Example
-Query
-query BtcPrice($currency: DisplayCurrency!) {
- btcPrice(currency: $currency) {
- base
- currencyUnit
- formattedAmount
- offset
- }
-}
-
- Variables
-{"currency": "USD"}
-
- Response
-{
- "data": {
- "btcPrice": {
- "base": 9007199254740991,
- "currencyUnit": "xyz789",
- "formattedAmount": "xyz789",
- "offset": 987
- }
- }
-}
-
-
- btcPriceList
-
- Response
- Returns [PricePoint]
-
Arguments
-| Name | -Description | -
|---|---|
- range - PriceGraphRange!
- |
- - | -
Example
-Query
-query BtcPriceList($range: PriceGraphRange!) {
- btcPriceList(range: $range) {
- price {
- base
- currencyUnit
- formattedAmount
- offset
- }
- timestamp
- }
-}
-
- Variables
-{"range": "FIVE_YEARS"}
-
- Response
-{
- "data": {
- "btcPriceList": [
- {"price": Price, "timestamp": 1592577642}
- ]
- }
-}
-
-
- businessMapMarkers
-
- Response
- Returns [MapMarker!]!
-
Example
-Query
-query BusinessMapMarkers {
- businessMapMarkers {
- mapInfo {
- coordinates {
- ...CoordinatesFragment
- }
- title
- }
- username
- }
-}
-
- Response
-{
- "data": {
- "businessMapMarkers": [
- {
- "mapInfo": MapInfo,
- "username": Username
- }
- ]
- }
-}
-
-
- cashWalletCutover
-
- Response
- Returns a CashWalletCutover!
-
Example
-Query
-query CashWalletCutover {
- cashWalletCutover {
- completedAt
- cutoverVersion
- pauseReason
- pausedAt
- runId
- scheduledAt
- startedAt
- state
- updatedAt
- updatedBy
- }
-}
-
- Response
-{
- "data": {
- "cashWalletCutover": {
- "completedAt": 1592577642,
- "cutoverVersion": 987,
- "pauseReason": "xyz789",
- "pausedAt": 1592577642,
- "runId": "abc123",
- "scheduledAt": 1592577642,
- "startedAt": 1592577642,
- "state": "COMPLETE",
- "updatedAt": 1592577642,
- "updatedBy": "xyz789"
- }
- }
-}
-
-
- currencyList
-
- Response
- Returns [Currency!]!
-
Example
-Query
-query CurrencyList {
- currencyList {
- flag
- fractionDigits
- id
- name
- symbol
- }
-}
-
- Response
-{
- "data": {
- "currencyList": [
- {
- "flag": "abc123",
- "fractionDigits": 123,
- "id": "4",
- "name": "abc123",
- "symbol": "xyz789"
- }
- ]
- }
-}
-
-
- globals
-
- Response
- Returns a Globals
-
Example
-Query
-query Globals {
- globals {
- bridgeEnabled
- buildInformation {
- commitHash
- helmRevision
- }
- cashoutEnabled
- feesInformation {
- deposit {
- ...DepositFeesInformationFragment
- }
- }
- lightningAddressDomain
- lightningAddressDomainAliases
- network
- nodesIds
- supportedCountries {
- id
- supportedAuthChannels
- }
- topupEnabled
- }
-}
-
- Response
-{
- "data": {
- "globals": {
- "bridgeEnabled": true,
- "buildInformation": BuildInformation,
- "cashoutEnabled": false,
- "feesInformation": FeesInformation,
- "lightningAddressDomain": "abc123",
- "lightningAddressDomainAliases": [
- "abc123"
- ],
- "network": "mainnet",
- "nodesIds": ["xyz789"],
- "supportedCountries": [Country],
- "topupEnabled": true
- }
- }
-}
-
-
- isFlashNpub
-
- Response
- Returns an IsFlashNpubPayload
-
Arguments
-| Name | -Description | -
|---|---|
- input - IsFlashNpubInput!
- |
- - | -
Example
-Query
-query IsFlashNpub($input: IsFlashNpubInput!) {
- isFlashNpub(input: $input) {
- errors {
- code
- message
- path
- }
- isFlashNpub
- }
-}
-
- Variables
-{"input": IsFlashNpubInput}
-
- Response
-{
- "data": {
- "isFlashNpub": {
- "errors": [Error],
- "isFlashNpub": true
- }
- }
-}
-
-
- latestAccountUpgradeRequest
-
- Response
- Returns an AccountUpgradeRequestPayload!
-
Example
-Query
-query LatestAccountUpgradeRequest {
- latestAccountUpgradeRequest {
- errors {
- code
- message
- path
- }
- upgradeRequest {
- address {
- ...AddressFragment
- }
- bankAccount {
- ...BankAccountFragment
- }
- currentLevel
- email
- fullName
- idDocument
- name
- phoneNumber
- requestedLevel
- status
- terminalsRequested
- username
- }
- }
-}
-
- Response
-{
- "data": {
- "latestAccountUpgradeRequest": {
- "errors": [Error],
- "upgradeRequest": AccountUpgradeRequest
- }
- }
-}
-
-
- lnInvoicePaymentStatus
-
- Response
- Returns a LnInvoicePaymentStatusPayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - LnInvoicePaymentStatusInput!
- |
- - | -
Example
-Query
-query LnInvoicePaymentStatus($input: LnInvoicePaymentStatusInput!) {
- lnInvoicePaymentStatus(input: $input) {
- errors {
- code
- message
- path
- }
- status
- }
-}
-
- Variables
-{"input": LnInvoicePaymentStatusInput}
-
- Response
-{
- "data": {
- "lnInvoicePaymentStatus": {
- "errors": [Error],
- "status": "EXPIRED"
- }
- }
-}
-
-
- me
-
- Response
- Returns a User
-
Example
-Query
-query Me {
- me {
- bankAccounts {
- accountName
- accountNumber
- accountType
- bankBranch
- bankName
- currency
- id
- isDefault
- }
- contactByUsername {
- alias
- id
- transactions {
- ...TransactionConnectionFragment
- }
- transactionsCount
- username
- }
- contacts {
- alias
- id
- transactions {
- ...TransactionConnectionFragment
- }
- transactionsCount
- username
- }
- createdAt
- defaultAccount {
- callbackEndpoints {
- ...CallbackEndpointFragment
- }
- csvTransactions
- defaultWalletId
- displayCurrency
- id
- level
- limits {
- ...AccountLimitsFragment
- }
- notificationSettings {
- ...NotificationSettingsFragment
- }
- realtimePrice {
- ...RealtimePriceFragment
- }
- transactions {
- ...TransactionConnectionFragment
- }
- wallets {
- ...WalletFragment
- }
- }
- email {
- address
- verified
- }
- id
- language
- npub
- phone
- quizQuestions {
- completed
- question {
- ...QuizQuestionFragment
- }
- }
- totpEnabled
- username
- }
-}
-
- Response
-{
- "data": {
- "me": {
- "bankAccounts": [BankAccount],
- "contactByUsername": UserContact,
- "contacts": [UserContact],
- "createdAt": 1592577642,
- "defaultAccount": Account,
- "email": Email,
- "id": 4,
- "language": Language,
- "npub": npub,
- "phone": Phone,
- "quizQuestions": [UserQuizQuestion],
- "totpEnabled": true,
- "username": Username
- }
- }
-}
-
-
- mobileVersions
-
- Response
- Returns [MobileVersions]
-
Example
-Query
-query MobileVersions {
- mobileVersions {
- currentSupported
- minSupported
- platform
- }
-}
-
- Response
-{
- "data": {
- "mobileVersions": [
- {
- "currentSupported": 123,
- "minSupported": 123,
- "platform": "abc123"
- }
- ]
- }
-}
-
-
- npubByUsername
-
- Response
- Returns a npubByUsername
-
Arguments
-| Name | -Description | -
|---|---|
- username - Username!
- |
- - | -
Example
-Query
-query NpubByUsername($username: Username!) {
- npubByUsername(username: $username) {
- npub
- username
- }
-}
-
- Variables
-{"username": Username}
-
- Response
-{
- "data": {
- "npubByUsername": {
- "npub": npub,
- "username": Username
- }
- }
-}
-
-
- onChainTxFee
-
- Response
- Returns an OnChainTxFee!
-
Arguments
-| Name | -Description | -
|---|---|
- address - OnChainAddress!
- |
- - | -
- amount - SatAmount!
- |
- - | -
- speed - PayoutSpeed
- |
- Default = FAST |
-
- walletId - WalletId!
- |
- - | -
Example
-Query
-query OnChainTxFee(
- $address: OnChainAddress!,
- $amount: SatAmount!,
- $speed: PayoutSpeed,
- $walletId: WalletId!
-) {
- onChainTxFee(
- address: $address,
- amount: $amount,
- speed: $speed,
- walletId: $walletId
- ) {
- amount
- }
-}
-
- Variables
-{
- "address": OnChainAddress,
- "amount": SatAmount,
- "speed": "FAST",
- "walletId": WalletId
-}
-
- Response
-{"data": {"onChainTxFee": {"amount": SatAmount}}}
-
-
- onChainUsdTxFee
-
- Response
- Returns an OnChainUsdTxFee!
-
Arguments
-| Name | -Description | -
|---|---|
- address - OnChainAddress!
- |
- - | -
- amount - FractionalCentAmount!
- |
- - | -
- speed - PayoutSpeed
- |
- Default = FAST |
-
- walletId - WalletId!
- |
- - | -
Example
-Query
-query OnChainUsdTxFee(
- $address: OnChainAddress!,
- $amount: FractionalCentAmount!,
- $speed: PayoutSpeed,
- $walletId: WalletId!
-) {
- onChainUsdTxFee(
- address: $address,
- amount: $amount,
- speed: $speed,
- walletId: $walletId
- ) {
- amount
- }
-}
-
- Variables
-{
- "address": OnChainAddress,
- "amount": FractionalCentAmount,
- "speed": "FAST",
- "walletId": WalletId
-}
-
- Response
-{
- "data": {
- "onChainUsdTxFee": {"amount": FractionalCentAmount}
- }
-}
-
-
- onChainUsdTxFeeAsBtcDenominated
-
- Response
- Returns an OnChainUsdTxFee!
-
Arguments
-| Name | -Description | -
|---|---|
- address - OnChainAddress!
- |
- - | -
- amount - SatAmount!
- |
- - | -
- speed - PayoutSpeed
- |
- Default = FAST |
-
- walletId - WalletId!
- |
- - | -
Example
-Query
-query OnChainUsdTxFeeAsBtcDenominated(
- $address: OnChainAddress!,
- $amount: SatAmount!,
- $speed: PayoutSpeed,
- $walletId: WalletId!
-) {
- onChainUsdTxFeeAsBtcDenominated(
- address: $address,
- amount: $amount,
- speed: $speed,
- walletId: $walletId
- ) {
- amount
- }
-}
-
- Variables
-{
- "address": OnChainAddress,
- "amount": SatAmount,
- "speed": "FAST",
- "walletId": WalletId
-}
-
- Response
-{
- "data": {
- "onChainUsdTxFeeAsBtcDenominated": {
- "amount": FractionalCentAmount
- }
- }
-}
-
-
- quizQuestions
-
- Response
- Returns [QuizQuestion]
-
Example
-Query
-query QuizQuestions {
- quizQuestions {
- earnAmount
- id
- }
-}
-
- Response
-{
- "data": {
- "quizQuestions": [
- {
- "earnAmount": SatAmount,
- "id": "4"
- }
- ]
- }
-}
-
-
- realtimePrice
-
- Description
-Returns 1 Sat and 1 Usd Cent price for the given currency
-Response
- Returns a RealtimePrice!
-
Arguments
-| Name | -Description | -
|---|---|
- currency - DisplayCurrency
- |
- Default = "USD" |
-
Example
-Query
-query RealtimePrice($currency: DisplayCurrency) {
- realtimePrice(currency: $currency) {
- btcSatPrice {
- base
- currencyUnit
- offset
- }
- denominatorCurrency
- id
- timestamp
- usdCentPrice {
- base
- currencyUnit
- offset
- }
- }
-}
-
- Variables
-{"currency": "USD"}
-
- Response
-{
- "data": {
- "realtimePrice": {
- "btcSatPrice": PriceOfOneSatInMinorUnit,
- "denominatorCurrency": DisplayCurrency,
- "id": 4,
- "timestamp": 1592577642,
- "usdCentPrice": PriceOfOneUsdCentInMinorUnit
- }
- }
-}
-
-
- supportedBanks
-
- Response
- Returns [Bank!]!
-
Example
-Query
-query SupportedBanks {
- supportedBanks {
- name
- }
-}
-
- Response
-{
- "data": {
- "supportedBanks": [{"name": "xyz789"}]
- }
-}
-
-
- transactionDetails
-
- Response
- Returns a TransactionDetailsPayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - TransactionDetailsInput!
- |
- - | -
Example
-Query
-query TransactionDetails($input: TransactionDetailsInput!) {
- transactionDetails(input: $input) {
- errors {
- message
- }
- transactionDetails {
- accountId
- address
- amount
- confirmations
- createdAt
- currency
- fee
- id
- invoice
- memo
- paymentHash
- paymentPreimage
- status
- txid
- type
- updatedAt
- vout
- }
- }
-}
-
- Variables
-{"input": TransactionDetailsInput}
-
- Response
-{
- "data": {
- "transactionDetails": {
- "errors": [TransactionDetailsError],
- "transactionDetails": TransactionDetails
- }
- }
-}
-
-
- userDefaultWalletId
-
- Response
- Returns a WalletId!
-
Arguments
-| Name | -Description | -
|---|---|
- username - Username!
- |
- - | -
Example
-Query
-query UserDefaultWalletId($username: Username!) {
- userDefaultWalletId(username: $username)
-}
-
- Variables
-{"username": Username}
-
- Response
-{"data": {"userDefaultWalletId": WalletId}}
-
-
- usernameAvailable
-
- Response
- Returns a Boolean
-
Arguments
-| Name | -Description | -
|---|---|
- username - Username!
- |
- - | -
Example
-Query
-query UsernameAvailable($username: Username!) {
- usernameAvailable(username: $username)
-}
-
- Variables
-{"username": Username}
-
- Response
-{"data": {"usernameAvailable": true}}
-
- Mutations
-
- accountDelete
-
- Response
- Returns an AccountDeletePayload!
-
Example
-Query
-mutation AccountDelete {
- accountDelete {
- errors {
- code
- message
- path
- }
- success
- }
-}
-
- Response
-{
- "data": {
- "accountDelete": {"errors": [Error], "success": false}
- }
-}
-
-
- accountDisableNotificationCategory
-
- Response
- Returns an AccountUpdateNotificationSettingsPayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - AccountDisableNotificationCategoryInput!
- |
- - | -
Example
-Query
-mutation AccountDisableNotificationCategory($input: AccountDisableNotificationCategoryInput!) {
- accountDisableNotificationCategory(input: $input) {
- account {
- callbackEndpoints {
- ...CallbackEndpointFragment
- }
- csvTransactions
- defaultWalletId
- displayCurrency
- id
- level
- limits {
- ...AccountLimitsFragment
- }
- notificationSettings {
- ...NotificationSettingsFragment
- }
- quiz {
- ...QuizFragment
- }
- realtimePrice {
- ...RealtimePriceFragment
- }
- transactions {
- ...TransactionConnectionFragment
- }
- wallets {
- ...WalletFragment
- }
- }
- errors {
- code
- message
- path
- }
- }
-}
-
- Variables
-{"input": AccountDisableNotificationCategoryInput}
-
- Response
-{
- "data": {
- "accountDisableNotificationCategory": {
- "account": ConsumerAccount,
- "errors": [Error]
- }
- }
-}
-
-
- accountDisableNotificationChannel
-
- Response
- Returns an AccountUpdateNotificationSettingsPayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - AccountDisableNotificationChannelInput!
- |
- - | -
Example
-Query
-mutation AccountDisableNotificationChannel($input: AccountDisableNotificationChannelInput!) {
- accountDisableNotificationChannel(input: $input) {
- account {
- callbackEndpoints {
- ...CallbackEndpointFragment
- }
- csvTransactions
- defaultWalletId
- displayCurrency
- id
- level
- limits {
- ...AccountLimitsFragment
- }
- notificationSettings {
- ...NotificationSettingsFragment
- }
- quiz {
- ...QuizFragment
- }
- realtimePrice {
- ...RealtimePriceFragment
- }
- transactions {
- ...TransactionConnectionFragment
- }
- wallets {
- ...WalletFragment
- }
- }
- errors {
- code
- message
- path
- }
- }
-}
-
- Variables
-{"input": AccountDisableNotificationChannelInput}
-
- Response
-{
- "data": {
- "accountDisableNotificationChannel": {
- "account": ConsumerAccount,
- "errors": [Error]
- }
- }
-}
-
-
- accountEnableNotificationCategory
-
- Response
- Returns an AccountUpdateNotificationSettingsPayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - AccountEnableNotificationCategoryInput!
- |
- - | -
Example
-Query
-mutation AccountEnableNotificationCategory($input: AccountEnableNotificationCategoryInput!) {
- accountEnableNotificationCategory(input: $input) {
- account {
- callbackEndpoints {
- ...CallbackEndpointFragment
- }
- csvTransactions
- defaultWalletId
- displayCurrency
- id
- level
- limits {
- ...AccountLimitsFragment
- }
- notificationSettings {
- ...NotificationSettingsFragment
- }
- quiz {
- ...QuizFragment
- }
- realtimePrice {
- ...RealtimePriceFragment
- }
- transactions {
- ...TransactionConnectionFragment
- }
- wallets {
- ...WalletFragment
- }
- }
- errors {
- code
- message
- path
- }
- }
-}
-
- Variables
-{"input": AccountEnableNotificationCategoryInput}
-
- Response
-{
- "data": {
- "accountEnableNotificationCategory": {
- "account": ConsumerAccount,
- "errors": [Error]
- }
- }
-}
-
-
- accountEnableNotificationChannel
-
- Response
- Returns an AccountUpdateNotificationSettingsPayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - AccountEnableNotificationChannelInput!
- |
- - | -
Example
-Query
-mutation AccountEnableNotificationChannel($input: AccountEnableNotificationChannelInput!) {
- accountEnableNotificationChannel(input: $input) {
- account {
- callbackEndpoints {
- ...CallbackEndpointFragment
- }
- csvTransactions
- defaultWalletId
- displayCurrency
- id
- level
- limits {
- ...AccountLimitsFragment
- }
- notificationSettings {
- ...NotificationSettingsFragment
- }
- quiz {
- ...QuizFragment
- }
- realtimePrice {
- ...RealtimePriceFragment
- }
- transactions {
- ...TransactionConnectionFragment
- }
- wallets {
- ...WalletFragment
- }
- }
- errors {
- code
- message
- path
- }
- }
-}
-
- Variables
-{"input": AccountEnableNotificationChannelInput}
-
- Response
-{
- "data": {
- "accountEnableNotificationChannel": {
- "account": ConsumerAccount,
- "errors": [Error]
- }
- }
-}
-
-
- accountUpdateDefaultWalletId
-
- Response
- Returns an AccountUpdateDefaultWalletIdPayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - AccountUpdateDefaultWalletIdInput!
- |
- - | -
Example
-Query
-mutation AccountUpdateDefaultWalletId($input: AccountUpdateDefaultWalletIdInput!) {
- accountUpdateDefaultWalletId(input: $input) {
- account {
- callbackEndpoints {
- ...CallbackEndpointFragment
- }
- csvTransactions
- defaultWalletId
- displayCurrency
- id
- level
- limits {
- ...AccountLimitsFragment
- }
- notificationSettings {
- ...NotificationSettingsFragment
- }
- quiz {
- ...QuizFragment
- }
- realtimePrice {
- ...RealtimePriceFragment
- }
- transactions {
- ...TransactionConnectionFragment
- }
- wallets {
- ...WalletFragment
- }
- }
- errors {
- code
- message
- path
- }
- }
-}
-
- Variables
-{"input": AccountUpdateDefaultWalletIdInput}
-
- Response
-{
- "data": {
- "accountUpdateDefaultWalletId": {
- "account": ConsumerAccount,
- "errors": [Error]
- }
- }
-}
-
-
- accountUpdateDisplayCurrency
-
- Response
- Returns an AccountUpdateDisplayCurrencyPayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - AccountUpdateDisplayCurrencyInput!
- |
- - | -
Example
-Query
-mutation AccountUpdateDisplayCurrency($input: AccountUpdateDisplayCurrencyInput!) {
- accountUpdateDisplayCurrency(input: $input) {
- account {
- callbackEndpoints {
- ...CallbackEndpointFragment
- }
- csvTransactions
- defaultWalletId
- displayCurrency
- id
- level
- limits {
- ...AccountLimitsFragment
- }
- notificationSettings {
- ...NotificationSettingsFragment
- }
- quiz {
- ...QuizFragment
- }
- realtimePrice {
- ...RealtimePriceFragment
- }
- transactions {
- ...TransactionConnectionFragment
- }
- wallets {
- ...WalletFragment
- }
- }
- errors {
- code
- message
- path
- }
- }
-}
-
- Variables
-{"input": AccountUpdateDisplayCurrencyInput}
-
- Response
-{
- "data": {
- "accountUpdateDisplayCurrency": {
- "account": ConsumerAccount,
- "errors": [Error]
- }
- }
-}
-
-
- bridgeAddExternalAccount
-
- Response
- Returns a BridgeAddExternalAccountPayload!
-
Example
-Query
-mutation BridgeAddExternalAccount {
- bridgeAddExternalAccount {
- errors {
- code
- message
- path
- }
- externalAccount {
- expiresAt
- linkUrl
- }
- }
-}
-
- Response
-{
- "data": {
- "bridgeAddExternalAccount": {
- "errors": [Error],
- "externalAccount": BridgeExternalAccountLink
- }
- }
-}
-
-
- bridgeCancelWithdrawalRequest
-
- Response
- Returns a BridgeCancelWithdrawalRequestPayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - BridgeCancelWithdrawalRequestInput!
- |
- - | -
Example
-Query
-mutation BridgeCancelWithdrawalRequest($input: BridgeCancelWithdrawalRequestInput!) {
- bridgeCancelWithdrawalRequest(input: $input) {
- errors {
- code
- message
- path
- }
- withdrawal {
- amount
- bridgeDeveloperFee
- bridgeExchangeFee
- bridgeTransferId
- createdAt
- currency
- estimatedBridgeFee
- estimatedBridgeFeePercent
- estimatedCustomerFee
- estimatedGasBuffer
- externalAccountId
- failureReason
- finalAmount
- flashFee
- flashFeeIsEstimate
- flashFeeNotice
- flashFeePercent
- id
- status
- subtotalAmount
- }
- }
-}
-
- Variables
-{"input": BridgeCancelWithdrawalRequestInput}
-
- Response
-{
- "data": {
- "bridgeCancelWithdrawalRequest": {
- "errors": [Error],
- "withdrawal": BridgeWithdrawal
- }
- }
-}
-
-
- bridgeCreateExternalAccount
-
- Response
- Returns a BridgeCreateExternalAccountPayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - BridgeCreateExternalAccountInput!
- |
- - | -
Example
-Query
-mutation BridgeCreateExternalAccount($input: BridgeCreateExternalAccountInput!) {
- bridgeCreateExternalAccount(input: $input) {
- errors {
- code
- message
- path
- }
- externalAccount {
- accountNumberLast4
- bankName
- id
- isDefault
- status
- }
- }
-}
-
- Variables
-{"input": BridgeCreateExternalAccountInput}
-
- Response
-{
- "data": {
- "bridgeCreateExternalAccount": {
- "errors": [Error],
- "externalAccount": BridgeExternalAccount
- }
- }
-}
-
-
- bridgeCreateVirtualAccount
-
- Response
- Returns a BridgeCreateVirtualAccountPayload!
-
Example
-Query
-mutation BridgeCreateVirtualAccount {
- bridgeCreateVirtualAccount {
- errors {
- code
- message
- path
- }
- virtualAccount {
- accountNumber
- accountNumberLast4
- bankName
- id
- kycLink
- message
- pending
- routingNumber
- tosLink
- }
- }
-}
-
- Response
-{
- "data": {
- "bridgeCreateVirtualAccount": {
- "errors": [Error],
- "virtualAccount": BridgeVirtualAccount
- }
- }
-}
-
-
- bridgeDeleteExternalAccount
-
- Response
- Returns a BridgeDeleteExternalAccountPayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - BridgeDeleteExternalAccountInput!
- |
- - | -
Example
-Query
-mutation BridgeDeleteExternalAccount($input: BridgeDeleteExternalAccountInput!) {
- bridgeDeleteExternalAccount(input: $input) {
- errors {
- code
- message
- path
- }
- externalAccount {
- accountNumberLast4
- bankName
- id
- isDefault
- status
- }
- }
-}
-
- Variables
-{"input": BridgeDeleteExternalAccountInput}
-
- Response
-{
- "data": {
- "bridgeDeleteExternalAccount": {
- "errors": [Error],
- "externalAccount": BridgeExternalAccount
- }
- }
-}
-
-
- bridgeInitiateKyc
-
- Response
- Returns a BridgeInitiateKycPayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - BridgeInitiateKycInput!
- |
- - | -
Example
-Query
-mutation BridgeInitiateKyc($input: BridgeInitiateKycInput!) {
- bridgeInitiateKyc(input: $input) {
- errors {
- code
- message
- path
- }
- kycLink {
- kycLink
- tosLink
- }
- }
-}
-
- Variables
-{"input": BridgeInitiateKycInput}
-
- Response
-{
- "data": {
- "bridgeInitiateKyc": {
- "errors": [Error],
- "kycLink": BridgeKycLink
- }
- }
-}
-
-
- bridgeInitiateWithdrawal
-
- Response
- Returns a BridgeInitiateWithdrawalPayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - BridgeInitiateWithdrawalInput!
- |
- - | -
Example
-Query
-mutation BridgeInitiateWithdrawal($input: BridgeInitiateWithdrawalInput!) {
- bridgeInitiateWithdrawal(input: $input) {
- errors {
- code
- message
- path
- }
- withdrawal {
- amount
- bridgeDeveloperFee
- bridgeExchangeFee
- bridgeTransferId
- createdAt
- currency
- estimatedBridgeFee
- estimatedBridgeFeePercent
- estimatedCustomerFee
- estimatedGasBuffer
- externalAccountId
- failureReason
- finalAmount
- flashFee
- flashFeeIsEstimate
- flashFeeNotice
- flashFeePercent
- id
- status
- subtotalAmount
- }
- }
-}
-
- Variables
-{"input": BridgeInitiateWithdrawalInput}
-
- Response
-{
- "data": {
- "bridgeInitiateWithdrawal": {
- "errors": [Error],
- "withdrawal": BridgeWithdrawal
- }
- }
-}
-
-
- bridgeRequestWithdrawal
-
- Response
- Returns a BridgeRequestWithdrawalPayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - BridgeRequestWithdrawalInput!
- |
- - | -
Example
-Query
-mutation BridgeRequestWithdrawal($input: BridgeRequestWithdrawalInput!) {
- bridgeRequestWithdrawal(input: $input) {
- errors {
- code
- message
- path
- }
- withdrawal {
- amount
- bridgeDeveloperFee
- bridgeExchangeFee
- bridgeTransferId
- createdAt
- currency
- estimatedBridgeFee
- estimatedBridgeFeePercent
- estimatedCustomerFee
- estimatedGasBuffer
- externalAccountId
- failureReason
- finalAmount
- flashFee
- flashFeeIsEstimate
- flashFeeNotice
- flashFeePercent
- id
- status
- subtotalAmount
- }
- }
-}
-
- Variables
-{"input": BridgeRequestWithdrawalInput}
-
- Response
-{
- "data": {
- "bridgeRequestWithdrawal": {
- "errors": [Error],
- "withdrawal": BridgeWithdrawal
- }
- }
-}
-
-
- bridgeSetDefaultExternalAccount
-
- Response
- Returns a BridgeSetDefaultExternalAccountPayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - BridgeSetDefaultExternalAccountInput!
- |
- - | -
Example
-Query
-mutation BridgeSetDefaultExternalAccount($input: BridgeSetDefaultExternalAccountInput!) {
- bridgeSetDefaultExternalAccount(input: $input) {
- errors {
- code
- message
- path
- }
- externalAccount {
- accountNumberLast4
- bankName
- id
- isDefault
- status
- }
- }
-}
-
- Variables
-{"input": BridgeSetDefaultExternalAccountInput}
-
- Response
-{
- "data": {
- "bridgeSetDefaultExternalAccount": {
- "errors": [Error],
- "externalAccount": BridgeExternalAccount
- }
- }
-}
-
-
- businessAccountUpgradeRequest
-
- Response
- Returns an AccountUpgradePayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - BusinessAccountUpgradeRequestInput!
- |
- - | -
Example
-Query
-mutation BusinessAccountUpgradeRequest($input: BusinessAccountUpgradeRequestInput!) {
- businessAccountUpgradeRequest(input: $input) {
- errors {
- code
- message
- path
- }
- id
- status
- }
-}
-
- Variables
-{"input": BusinessAccountUpgradeRequestInput}
-
- Response
-{
- "data": {
- "businessAccountUpgradeRequest": {
- "errors": [Error],
- "id": "abc123",
- "status": "abc123"
- }
- }
-}
-
-
- callbackEndpointAdd
-
- Response
- Returns a CallbackEndpointAddPayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - CallbackEndpointAddInput!
- |
- - | -
Example
-Query
-mutation CallbackEndpointAdd($input: CallbackEndpointAddInput!) {
- callbackEndpointAdd(input: $input) {
- errors {
- code
- message
- path
- }
- id
- }
-}
-
- Variables
-{"input": CallbackEndpointAddInput}
-
- Response
-{
- "data": {
- "callbackEndpointAdd": {
- "errors": [Error],
- "id": EndpointId
- }
- }
-}
-
-
- callbackEndpointDelete
-
- Response
- Returns a SuccessPayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - CallbackEndpointDeleteInput!
- |
- - | -
Example
-Query
-mutation CallbackEndpointDelete($input: CallbackEndpointDeleteInput!) {
- callbackEndpointDelete(input: $input) {
- errors {
- code
- message
- path
- }
- success
- }
-}
-
- Variables
-{"input": CallbackEndpointDeleteInput}
-
- Response
-{
- "data": {
- "callbackEndpointDelete": {
- "errors": [Error],
- "success": false
- }
- }
-}
-
-
- captchaCreateChallenge
-
- Response
- Returns a CaptchaCreateChallengePayload!
-
Example
-Query
-mutation CaptchaCreateChallenge {
- captchaCreateChallenge {
- errors {
- code
- message
- path
- }
- result {
- challengeCode
- failbackMode
- id
- newCaptcha
- }
- }
-}
-
- Response
-{
- "data": {
- "captchaCreateChallenge": {
- "errors": [Error],
- "result": CaptchaCreateChallengeResult
- }
- }
-}
-
-
- captchaRequestAuthCode
-
- Response
- Returns a SuccessPayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - CaptchaRequestAuthCodeInput!
- |
- - | -
Example
-Query
-mutation CaptchaRequestAuthCode($input: CaptchaRequestAuthCodeInput!) {
- captchaRequestAuthCode(input: $input) {
- errors {
- code
- message
- path
- }
- success
- }
-}
-
- Variables
-{"input": CaptchaRequestAuthCodeInput}
-
- Response
-{
- "data": {
- "captchaRequestAuthCode": {
- "errors": [Error],
- "success": true
- }
- }
-}
-
-
- deviceNotificationTokenCreate
-
- Response
- Returns a SuccessPayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - DeviceNotificationTokenCreateInput!
- |
- - | -
Example
-Query
-mutation DeviceNotificationTokenCreate($input: DeviceNotificationTokenCreateInput!) {
- deviceNotificationTokenCreate(input: $input) {
- errors {
- code
- message
- path
- }
- success
- }
-}
-
- Variables
-{"input": DeviceNotificationTokenCreateInput}
-
- Response
-{
- "data": {
- "deviceNotificationTokenCreate": {
- "errors": [Error],
- "success": false
- }
- }
-}
-
-
- feedbackSubmit
-
- Response
- Returns a SuccessPayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - FeedbackSubmitInput!
- |
- - | -
Example
-Query
-mutation FeedbackSubmit($input: FeedbackSubmitInput!) {
- feedbackSubmit(input: $input) {
- errors {
- code
- message
- path
- }
- success
- }
-}
-
- Variables
-{"input": FeedbackSubmitInput}
-
- Response
-{
- "data": {
- "feedbackSubmit": {
- "errors": [Error],
- "success": false
- }
- }
-}
-
-
- idDocumentUploadUrlGenerate
-
- Response
- Returns an IdDocumentUploadUrlPayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - IdDocumentUploadUrlGenerateInput!
- |
- - | -
Example
-Query
-mutation IdDocumentUploadUrlGenerate($input: IdDocumentUploadUrlGenerateInput!) {
- idDocumentUploadUrlGenerate(input: $input) {
- errors {
- code
- message
- path
- }
- fileKey
- uploadUrl
- }
-}
-
- Variables
-{"input": IdDocumentUploadUrlGenerateInput}
-
- Response
-{
- "data": {
- "idDocumentUploadUrlGenerate": {
- "errors": [Error],
- "fileKey": "xyz789",
- "uploadUrl": "xyz789"
- }
- }
-}
-
-
- initiateCashout
-
- Description
-Start the Cashout process; User sends USD to Flash via Ibex and receives USD or JMD to bank account.
-Response
- Returns an InitiatedCashoutResponse!
-
Arguments
-| Name | -Description | -
|---|---|
- input - InitiateCashoutInput!
- |
- - | -
Example
-Query
-mutation InitiateCashout($input: InitiateCashoutInput!) {
- initiateCashout(input: $input) {
- errors {
- code
- message
- path
- }
- id
- }
-}
-
- Variables
-{"input": InitiateCashoutInput}
-
- Response
-{
- "data": {
- "initiateCashout": {
- "errors": [Error],
- "id": "4"
- }
- }
-}
-
-
- intraLedgerPaymentSend
-
- Description
-Actions a payment which is internal to the ledger e.g. it does not use onchain/lightning. Returns payment status (success, failed, pending, already_paid).
-Response
- Returns a PaymentSendPayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - IntraLedgerPaymentSendInput!
- |
- - | -
Example
-Query
-mutation IntraLedgerPaymentSend($input: IntraLedgerPaymentSendInput!) {
- intraLedgerPaymentSend(input: $input) {
- errors {
- code
- message
- path
- }
- status
- }
-}
-
- Variables
-{"input": IntraLedgerPaymentSendInput}
-
- Response
-{
- "data": {
- "intraLedgerPaymentSend": {
- "errors": [Error],
- "status": "ALREADY_PAID"
- }
- }
-}
-
-
- intraLedgerUsdPaymentSend
-
- Description
-Galoy: Actions a payment which is internal to the ledger e.g. it does not use onchain/lightning. Returns payment status (success, failed, pending, already_paid).
-Flash: We do not currently have an internal ledger. Consequently, intraledger payments have been updated to call Ibex instead.
-Response
- Returns a PaymentSendPayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - IntraLedgerUsdPaymentSendInput!
- |
- - | -
Example
-Query
-mutation IntraLedgerUsdPaymentSend($input: IntraLedgerUsdPaymentSendInput!) {
- intraLedgerUsdPaymentSend(input: $input) {
- errors {
- code
- message
- path
- }
- status
- }
-}
-
- Variables
-{"input": IntraLedgerUsdPaymentSendInput}
-
- Response
-{
- "data": {
- "intraLedgerUsdPaymentSend": {
- "errors": [Error],
- "status": "ALREADY_PAID"
- }
- }
-}
-
-
- lnInvoiceCreate
-
- Description
-Returns a lightning invoice for an associated wallet. When invoice is paid the value will be credited to a BTC wallet. Expires after 'expiresIn' or 24 hours.
-Response
- Returns a LnInvoicePayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - LnInvoiceCreateInput!
- |
- - | -
Example
-Query
-mutation LnInvoiceCreate($input: LnInvoiceCreateInput!) {
- lnInvoiceCreate(input: $input) {
- errors {
- code
- message
- path
- }
- invoice {
- paymentHash
- paymentRequest
- paymentSecret
- satoshis
- }
- }
-}
-
- Variables
-{"input": LnInvoiceCreateInput}
-
- Response
-{
- "data": {
- "lnInvoiceCreate": {
- "errors": [Error],
- "invoice": LnInvoice
- }
- }
-}
-
-
- lnInvoiceCreateOnBehalfOfRecipient
-
- Description
-Returns a lightning invoice for an associated wallet. When invoice is paid the value will be credited to a BTC wallet. Expires after 'expiresIn' or 24 hours.
-Response
- Returns a LnInvoicePayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - LnInvoiceCreateOnBehalfOfRecipientInput!
- |
- - | -
Example
-Query
-mutation LnInvoiceCreateOnBehalfOfRecipient($input: LnInvoiceCreateOnBehalfOfRecipientInput!) {
- lnInvoiceCreateOnBehalfOfRecipient(input: $input) {
- errors {
- code
- message
- path
- }
- invoice {
- paymentHash
- paymentRequest
- paymentSecret
- satoshis
- }
- }
-}
-
- Variables
-{"input": LnInvoiceCreateOnBehalfOfRecipientInput}
-
- Response
-{
- "data": {
- "lnInvoiceCreateOnBehalfOfRecipient": {
- "errors": [Error],
- "invoice": LnInvoice
- }
- }
-}
-
-
- lnInvoiceFeeProbe
-
- Response
- Returns a SatAmountPayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - LnInvoiceFeeProbeInput!
- |
- - | -
Example
-Query
-mutation LnInvoiceFeeProbe($input: LnInvoiceFeeProbeInput!) {
- lnInvoiceFeeProbe(input: $input) {
- amount
- errors {
- code
- message
- path
- }
- }
-}
-
- Variables
-{"input": LnInvoiceFeeProbeInput}
-
- Response
-{
- "data": {
- "lnInvoiceFeeProbe": {
- "amount": SatAmount,
- "errors": [Error]
- }
- }
-}
-
-
- lnInvoicePaymentSend
-
- Description
-Pay a lightning invoice using a balance from a wallet which is owned by the account of the current user. Provided wallet can be USD or BTC and must have sufficient balance to cover amount in lightning invoice. Returns payment status (success, failed, pending, already_paid).
-Response
- Returns a PaymentSendPayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - LnInvoicePaymentInput!
- |
- - | -
Example
-Query
-mutation LnInvoicePaymentSend($input: LnInvoicePaymentInput!) {
- lnInvoicePaymentSend(input: $input) {
- errors {
- code
- message
- path
- }
- status
- }
-}
-
- Variables
-{"input": LnInvoicePaymentInput}
-
- Response
-{
- "data": {
- "lnInvoicePaymentSend": {
- "errors": [Error],
- "status": "ALREADY_PAID"
- }
- }
-}
-
-
- lnNoAmountInvoiceCreate
-
- Description
-Returns a lightning invoice for an associated wallet. Can be used to receive any supported currency value (currently USD or BTC). Expires after 'expiresIn' or 24 hours for BTC invoices or 5 minutes for USD invoices.
-Response
- Returns a LnNoAmountInvoicePayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - LnNoAmountInvoiceCreateInput!
- |
- - | -
Example
-Query
-mutation LnNoAmountInvoiceCreate($input: LnNoAmountInvoiceCreateInput!) {
- lnNoAmountInvoiceCreate(input: $input) {
- errors {
- code
- message
- path
- }
- invoice {
- paymentHash
- paymentRequest
- paymentSecret
- }
- }
-}
-
- Variables
-{"input": LnNoAmountInvoiceCreateInput}
-
- Response
-{
- "data": {
- "lnNoAmountInvoiceCreate": {
- "errors": [Error],
- "invoice": LnNoAmountInvoice
- }
- }
-}
-
-
- lnNoAmountInvoiceCreateOnBehalfOfRecipient
-
- Description
-Returns a lightning invoice for an associated wallet. Can be used to receive any supported currency value (currently USD or BTC). Expires after 'expiresIn' or 24 hours for BTC invoices or 5 minutes for USD invoices.
-Response
- Returns a LnNoAmountInvoicePayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - LnNoAmountInvoiceCreateOnBehalfOfRecipientInput!
- |
- - | -
Example
-Query
-mutation LnNoAmountInvoiceCreateOnBehalfOfRecipient($input: LnNoAmountInvoiceCreateOnBehalfOfRecipientInput!) {
- lnNoAmountInvoiceCreateOnBehalfOfRecipient(input: $input) {
- errors {
- code
- message
- path
- }
- invoice {
- paymentHash
- paymentRequest
- paymentSecret
- }
- }
-}
-
- Variables
-{"input": LnNoAmountInvoiceCreateOnBehalfOfRecipientInput}
-
- Response
-{
- "data": {
- "lnNoAmountInvoiceCreateOnBehalfOfRecipient": {
- "errors": [Error],
- "invoice": LnNoAmountInvoice
- }
- }
-}
-
-
- lnNoAmountInvoiceFeeProbe
-
- Response
- Returns a SatAmountPayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - LnNoAmountInvoiceFeeProbeInput!
- |
- - | -
Example
-Query
-mutation LnNoAmountInvoiceFeeProbe($input: LnNoAmountInvoiceFeeProbeInput!) {
- lnNoAmountInvoiceFeeProbe(input: $input) {
- amount
- errors {
- code
- message
- path
- }
- }
-}
-
- Variables
-{"input": LnNoAmountInvoiceFeeProbeInput}
-
- Response
-{
- "data": {
- "lnNoAmountInvoiceFeeProbe": {
- "amount": SatAmount,
- "errors": [Error]
- }
- }
-}
-
-
- lnNoAmountInvoicePaymentSend
-
- Description
-Pay a lightning invoice using a balance from a wallet which is owned by the account of the current user. Provided wallet must be BTC and must have sufficient balance to cover amount specified in mutation request. Returns payment status (success, failed, pending, already_paid).
-Response
- Returns a PaymentSendPayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - LnNoAmountInvoicePaymentInput!
- |
- - | -
Example
-Query
-mutation LnNoAmountInvoicePaymentSend($input: LnNoAmountInvoicePaymentInput!) {
- lnNoAmountInvoicePaymentSend(input: $input) {
- errors {
- code
- message
- path
- }
- status
- }
-}
-
- Variables
-{"input": LnNoAmountInvoicePaymentInput}
-
- Response
-{
- "data": {
- "lnNoAmountInvoicePaymentSend": {
- "errors": [Error],
- "status": "ALREADY_PAID"
- }
- }
-}
-
-
- lnNoAmountUsdInvoiceFeeProbe
-
- Response
- Returns a CentAmountPayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - LnNoAmountUsdInvoiceFeeProbeInput!
- |
- - | -
Example
-Query
-mutation LnNoAmountUsdInvoiceFeeProbe($input: LnNoAmountUsdInvoiceFeeProbeInput!) {
- lnNoAmountUsdInvoiceFeeProbe(input: $input) {
- amount
- errors {
- code
- message
- path
- }
- invoiceAmount
- }
-}
-
- Variables
-{"input": LnNoAmountUsdInvoiceFeeProbeInput}
-
- Response
-{
- "data": {
- "lnNoAmountUsdInvoiceFeeProbe": {
- "amount": USDCents,
- "errors": [Error],
- "invoiceAmount": USDCents
- }
- }
-}
-
-
- lnNoAmountUsdInvoicePaymentSend
-
- Description
-Pay a lightning invoice using a balance from a wallet which is owned by the account of the current user. Provided wallet must be USD and have sufficient balance to cover amount specified in mutation request. Returns payment status (success, failed, pending, already_paid).
-Response
- Returns a PaymentSendPayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - LnNoAmountUsdInvoicePaymentInput!
- |
- - | -
Example
-Query
-mutation LnNoAmountUsdInvoicePaymentSend($input: LnNoAmountUsdInvoicePaymentInput!) {
- lnNoAmountUsdInvoicePaymentSend(input: $input) {
- errors {
- code
- message
- path
- }
- status
- }
-}
-
- Variables
-{"input": LnNoAmountUsdInvoicePaymentInput}
-
- Response
-{
- "data": {
- "lnNoAmountUsdInvoicePaymentSend": {
- "errors": [Error],
- "status": "ALREADY_PAID"
- }
- }
-}
-
-
- lnUsdInvoiceCreate
-
- Description
-Returns a lightning invoice denominated in satoshis for an associated wallet. When invoice is paid the equivalent value at invoice creation will be credited to a USD wallet. Expires after 'expiresIn' or 5 minutes (short expiry time because there is a USD/BTC exchange rate associated with the amount).
-Response
- Returns a LnInvoicePayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - LnUsdInvoiceCreateInput!
- |
- - | -
Example
-Query
-mutation LnUsdInvoiceCreate($input: LnUsdInvoiceCreateInput!) {
- lnUsdInvoiceCreate(input: $input) {
- errors {
- code
- message
- path
- }
- invoice {
- paymentHash
- paymentRequest
- paymentSecret
- satoshis
- }
- }
-}
-
- Variables
-{"input": LnUsdInvoiceCreateInput}
-
- Response
-{
- "data": {
- "lnUsdInvoiceCreate": {
- "errors": [Error],
- "invoice": LnInvoice
- }
- }
-}
-
-
- lnUsdInvoiceCreateOnBehalfOfRecipient
-
- Description
-Returns a lightning invoice denominated in satoshis for an associated wallet. When invoice is paid the equivalent value at invoice creation will be credited to a USD wallet. Expires after 'expiresIn' or 5 minutes (short expiry time because there is a USD/BTC exchange rate associated with the amount).
-Response
- Returns a LnInvoicePayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - LnUsdInvoiceCreateOnBehalfOfRecipientInput!
- |
- - | -
Example
-Query
-mutation LnUsdInvoiceCreateOnBehalfOfRecipient($input: LnUsdInvoiceCreateOnBehalfOfRecipientInput!) {
- lnUsdInvoiceCreateOnBehalfOfRecipient(input: $input) {
- errors {
- code
- message
- path
- }
- invoice {
- paymentHash
- paymentRequest
- paymentSecret
- satoshis
- }
- }
-}
-
- Variables
-{"input": LnUsdInvoiceCreateOnBehalfOfRecipientInput}
-
- Response
-{
- "data": {
- "lnUsdInvoiceCreateOnBehalfOfRecipient": {
- "errors": [Error],
- "invoice": LnInvoice
- }
- }
-}
-
-
- lnUsdInvoiceFeeProbe
-
- Response
- Returns a CentAmountPayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - LnUsdInvoiceFeeProbeInput!
- |
- - | -
Example
-Query
-mutation LnUsdInvoiceFeeProbe($input: LnUsdInvoiceFeeProbeInput!) {
- lnUsdInvoiceFeeProbe(input: $input) {
- amount
- errors {
- code
- message
- path
- }
- invoiceAmount
- }
-}
-
- Variables
-{"input": LnUsdInvoiceFeeProbeInput}
-
- Response
-{
- "data": {
- "lnUsdInvoiceFeeProbe": {
- "amount": USDCents,
- "errors": [Error],
- "invoiceAmount": USDCents
- }
- }
-}
-
-
- lnurlPaymentSend
-
- Description
-Pay a LNURL-pay endpoint using a USD/USDT wallet balance. The wallet amount is converted to whole-satoshi millisatoshis before calling IBEX.
-Response
- Returns a PaymentSendPayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - LnurlPaymentSendInput!
- |
- - | -
Example
-Query
-mutation LnurlPaymentSend($input: LnurlPaymentSendInput!) {
- lnurlPaymentSend(input: $input) {
- errors {
- code
- message
- path
- }
- status
- }
-}
-
- Variables
-{"input": LnurlPaymentSendInput}
-
- Response
-{
- "data": {
- "lnurlPaymentSend": {
- "errors": [Error],
- "status": "ALREADY_PAID"
- }
- }
-}
-
-
- merchantMapSuggest
-
- Response
- Returns a MerchantPayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - MerchantMapSuggestInput!
- |
- - | -
Example
-Query
-mutation MerchantMapSuggest($input: MerchantMapSuggestInput!) {
- merchantMapSuggest(input: $input) {
- errors {
- code
- message
- path
- }
- merchant {
- coordinates {
- ...CoordinatesFragment
- }
- createdAt
- id
- title
- username
- validated
- }
- }
-}
-
- Variables
-{"input": MerchantMapSuggestInput}
-
- Response
-{
- "data": {
- "merchantMapSuggest": {
- "errors": [Error],
- "merchant": Merchant
- }
- }
-}
-
-
- onChainAddressCreate
-
- Response
- Returns an OnChainAddressPayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - OnChainAddressCreateInput!
- |
- - | -
Example
-Query
-mutation OnChainAddressCreate($input: OnChainAddressCreateInput!) {
- onChainAddressCreate(input: $input) {
- address
- errors {
- code
- message
- path
- }
- }
-}
-
- Variables
-{"input": OnChainAddressCreateInput}
-
- Response
-{
- "data": {
- "onChainAddressCreate": {
- "address": OnChainAddress,
- "errors": [Error]
- }
- }
-}
-
-
- onChainAddressCurrent
-
- Response
- Returns an OnChainAddressPayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - OnChainAddressCurrentInput!
- |
- - | -
Example
-Query
-mutation OnChainAddressCurrent($input: OnChainAddressCurrentInput!) {
- onChainAddressCurrent(input: $input) {
- address
- errors {
- code
- message
- path
- }
- }
-}
-
- Variables
-{"input": OnChainAddressCurrentInput}
-
- Response
-{
- "data": {
- "onChainAddressCurrent": {
- "address": OnChainAddress,
- "errors": [Error]
- }
- }
-}
-
-
- onChainPaymentSend
-
- Response
- Returns a PaymentSendPayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - OnChainPaymentSendInput!
- |
- - | -
Example
-Query
-mutation OnChainPaymentSend($input: OnChainPaymentSendInput!) {
- onChainPaymentSend(input: $input) {
- errors {
- code
- message
- path
- }
- status
- }
-}
-
- Variables
-{"input": OnChainPaymentSendInput}
-
- Response
-{
- "data": {
- "onChainPaymentSend": {
- "errors": [Error],
- "status": "ALREADY_PAID"
- }
- }
-}
-
-
- onChainPaymentSendAll
-
- Response
- Returns a PaymentSendPayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - OnChainPaymentSendAllInput!
- |
- - | -
Example
-Query
-mutation OnChainPaymentSendAll($input: OnChainPaymentSendAllInput!) {
- onChainPaymentSendAll(input: $input) {
- errors {
- code
- message
- path
- }
- status
- }
-}
-
- Variables
-{"input": OnChainPaymentSendAllInput}
-
- Response
-{
- "data": {
- "onChainPaymentSendAll": {
- "errors": [Error],
- "status": "ALREADY_PAID"
- }
- }
-}
-
-
- onChainUsdPaymentSend
-
- Response
- Returns a PaymentSendPayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - OnChainUsdPaymentSendInput!
- |
- - | -
Example
-Query
-mutation OnChainUsdPaymentSend($input: OnChainUsdPaymentSendInput!) {
- onChainUsdPaymentSend(input: $input) {
- errors {
- code
- message
- path
- }
- status
- }
-}
-
- Variables
-{"input": OnChainUsdPaymentSendInput}
-
- Response
-{
- "data": {
- "onChainUsdPaymentSend": {
- "errors": [Error],
- "status": "ALREADY_PAID"
- }
- }
-}
-
-
- onChainUsdPaymentSendAsBtcDenominated
-
- Response
- Returns a PaymentSendPayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - OnChainUsdPaymentSendAsBtcDenominatedInput!
- |
- - | -
Example
-Query
-mutation OnChainUsdPaymentSendAsBtcDenominated($input: OnChainUsdPaymentSendAsBtcDenominatedInput!) {
- onChainUsdPaymentSendAsBtcDenominated(input: $input) {
- errors {
- code
- message
- path
- }
- status
- }
-}
-
- Variables
-{"input": OnChainUsdPaymentSendAsBtcDenominatedInput}
-
- Response
-{
- "data": {
- "onChainUsdPaymentSendAsBtcDenominated": {
- "errors": [Error],
- "status": "ALREADY_PAID"
- }
- }
-}
-
-
- quizCompleted
-
- Response
- Returns a QuizCompletedPayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - QuizCompletedInput!
- |
- - | -
Example
-Query
-mutation QuizCompleted($input: QuizCompletedInput!) {
- quizCompleted(input: $input) {
- errors {
- code
- message
- path
- }
- quiz {
- amount
- completed
- id
- }
- }
-}
-
- Variables
-{"input": QuizCompletedInput}
-
- Response
-{
- "data": {
- "quizCompleted": {
- "errors": [Error],
- "quiz": Quiz
- }
- }
-}
-
-
- requestCashout
-
- Description
-Returns an offer from Flash for a user to withdraw from their USD wallet (denominated in cents). The user can review this offer and then execute the withdrawal by calling the initiateCashout mutation.
-Response
- Returns a RequestCashoutResponse!
-
Arguments
-| Name | -Description | -
|---|---|
- input - RequestCashoutInput!
- |
- - | -
Example
-Query
-mutation RequestCashout($input: RequestCashoutInput!) {
- requestCashout(input: $input) {
- errors {
- code
- message
- path
- }
- offer {
- exchangeRate
- expiresAt
- flashFee
- offerId
- receiveJmd
- receiveUsd
- send
- walletId
- }
- }
-}
-
- Variables
-{"input": RequestCashoutInput}
-
- Response
-{
- "data": {
- "requestCashout": {
- "errors": [Error],
- "offer": CashoutOffer
- }
- }
-}
-
-
- updateExternalWallet
-
- Response
- Returns an UpdateExternalWalletPayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - UpdateExternalWalletInput!
- |
- - | -
Example
-Query
-mutation UpdateExternalWallet($input: UpdateExternalWalletInput!) {
- updateExternalWallet(input: $input) {
- errors {
- code
- message
- path
- }
- walletId
- }
-}
-
- Variables
-{"input": UpdateExternalWalletInput}
-
- Response
-{
- "data": {
- "updateExternalWallet": {
- "errors": [Error],
- "walletId": WalletId
- }
- }
-}
-
-
- userContactUpdateAlias
-
- Response
- Returns a UserContactUpdateAliasPayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - UserContactUpdateAliasInput!
- |
- - | -
Example
-Query
-mutation UserContactUpdateAlias($input: UserContactUpdateAliasInput!) {
- userContactUpdateAlias(input: $input) {
- contact {
- alias
- id
- transactions {
- ...TransactionConnectionFragment
- }
- transactionsCount
- username
- }
- errors {
- code
- message
- path
- }
- }
-}
-
- Variables
-{"input": UserContactUpdateAliasInput}
-
- Response
-{
- "data": {
- "userContactUpdateAlias": {
- "contact": UserContact,
- "errors": [Error]
- }
- }
-}
-
-
- userEmailDelete
-
- Response
- Returns a UserEmailDeletePayload!
-
Example
-Query
-mutation UserEmailDelete {
- userEmailDelete {
- errors {
- code
- message
- path
- }
- me {
- bankAccounts {
- ...BankAccountFragment
- }
- contactByUsername {
- ...UserContactFragment
- }
- contacts {
- ...UserContactFragment
- }
- createdAt
- defaultAccount {
- ...AccountFragment
- }
- email {
- ...EmailFragment
- }
- id
- language
- npub
- phone
- quizQuestions {
- ...UserQuizQuestionFragment
- }
- totpEnabled
- username
- }
- }
-}
-
- Response
-{
- "data": {
- "userEmailDelete": {
- "errors": [Error],
- "me": User
- }
- }
-}
-
-
- userEmailRegistrationInitiate
-
- Response
- Returns a UserEmailRegistrationInitiatePayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - UserEmailRegistrationInitiateInput!
- |
- - | -
Example
-Query
-mutation UserEmailRegistrationInitiate($input: UserEmailRegistrationInitiateInput!) {
- userEmailRegistrationInitiate(input: $input) {
- emailRegistrationId
- errors {
- code
- message
- path
- }
- me {
- bankAccounts {
- ...BankAccountFragment
- }
- contactByUsername {
- ...UserContactFragment
- }
- contacts {
- ...UserContactFragment
- }
- createdAt
- defaultAccount {
- ...AccountFragment
- }
- email {
- ...EmailFragment
- }
- id
- language
- npub
- phone
- quizQuestions {
- ...UserQuizQuestionFragment
- }
- totpEnabled
- username
- }
- }
-}
-
- Variables
-{"input": UserEmailRegistrationInitiateInput}
-
- Response
-{
- "data": {
- "userEmailRegistrationInitiate": {
- "emailRegistrationId": EmailRegistrationId,
- "errors": [Error],
- "me": User
- }
- }
-}
-
-
- userEmailRegistrationValidate
-
- Response
- Returns a UserEmailRegistrationValidatePayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - UserEmailRegistrationValidateInput!
- |
- - | -
Example
-Query
-mutation UserEmailRegistrationValidate($input: UserEmailRegistrationValidateInput!) {
- userEmailRegistrationValidate(input: $input) {
- errors {
- code
- message
- path
- }
- me {
- bankAccounts {
- ...BankAccountFragment
- }
- contactByUsername {
- ...UserContactFragment
- }
- contacts {
- ...UserContactFragment
- }
- createdAt
- defaultAccount {
- ...AccountFragment
- }
- email {
- ...EmailFragment
- }
- id
- language
- npub
- phone
- quizQuestions {
- ...UserQuizQuestionFragment
- }
- totpEnabled
- username
- }
- }
-}
-
- Variables
-{"input": UserEmailRegistrationValidateInput}
-
- Response
-{
- "data": {
- "userEmailRegistrationValidate": {
- "errors": [Error],
- "me": User
- }
- }
-}
-
-
- userLogin
-
- Response
- Returns an AuthTokenPayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - UserLoginInput!
- |
- - | -
Example
-Query
-mutation UserLogin($input: UserLoginInput!) {
- userLogin(input: $input) {
- authToken
- errors {
- code
- message
- path
- }
- totpRequired
- }
-}
-
- Variables
-{"input": UserLoginInput}
-
- Response
-{
- "data": {
- "userLogin": {
- "authToken": AuthToken,
- "errors": [Error],
- "totpRequired": false
- }
- }
-}
-
-
- userLoginUpgrade
-
- Response
- Returns an UpgradePayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - UserLoginUpgradeInput!
- |
- - | -
Example
-Query
-mutation UserLoginUpgrade($input: UserLoginUpgradeInput!) {
- userLoginUpgrade(input: $input) {
- authToken
- errors {
- code
- message
- path
- }
- success
- }
-}
-
- Variables
-{"input": UserLoginUpgradeInput}
-
- Response
-{
- "data": {
- "userLoginUpgrade": {
- "authToken": AuthToken,
- "errors": [Error],
- "success": false
- }
- }
-}
-
-
- userLogout
-
- Response
- Returns a SuccessPayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - UserLogoutInput
- |
- - | -
Example
-Query
-mutation UserLogout($input: UserLogoutInput) {
- userLogout(input: $input) {
- errors {
- code
- message
- path
- }
- success
- }
-}
-
- Variables
-{"input": UserLogoutInput}
-
- Response
-{
- "data": {
- "userLogout": {"errors": [Error], "success": true}
- }
-}
-
-
- userPhoneDelete
-
- Response
- Returns a UserPhoneDeletePayload!
-
Example
-Query
-mutation UserPhoneDelete {
- userPhoneDelete {
- errors {
- code
- message
- path
- }
- me {
- bankAccounts {
- ...BankAccountFragment
- }
- contactByUsername {
- ...UserContactFragment
- }
- contacts {
- ...UserContactFragment
- }
- createdAt
- defaultAccount {
- ...AccountFragment
- }
- email {
- ...EmailFragment
- }
- id
- language
- npub
- phone
- quizQuestions {
- ...UserQuizQuestionFragment
- }
- totpEnabled
- username
- }
- }
-}
-
- Response
-{
- "data": {
- "userPhoneDelete": {
- "errors": [Error],
- "me": User
- }
- }
-}
-
-
- userPhoneRegistrationInitiate
-
- Response
- Returns a SuccessPayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - UserPhoneRegistrationInitiateInput!
- |
- - | -
Example
-Query
-mutation UserPhoneRegistrationInitiate($input: UserPhoneRegistrationInitiateInput!) {
- userPhoneRegistrationInitiate(input: $input) {
- errors {
- code
- message
- path
- }
- success
- }
-}
-
- Variables
-{"input": UserPhoneRegistrationInitiateInput}
-
- Response
-{
- "data": {
- "userPhoneRegistrationInitiate": {
- "errors": [Error],
- "success": true
- }
- }
-}
-
-
- userPhoneRegistrationValidate
-
- Response
- Returns a UserPhoneRegistrationValidatePayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - UserPhoneRegistrationValidateInput!
- |
- - | -
Example
-Query
-mutation UserPhoneRegistrationValidate($input: UserPhoneRegistrationValidateInput!) {
- userPhoneRegistrationValidate(input: $input) {
- errors {
- code
- message
- path
- }
- me {
- bankAccounts {
- ...BankAccountFragment
- }
- contactByUsername {
- ...UserContactFragment
- }
- contacts {
- ...UserContactFragment
- }
- createdAt
- defaultAccount {
- ...AccountFragment
- }
- email {
- ...EmailFragment
- }
- id
- language
- npub
- phone
- quizQuestions {
- ...UserQuizQuestionFragment
- }
- totpEnabled
- username
- }
- }
-}
-
- Variables
-{"input": UserPhoneRegistrationValidateInput}
-
- Response
-{
- "data": {
- "userPhoneRegistrationValidate": {
- "errors": [Error],
- "me": User
- }
- }
-}
-
-
- userQuizQuestionUpdateCompleted
-
- Response
- Returns a UserQuizQuestionUpdateCompletedPayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - UserQuizQuestionUpdateCompletedInput!
- |
- - | -
Example
-Query
-mutation UserQuizQuestionUpdateCompleted($input: UserQuizQuestionUpdateCompletedInput!) {
- userQuizQuestionUpdateCompleted(input: $input) {
- errors {
- code
- message
- path
- }
- userQuizQuestion {
- completed
- question {
- ...QuizQuestionFragment
- }
- }
- }
-}
-
- Variables
-{"input": UserQuizQuestionUpdateCompletedInput}
-
- Response
-{
- "data": {
- "userQuizQuestionUpdateCompleted": {
- "errors": [Error],
- "userQuizQuestion": UserQuizQuestion
- }
- }
-}
-
-
- userTotpDelete
-
- Response
- Returns a UserTotpDeletePayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - UserTotpDeleteInput!
- |
- - | -
Example
-Query
-mutation UserTotpDelete($input: UserTotpDeleteInput!) {
- userTotpDelete(input: $input) {
- errors {
- code
- message
- path
- }
- me {
- bankAccounts {
- ...BankAccountFragment
- }
- contactByUsername {
- ...UserContactFragment
- }
- contacts {
- ...UserContactFragment
- }
- createdAt
- defaultAccount {
- ...AccountFragment
- }
- email {
- ...EmailFragment
- }
- id
- language
- npub
- phone
- quizQuestions {
- ...UserQuizQuestionFragment
- }
- totpEnabled
- username
- }
- }
-}
-
- Variables
-{"input": UserTotpDeleteInput}
-
- Response
-{
- "data": {
- "userTotpDelete": {
- "errors": [Error],
- "me": User
- }
- }
-}
-
-
- userTotpRegistrationInitiate
-
- Response
- Returns a UserTotpRegistrationInitiatePayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - UserTotpRegistrationInitiateInput!
- |
- - | -
Example
-Query
-mutation UserTotpRegistrationInitiate($input: UserTotpRegistrationInitiateInput!) {
- userTotpRegistrationInitiate(input: $input) {
- errors {
- code
- message
- path
- }
- totpRegistrationId
- totpSecret
- }
-}
-
- Variables
-{"input": UserTotpRegistrationInitiateInput}
-
- Response
-{
- "data": {
- "userTotpRegistrationInitiate": {
- "errors": [Error],
- "totpRegistrationId": TotpRegistrationId,
- "totpSecret": TotpSecret
- }
- }
-}
-
-
- userTotpRegistrationValidate
-
- Response
- Returns a UserTotpRegistrationValidatePayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - UserTotpRegistrationValidateInput!
- |
- - | -
Example
-Query
-mutation UserTotpRegistrationValidate($input: UserTotpRegistrationValidateInput!) {
- userTotpRegistrationValidate(input: $input) {
- errors {
- code
- message
- path
- }
- me {
- bankAccounts {
- ...BankAccountFragment
- }
- contactByUsername {
- ...UserContactFragment
- }
- contacts {
- ...UserContactFragment
- }
- createdAt
- defaultAccount {
- ...AccountFragment
- }
- email {
- ...EmailFragment
- }
- id
- language
- npub
- phone
- quizQuestions {
- ...UserQuizQuestionFragment
- }
- totpEnabled
- username
- }
- }
-}
-
- Variables
-{"input": UserTotpRegistrationValidateInput}
-
- Response
-{
- "data": {
- "userTotpRegistrationValidate": {
- "errors": [Error],
- "me": User
- }
- }
-}
-
-
- userUpdateLanguage
-
- Response
- Returns a UserUpdateLanguagePayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - UserUpdateLanguageInput!
- |
- - | -
Example
-Query
-mutation UserUpdateLanguage($input: UserUpdateLanguageInput!) {
- userUpdateLanguage(input: $input) {
- errors {
- code
- message
- path
- }
- user {
- bankAccounts {
- ...BankAccountFragment
- }
- contactByUsername {
- ...UserContactFragment
- }
- contacts {
- ...UserContactFragment
- }
- createdAt
- defaultAccount {
- ...AccountFragment
- }
- email {
- ...EmailFragment
- }
- id
- language
- npub
- phone
- quizQuestions {
- ...UserQuizQuestionFragment
- }
- totpEnabled
- username
- }
- }
-}
-
- Variables
-{"input": UserUpdateLanguageInput}
-
- Response
-{
- "data": {
- "userUpdateLanguage": {
- "errors": [Error],
- "user": User
- }
- }
-}
-
-
- userUpdateNpub
-
- Response
- Returns a UserUpdateNpubPayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - UserUpdateNpubInput!
- |
- - | -
Example
-Query
-mutation UserUpdateNpub($input: UserUpdateNpubInput!) {
- userUpdateNpub(input: $input) {
- errors {
- code
- message
- path
- }
- user {
- bankAccounts {
- ...BankAccountFragment
- }
- contactByUsername {
- ...UserContactFragment
- }
- contacts {
- ...UserContactFragment
- }
- createdAt
- defaultAccount {
- ...AccountFragment
- }
- email {
- ...EmailFragment
- }
- id
- language
- npub
- phone
- quizQuestions {
- ...UserQuizQuestionFragment
- }
- totpEnabled
- username
- }
- }
-}
-
- Variables
-{"input": UserUpdateNpubInput}
-
- Response
-{
- "data": {
- "userUpdateNpub": {
- "errors": [Error],
- "user": User
- }
- }
-}
-
-
- userUpdateUsername
-
- Response
- Returns a UserUpdateUsernamePayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - UserUpdateUsernameInput!
- |
- - | -
Example
-Query
-mutation UserUpdateUsername($input: UserUpdateUsernameInput!) {
- userUpdateUsername(input: $input) {
- errors {
- code
- message
- path
- }
- user {
- bankAccounts {
- ...BankAccountFragment
- }
- contactByUsername {
- ...UserContactFragment
- }
- contacts {
- ...UserContactFragment
- }
- createdAt
- defaultAccount {
- ...AccountFragment
- }
- email {
- ...EmailFragment
- }
- id
- language
- npub
- phone
- quizQuestions {
- ...UserQuizQuestionFragment
- }
- totpEnabled
- username
- }
- }
-}
-
- Variables
-{"input": UserUpdateUsernameInput}
-
- Response
-{
- "data": {
- "userUpdateUsername": {
- "errors": [Error],
- "user": User
- }
- }
-}
-
- Subscriptions
-
- lnInvoicePaymentStatus
-
- Response
- Returns a LnInvoicePaymentStatusPayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - LnInvoicePaymentStatusInput!
- |
- - | -
Example
-Query
-subscription LnInvoicePaymentStatus($input: LnInvoicePaymentStatusInput!) {
- lnInvoicePaymentStatus(input: $input) {
- errors {
- code
- message
- path
- }
- status
- }
-}
-
- Variables
-{"input": LnInvoicePaymentStatusInput}
-
- Response
-{
- "data": {
- "lnInvoicePaymentStatus": {
- "errors": [Error],
- "status": "EXPIRED"
- }
- }
-}
-
-
- myUpdates
-
- Response
- Returns a MyUpdatesPayload!
-
Example
-Query
-subscription MyUpdates {
- myUpdates {
- errors {
- code
- message
- path
- }
- me {
- bankAccounts {
- ...BankAccountFragment
- }
- contactByUsername {
- ...UserContactFragment
- }
- contacts {
- ...UserContactFragment
- }
- createdAt
- defaultAccount {
- ...AccountFragment
- }
- email {
- ...EmailFragment
- }
- id
- language
- npub
- phone
- quizQuestions {
- ...UserQuizQuestionFragment
- }
- totpEnabled
- username
- }
- update {
- ... on IntraLedgerUpdate {
- ...IntraLedgerUpdateFragment
- }
- ... on LnUpdate {
- ...LnUpdateFragment
- }
- ... on OnChainUpdate {
- ...OnChainUpdateFragment
- }
- ... on Price {
- ...PriceFragment
- }
- ... on RealtimePrice {
- ...RealtimePriceFragment
- }
- }
- }
-}
-
- Response
-{
- "data": {
- "myUpdates": {
- "errors": [Error],
- "me": User,
- "update": IntraLedgerUpdate
- }
- }
-}
-
-
- price
-
- Response
- Returns a PricePayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - PriceInput!
- |
- - | -
Example
-Query
-subscription Price($input: PriceInput!) {
- price(input: $input) {
- errors {
- code
- message
- path
- }
- price {
- base
- currencyUnit
- formattedAmount
- offset
- }
- }
-}
-
- Variables
-{"input": PriceInput}
-
- Response
-{
- "data": {
- "price": {
- "errors": [Error],
- "price": Price
- }
- }
-}
-
-
- realtimePrice
-
- Description
-Returns the price of 1 satoshi
-Response
- Returns a RealtimePricePayload!
-
Arguments
-| Name | -Description | -
|---|---|
- input - RealtimePriceInput!
- |
- - | -
Example
-Query
-subscription RealtimePrice($input: RealtimePriceInput!) {
- realtimePrice(input: $input) {
- errors {
- code
- message
- path
- }
- realtimePrice {
- btcSatPrice {
- ...PriceOfOneSatInMinorUnitFragment
- }
- denominatorCurrency
- id
- timestamp
- usdCentPrice {
- ...PriceOfOneUsdCentInMinorUnitFragment
- }
- }
- }
-}
-
- Variables
-{"input": RealtimePriceInput}
-
- Response
-{
- "data": {
- "realtimePrice": {
- "errors": [Error],
- "realtimePrice": RealtimePrice
- }
- }
-}
-
- Types
-Account
-Fields
-| Field Name | -Description | -
|---|---|
callbackEndpoints - [CallbackEndpoint!]!
- |
- - | -
csvTransactions - String!
- |
- - | -
|
-
-
- Arguments-
-
-
-
-
- |
- |
defaultWalletId - WalletId!
- |
- - | -
displayCurrency - DisplayCurrency!
- |
- - | -
id - ID!
- |
- - | -
level - AccountLevel!
- |
- - | -
limits - AccountLimits!
- |
- - | -
notificationSettings - NotificationSettings!
- |
- - | -
realtimePrice - RealtimePrice!
- |
- - | -
transactions - TransactionConnection
- |
- - | -
|
-
-
- Arguments-
-
-
-
-
- |
- |
wallets - [Wallet!]!
- |
- - | -
Possible Types
-| Account Types | -
|---|
| - - | -
Example
-{
- "callbackEndpoints": [CallbackEndpoint],
- "csvTransactions": "xyz789",
- "defaultWalletId": WalletId,
- "displayCurrency": DisplayCurrency,
- "id": 4,
- "level": "ONE",
- "limits": AccountLimits,
- "notificationSettings": NotificationSettings,
- "realtimePrice": RealtimePrice,
- "transactions": TransactionConnection,
- "wallets": [Wallet]
-}
-
- AccountDeletePayload
- -AccountDisableNotificationCategoryInput
-Fields
-| Input Field | -Description | -
|---|---|
- category - NotificationCategory!
- |
- - | -
- channel - NotificationChannel
- |
- - | -
Example
-{"category": NotificationCategory, "channel": "PUSH"}
-
- AccountDisableNotificationChannelInput
-Fields
-| Input Field | -Description | -
|---|---|
- channel - NotificationChannel!
- |
- - | -
Example
-{"channel": "PUSH"}
-
- AccountEnableNotificationCategoryInput
-Fields
-| Input Field | -Description | -
|---|---|
- category - NotificationCategory!
- |
- - | -
- channel - NotificationChannel
- |
- - | -
Example
-{"category": NotificationCategory, "channel": "PUSH"}
-
- AccountEnableNotificationChannelInput
-Fields
-| Input Field | -Description | -
|---|---|
- channel - NotificationChannel!
- |
- - | -
Example
-{"channel": "PUSH"}
-
- AccountLevel
-Values
-| Enum Value | -Description | -
|---|---|
|
-
|
- - | -
|
-
|
- - | -
|
-
|
- - | -
|
-
|
- - | -
Example
-"ONE"
-
- AccountLimit
-Fields
-| Field Name | -Description | -
|---|---|
interval - Seconds
- |
- The rolling time interval in seconds that the limits would apply for. | -
remainingLimit - CentAmount
- |
- The amount of cents remaining below the limit for the current 24 hour period. | -
totalLimit - CentAmount!
- |
- The current maximum limit for a given 24 hour period. | -
Possible Types
-| AccountLimit Types | -
|---|
| - - | -
Example
-{
- "interval": Seconds,
- "remainingLimit": CentAmount,
- "totalLimit": CentAmount
-}
-
- AccountLimits
-Fields
-| Field Name | -Description | -
|---|---|
convert - [AccountLimit!]!
- |
- Limits for converting between currencies among a account's own wallets. | -
internalSend - [AccountLimit!]!
- |
- Limits for sending to other internal accounts. | -
withdrawal - [AccountLimit!]!
- |
- Limits for withdrawing to external onchain or lightning destinations. | -
Example
-{
- "convert": [AccountLimit],
- "internalSend": [AccountLimit],
- "withdrawal": [AccountLimit]
-}
-
- AccountNumber
-Description
-Bank account number. Accepts String or Int and coerces to String.
-Example
-"000000012345"
-
- AccountUpdateDefaultWalletIdInput
-Fields
-| Input Field | -Description | -
|---|---|
- walletId - WalletId!
- |
- - | -
Example
-{"walletId": WalletId}
-
- AccountUpdateDefaultWalletIdPayload
-Fields
-| Field Name | -Description | -
|---|---|
account - ConsumerAccount
- |
- - | -
errors - [Error!]!
- |
- - | -
Example
-{
- "account": ConsumerAccount,
- "errors": [Error]
-}
-
- AccountUpdateDisplayCurrencyInput
-Fields
-| Input Field | -Description | -
|---|---|
- currency - DisplayCurrency!
- |
- - | -
Example
-{"currency": DisplayCurrency}
-
- AccountUpdateDisplayCurrencyPayload
-Fields
-| Field Name | -Description | -
|---|---|
account - ConsumerAccount
- |
- - | -
errors - [Error!]!
- |
- - | -
Example
-{
- "account": ConsumerAccount,
- "errors": [Error]
-}
-
- AccountUpdateNotificationSettingsPayload
-Fields
-| Field Name | -Description | -
|---|---|
account - ConsumerAccount
- |
- - | -
errors - [Error!]!
- |
- - | -
Example
-{
- "account": ConsumerAccount,
- "errors": [Error]
-}
-
- AccountUpgradePayload
- -AccountUpgradeRequest
-Fields
-| Field Name | -Description | -
|---|---|
address - Address!
- |
- - | -
bankAccount - BankAccount
- |
- - | -
currentLevel - AccountLevel!
- |
- - | -
email - String
- |
- - | -
fullName - String!
- |
- - | -
idDocument - Boolean!
- |
- - | -
name - String!
- |
- ERPNext document name | -
phoneNumber - String!
- |
- - | -
requestedLevel - AccountLevel!
- |
- - | -
status - String!
- |
- Status of the upgrade request | -
terminalsRequested - Int!
- |
- - | -
username - String!
- |
- - | -
Example
-{
- "address": Address,
- "bankAccount": BankAccount,
- "currentLevel": "ONE",
- "email": "xyz789",
- "fullName": "abc123",
- "idDocument": false,
- "name": "abc123",
- "phoneNumber": "xyz789",
- "requestedLevel": "ONE",
- "status": "xyz789",
- "terminalsRequested": 123,
- "username": "xyz789"
-}
-
- AccountUpgradeRequestPayload
-Fields
-| Field Name | -Description | -
|---|---|
errors - [Error]
- |
- - | -
upgradeRequest - AccountUpgradeRequest
- |
- - | -
Example
-{
- "errors": [Error],
- "upgradeRequest": AccountUpgradeRequest
-}
-
- Address
-Example
-{
- "city": "abc123",
- "country": "xyz789",
- "line1": "xyz789",
- "line2": "abc123",
- "postalCode": "xyz789",
- "state": "abc123",
- "title": "xyz789"
-}
-
- AddressInput
-Example
-{
- "city": "abc123",
- "country": "abc123",
- "line1": "abc123",
- "line2": "xyz789",
- "postalCode": "abc123",
- "state": "abc123",
- "title": "xyz789"
-}
-
- AuthToken
-Description
-An Opaque Bearer token
-Example
-AuthToken
-
- AuthTokenPayload
- -BTCWallet
-Description
-A wallet belonging to an account which contains a BTC balance and a list of transactions.
-Fields
-| Field Name | -Description | -
|---|---|
accountId - ID!
- |
- - | -
balance - FractionalCentAmount
- |
- A balance stored in BTC. | -
id - ID!
- |
- - | -
isExternal - Boolean!
- |
- - | -
lnurlp - Lnurl
- |
- - | -
pendingIncomingBalance - SignedAmount!
- |
- An unconfirmed incoming onchain balance. | -
transactions - TransactionConnection
- |
- A list of BTC transactions associated with this wallet. | -
|
-
-
- Arguments-
-
-
-
-
- |
- |
transactionsByAddress - TransactionConnection
- |
- - | -
|
-
-
- Arguments-
-
-
-
-
- |
- |
walletCurrency - WalletCurrency!
- |
- - | -
Example
-{
- "accountId": "4",
- "balance": FractionalCentAmount,
- "id": 4,
- "isExternal": true,
- "lnurlp": Lnurl,
- "pendingIncomingBalance": SignedAmount,
- "transactions": TransactionConnection,
- "transactionsByAddress": TransactionConnection,
- "walletCurrency": "BTC"
-}
-
- Bank
-Fields
-| Field Name | -Description | -
|---|---|
name - String!
- |
- - | -
Example
-{"name": "xyz789"}
-
- BankAccount
-Fields
-| Field Name | -Description | -
|---|---|
accountName - String
- |
- - | -
accountNumber - String!
- |
- - | -
accountType - String!
- |
- - | -
bankBranch - String!
- |
- - | -
bankName - String!
- |
- - | -
currency - String!
- |
- Account currency (e.g. JMD, USD) | -
id - ID
- |
- ERPNext bank account identifier | -
isDefault - Boolean!
- |
- - | -
Example
-{
- "accountName": "xyz789",
- "accountNumber": "xyz789",
- "accountType": "abc123",
- "bankBranch": "xyz789",
- "bankName": "xyz789",
- "currency": "xyz789",
- "id": "4",
- "isDefault": true
-}
-
- BankAccountInput
-Fields
-| Input Field | -Description | -
|---|---|
- accountNumber - AccountNumber!
- |
- - | -
- accountType - String!
- |
- - | -
- bankBranch - String!
- |
- - | -
- bankName - String!
- |
- - | -
- currency - String!
- |
- - | -
Example
-{
- "accountNumber": "000000012345",
- "accountType": "xyz789",
- "bankBranch": "xyz789",
- "bankName": "xyz789",
- "currency": "abc123"
-}
-
- Boolean
-Description
-The Boolean scalar type represents true or false.
Example
-true
-
- BridgeAddExternalAccountPayload
-Fields
-| Field Name | -Description | -
|---|---|
errors - [Error!]!
- |
- - | -
externalAccount - BridgeExternalAccountLink
- |
- - | -
Example
-{
- "errors": [Error],
- "externalAccount": BridgeExternalAccountLink
-}
-
- BridgeCancelWithdrawalRequestInput
-Fields
-| Input Field | -Description | -
|---|---|
- withdrawalId - ID!
- |
- - | -
Example
-{"withdrawalId": "4"}
-
- BridgeCancelWithdrawalRequestPayload
-Fields
-| Field Name | -Description | -
|---|---|
errors - [Error!]!
- |
- - | -
withdrawal - BridgeWithdrawal
- |
- - | -
Example
-{
- "errors": [Error],
- "withdrawal": BridgeWithdrawal
-}
-
- BridgeCreateExternalAccountInput
-Fields
-| Input Field | -Description | -
|---|---|
- accountNumber - String!
- |
- - | -
- accountOwnerName - String!
- |
- - | -
- bankName - String!
- |
- - | -
- checkingOrSavings - String
- |
- - | -
- city - String!
- |
- - | -
- country - String!
- |
- - | -
- postalCode - String!
- |
- - | -
- routingNumber - String!
- |
- - | -
- state - String!
- |
- - | -
- streetLine1 - String!
- |
- - | -
Example
-{
- "accountNumber": "abc123",
- "accountOwnerName": "xyz789",
- "bankName": "abc123",
- "checkingOrSavings": "abc123",
- "city": "abc123",
- "country": "abc123",
- "postalCode": "xyz789",
- "routingNumber": "xyz789",
- "state": "xyz789",
- "streetLine1": "xyz789"
-}
-
- BridgeCreateExternalAccountPayload
-Fields
-| Field Name | -Description | -
|---|---|
errors - [Error!]!
- |
- - | -
externalAccount - BridgeExternalAccount
- |
- - | -
Example
-{
- "errors": [Error],
- "externalAccount": BridgeExternalAccount
-}
-
- BridgeCreateVirtualAccountPayload
-Fields
-| Field Name | -Description | -
|---|---|
errors - [Error!]!
- |
- - | -
virtualAccount - BridgeVirtualAccount
- |
- - | -
Example
-{
- "errors": [Error],
- "virtualAccount": BridgeVirtualAccount
-}
-
- BridgeDeleteExternalAccountInput
-Fields
-| Input Field | -Description | -
|---|---|
- externalAccountId - ID!
- |
- - | -
Example
-{"externalAccountId": 4}
-
- BridgeDeleteExternalAccountPayload
-Fields
-| Field Name | -Description | -
|---|---|
errors - [Error!]!
- |
- - | -
externalAccount - BridgeExternalAccount
- |
- - | -
Example
-{
- "errors": [Error],
- "externalAccount": BridgeExternalAccount
-}
-
- BridgeExternalAccount
-Example
-{
- "accountNumberLast4": "abc123",
- "bankName": "xyz789",
- "id": 4,
- "isDefault": false,
- "status": "xyz789"
-}
-
- BridgeExternalAccountLink
- -BridgeInitiateKycInput
- -BridgeInitiateKycPayload
-Fields
-| Field Name | -Description | -
|---|---|
errors - [Error!]!
- |
- - | -
kycLink - BridgeKycLink
- |
- - | -
Example
-{
- "errors": [Error],
- "kycLink": BridgeKycLink
-}
-
- BridgeInitiateWithdrawalInput
-Fields
-| Input Field | -Description | -
|---|---|
- withdrawalId - ID!
- |
- - | -
Example
-{"withdrawalId": "4"}
-
- BridgeInitiateWithdrawalPayload
-Fields
-| Field Name | -Description | -
|---|---|
errors - [Error!]!
- |
- - | -
withdrawal - BridgeWithdrawal
- |
- - | -
Example
-{
- "errors": [Error],
- "withdrawal": BridgeWithdrawal
-}
-
- BridgeKycLink
- -BridgeRequestWithdrawalInput
- -BridgeRequestWithdrawalPayload
-Fields
-| Field Name | -Description | -
|---|---|
errors - [Error!]!
- |
- - | -
withdrawal - BridgeWithdrawal
- |
- - | -
Example
-{
- "errors": [Error],
- "withdrawal": BridgeWithdrawal
-}
-
- BridgeSetDefaultExternalAccountInput
-Fields
-| Input Field | -Description | -
|---|---|
- externalAccountId - ID!
- |
- - | -
Example
-{"externalAccountId": 4}
-
- BridgeSetDefaultExternalAccountPayload
-Fields
-| Field Name | -Description | -
|---|---|
errors - [Error!]!
- |
- - | -
externalAccount - BridgeExternalAccount
- |
- - | -
Example
-{
- "errors": [Error],
- "externalAccount": BridgeExternalAccount
-}
-
- BridgeVirtualAccount
-Fields
-| Field Name | -Description | -
|---|---|
accountNumber - String
- |
- - | -
accountNumberLast4 - String
- |
- - | -
bankName - String
- |
- - | -
id - ID
- |
- - | -
kycLink - String
- |
- - | -
message - String
- |
- - | -
pending - Boolean
- |
- - | -
routingNumber - String
- |
- - | -
tosLink - String
- |
- - | -
Example
-{
- "accountNumber": "xyz789",
- "accountNumberLast4": "xyz789",
- "bankName": "abc123",
- "id": 4,
- "kycLink": "abc123",
- "message": "xyz789",
- "pending": false,
- "routingNumber": "abc123",
- "tosLink": "xyz789"
-}
-
- BridgeWithdrawal
-Fields
-| Field Name | -Description | -
|---|---|
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
- |
- - | -
Example
-{
- "amount": "abc123",
- "bridgeDeveloperFee": "abc123",
- "bridgeExchangeFee": "abc123",
- "bridgeTransferId": "xyz789",
- "createdAt": "xyz789",
- "currency": "abc123",
- "estimatedBridgeFee": "xyz789",
- "estimatedBridgeFeePercent": "xyz789",
- "estimatedCustomerFee": "abc123",
- "estimatedGasBuffer": "abc123",
- "externalAccountId": "xyz789",
- "failureReason": "xyz789",
- "finalAmount": "xyz789",
- "flashFee": "abc123",
- "flashFeeIsEstimate": false,
- "flashFeeNotice": "abc123",
- "flashFeePercent": "abc123",
- "id": "4",
- "status": "abc123",
- "subtotalAmount": "abc123"
-}
-
- BuildInformation
- -BusinessAccountUpgradeRequestInput
-Fields
-| Input Field | -Description | -
|---|---|
- address - AddressInput!
- |
- - | -
- bankAccount - BankAccountInput
- |
- - | -
- fullName - String!
- |
- - | -
- idDocument - String
- |
- - | -
- level - AccountLevel!
- |
- - | -
- terminalsRequested - Int
- |
- - | -
Example
-{
- "address": AddressInput,
- "bankAccount": BankAccountInput,
- "fullName": "abc123",
- "idDocument": "xyz789",
- "level": "ONE",
- "terminalsRequested": 987
-}
-
- CallbackEndpoint
-Fields
-| Field Name | -Description | -
|---|---|
id - EndpointId!
- |
- - | -
url - EndpointUrl!
- |
- - | -
Example
-{
- "id": EndpointId,
- "url": EndpointUrl
-}
-
- CallbackEndpointAddInput
-Fields
-| Input Field | -Description | -
|---|---|
- url - EndpointUrl!
- |
- callback endpoint to be called | -
Example
-{"url": EndpointUrl}
-
- CallbackEndpointAddPayload
-Fields
-| Field Name | -Description | -
|---|---|
errors - [Error!]!
- |
- - | -
id - EndpointId
- |
- - | -
Example
-{
- "errors": [Error],
- "id": EndpointId
-}
-
- CallbackEndpointDeleteInput
-Fields
-| Input Field | -Description | -
|---|---|
- id - EndpointId!
- |
- - | -
Example
-{"id": EndpointId}
-
- CaptchaCreateChallengePayload
-Fields
-| Field Name | -Description | -
|---|---|
errors - [Error!]!
- |
- - | -
result - CaptchaCreateChallengeResult
- |
- - | -
Example
-{
- "errors": [Error],
- "result": CaptchaCreateChallengeResult
-}
-
- CaptchaCreateChallengeResult
-Example
-{
- "challengeCode": "abc123",
- "failbackMode": false,
- "id": "abc123",
- "newCaptcha": true
-}
-
- CaptchaRequestAuthCodeInput
-Fields
-| Input Field | -Description | -
|---|---|
- challengeCode - String!
- |
- - | -
- channel - PhoneCodeChannelType
- |
- - | -
- phone - Phone!
- |
- - | -
- secCode - String!
- |
- - | -
- validationCode - String!
- |
- - | -
Example
-{
- "challengeCode": "xyz789",
- "channel": "SMS",
- "phone": Phone,
- "secCode": "abc123",
- "validationCode": "abc123"
-}
-
- CashWalletCutover
-Fields
-| Field Name | -Description | -
|---|---|
completedAt - Timestamp
- |
- - | -
cutoverVersion - Int!
- |
- - | -
pauseReason - String
- |
- - | -
pausedAt - Timestamp
- |
- - | -
runId - String
- |
- - | -
scheduledAt - Timestamp
- |
- - | -
startedAt - Timestamp
- |
- - | -
state - CashWalletCutoverState!
- |
- - | -
updatedAt - Timestamp!
- |
- - | -
updatedBy - String
- |
- - | -
Example
-{
- "completedAt": 1592577642,
- "cutoverVersion": 987,
- "pauseReason": "xyz789",
- "pausedAt": 1592577642,
- "runId": "xyz789",
- "scheduledAt": 1592577642,
- "startedAt": 1592577642,
- "state": "COMPLETE",
- "updatedAt": 1592577642,
- "updatedBy": "abc123"
-}
-
- CashWalletCutoverState
-Values
-| Enum Value | -Description | -
|---|---|
|
-
|
- - | -
|
-
|
- - | -
|
-
|
- - | -
|
-
|
- - | -
Example
-"COMPLETE"
-
- CashoutOffer
-Fields
-| Field Name | -Description | -
|---|---|
exchangeRate - JMDCents
- |
- The rate used when withdrawing to a JMD bank account | -
expiresAt - Timestamp!
- |
- The time at which this offer is no longer accepted by Flash | -
flashFee - USDCents!
- |
- The amount that Flash is charging for its services | -
offerId - ID!
- |
- ID of the offer | -
receiveJmd - JMDCents
- |
- The amount Flash owes to the user denominated in JMD cents (null for USD payouts) | -
receiveUsd - USDCents
- |
- The amount Flash owes to the user denominated in USD cents (null for JMD payouts) | -
send - USDCents!
- |
- The amount the user is sending to flash | -
walletId - WalletId!
- |
- ID for the users USD wallet to send from | -
Example
-{
- "exchangeRate": JMDCents,
- "expiresAt": 1592577642,
- "flashFee": USDCents,
- "offerId": 4,
- "receiveJmd": JMDCents,
- "receiveUsd": USDCents,
- "send": USDCents,
- "walletId": WalletId
-}
-
- CentAmount
-Description
-(Positive) Cent amount (1/100 of a dollar)
-Example
-CentAmount
-
- CentAmountPayload
- -ConsumerAccount
-Fields
-| Field Name | -Description | -
|---|---|
callbackEndpoints - [CallbackEndpoint!]!
- |
- - | -
csvTransactions - String!
- |
- return CSV stream, base64 encoded, of the list of transactions in the wallet | -
|
-
-
- Arguments-
-
-
-
-
- |
- |
defaultWalletId - WalletId!
- |
- - | -
displayCurrency - DisplayCurrency!
- |
- - | -
id - ID!
- |
- - | -
level - AccountLevel!
- |
- - | -
limits - AccountLimits!
- |
- - | -
notificationSettings - NotificationSettings!
- |
- - | -
quiz - [Quiz!]!
- |
- List the quiz questions of the consumer account | -
realtimePrice - RealtimePrice!
- |
- - | -
transactions - TransactionConnection
- |
- A list of all transactions associated with walletIds optionally passed. | -
|
-
-
- Arguments-
-
-
-
-
- |
- |
wallets - [Wallet!]!
- |
- - | -
Example
-{
- "callbackEndpoints": [CallbackEndpoint],
- "csvTransactions": "xyz789",
- "defaultWalletId": WalletId,
- "displayCurrency": DisplayCurrency,
- "id": 4,
- "level": "ONE",
- "limits": AccountLimits,
- "notificationSettings": NotificationSettings,
- "quiz": [Quiz],
- "realtimePrice": RealtimePrice,
- "transactions": TransactionConnection,
- "wallets": [Wallet]
-}
-
- ContactAlias
-Description
-An alias name that a user can set for a wallet (with which they have transactions)
-Example
-ContactAlias
-
- Coordinates
- -Country
-Fields
-| Field Name | -Description | -
|---|---|
id - CountryCode!
- |
- - | -
supportedAuthChannels - [PhoneCodeChannelType!]!
- |
- - | -
Example
-{
- "id": "US",
- "supportedAuthChannels": ["SMS"]
-}
-
- CountryCode
-Description
-A CCA2 country code (ex US, FR, etc)
-Example
-"US"
-
- Currency
-Example
-{
- "flag": "xyz789",
- "fractionDigits": 987,
- "id": "4",
- "name": "abc123",
- "symbol": "abc123"
-}
-
- DepositFeesInformation
-Example
-{
- "minBankFee": "xyz789",
- "minBankFeeThreshold": "xyz789",
- "ratio": "xyz789"
-}
-
- DeviceNotificationTokenCreateInput
-Fields
-| Input Field | -Description | -
|---|---|
- deviceToken - String!
- |
- - | -
Example
-{"deviceToken": "abc123"}
-
- DisplayCurrency
-Description
-Display currency of an account
-Example
-DisplayCurrency
-
- Fields
-| Field Name | -Description | -
|---|---|
address - EmailAddress
- |
- - | -
verified - Boolean
- |
- - | -
Example
-{
- "address": "test@test.com",
- "verified": false
-}
-
- EmailAddress
-Description
-Email address
-Example
-"test@test.com"
-
- EmailRegistrationId
-Description
-An id to be passed between registrationInitiate and registrationValidate for confirming email
-Example
-EmailRegistrationId
-
- EndpointId
-Example
-EndpointId
-
- EndpointUrl
-Description
-Url that will be fetched on events for the account
-Example
-EndpointUrl
-
- Error
- -ExchangeCurrencyUnit
-Values
-| Enum Value | -Description | -
|---|---|
|
-
|
- - | -
|
-
|
- - | -
Example
-"BTCSAT"
-
- Feedback
-Description
-Feedback shared with our user
-Example
-Feedback
-
- FeedbackSubmitInput
-Fields
-| Input Field | -Description | -
|---|---|
- feedback - Feedback!
- |
- - | -
Example
-{"feedback": Feedback}
-
- FeesInformation
-Fields
-| Field Name | -Description | -
|---|---|
deposit - DepositFeesInformation!
- |
- - | -
Example
-{"deposit": DepositFeesInformation}
-
- Float
-Description
-The Float scalar type represents signed double-precision fractional values as specified by IEEE 754.
Example
-987.65
-
- FractionalCentAmount
-Description
-Cent amount (1/100 of a dollar) as a float, can be positive or negative
-Example
-FractionalCentAmount
-
- Globals
-Description
-Provides global settings for the application which might have an impact for the user.
-Fields
-| Field Name | -Description | -
|---|---|
bridgeEnabled - Boolean!
- |
- Whether Bridge (international bank transfer) entry points should be shown to the user. Controlled by the instance-wide bridge feature flag. | -
buildInformation - BuildInformation!
- |
- - | -
cashoutEnabled - Boolean!
- |
- Whether cashout (settle to local bank account) entry points should be shown to the user. Controlled by the instance-wide cashout feature flag. | -
feesInformation - FeesInformation!
- |
- - | -
lightningAddressDomain - String!
- |
- The domain name for lightning addresses accepted by this Galoy instance | -
lightningAddressDomainAliases - [String!]!
- |
- - | -
network - Network!
- |
- Which network (mainnet, testnet, regtest, signet) this instance is running on. | -
nodesIds - [String!]!
- |
- 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. | -
supportedCountries - [Country!]!
- |
- A list of countries and their supported auth channels | -
topupEnabled - Boolean!
- |
- Whether wallet top-up entry points (card webview and bank-transfer-to-support) should be shown to the user. Controlled by the instance-wide topup feature flag. | -
Example
-{
- "bridgeEnabled": false,
- "buildInformation": BuildInformation,
- "cashoutEnabled": true,
- "feesInformation": FeesInformation,
- "lightningAddressDomain": "xyz789",
- "lightningAddressDomainAliases": [
- "xyz789"
- ],
- "network": "mainnet",
- "nodesIds": ["xyz789"],
- "supportedCountries": [Country],
- "topupEnabled": true
-}
-
- GraphQLApplicationError
- -Hex32Bytes
-Description
-Hex-encoded string of 32 bytes
-Example
-Hex32Bytes
-
- ID
-Description
-The ID scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4") or integer (such as 4) input value will be accepted as an ID.
Example
-"4"
-
- IdDocumentUploadUrlGenerateInput
- -IdDocumentUploadUrlPayload
-Example
-{
- "errors": [Error],
- "fileKey": "xyz789",
- "uploadUrl": "xyz789"
-}
-
- InitiateCashoutInput
- -InitiatedCashoutResponse
- -InitiationVia
-Types
-| Union Types | -
|---|
| - - | -
| - - | -
| - - | -
Example
-InitiationViaIntraLedger
-
- InitiationViaIntraLedger
- -InitiationViaLn
-Fields
-| Field Name | -Description | -
|---|---|
paymentHash - PaymentHash!
- |
- - | -
Example
-{"paymentHash": PaymentHash}
-
- InitiationViaOnChain
-Fields
-| Field Name | -Description | -
|---|---|
address - OnChainAddress!
- |
- - | -
Example
-{"address": OnChainAddress}
-
- Int
-Description
-The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
Example
-987
-
- IntraLedgerPaymentSendInput
-Fields
-| Input Field | -Description | -
|---|---|
- amount - SatAmount!
- |
- Amount in satoshis. | -
- memo - Memo
- |
- Optional memo to be attached to the payment. | -
- recipientWalletId - WalletId!
- |
- - | -
- walletId - WalletId!
- |
- The wallet ID of the sender. | -
Example
-{
- "amount": SatAmount,
- "memo": Memo,
- "recipientWalletId": WalletId,
- "walletId": WalletId
-}
-
- IntraLedgerUpdate
-Fields
-| Field Name | -Description | -
|---|---|
amount - SatAmount!
- |
- - | -
displayCurrencyPerSat - Float!
- |
- - | -
txNotificationType - TxNotificationType!
- |
- - | -
usdPerSat - Float!
- |
- - updated over displayCurrencyPerSat - | -
walletId - WalletId!
- |
- - | -
Example
-{
- "amount": SatAmount,
- "displayCurrencyPerSat": 987.65,
- "txNotificationType": "IntraLedgerPayment",
- "usdPerSat": 987.65,
- "walletId": WalletId
-}
-
- IntraLedgerUsdPaymentSendInput
-Fields
-| Input Field | -Description | -
|---|---|
- amount - FractionalCentAmount!
- |
- Amount in cents. | -
- memo - Memo
- |
- Optional memo to be attached to the payment. | -
- recipientWalletId - WalletId!
- |
- - | -
- walletId - WalletId!
- |
- The wallet ID of the sender. | -
Example
-{
- "amount": FractionalCentAmount,
- "memo": Memo,
- "recipientWalletId": WalletId,
- "walletId": WalletId
-}
-
- InvoicePaymentStatus
-Values
-| Enum Value | -Description | -
|---|---|
|
-
|
- - | -
|
-
|
- - | -
|
-
|
- - | -
Example
-"EXPIRED"
-
- IsFlashNpubInput
-Fields
-| Input Field | -Description | -
|---|---|
- npub - npub!
- |
- - | -
Example
-{"npub": npub}
-
- IsFlashNpubPayload
- -JMDCents
-Description
-Amount in Jamaican cents
-Example
-JMDCents
-
- Language
-Example
-Language
-
- LnInvoice
-Fields
-| Field Name | -Description | -
|---|---|
paymentHash - PaymentHash!
- |
- - | -
paymentRequest - LnPaymentRequest!
- |
- - | -
paymentSecret - LnPaymentSecret!
- |
- - | -
satoshis - SatAmount
- |
- - | -
Example
-{
- "paymentHash": PaymentHash,
- "paymentRequest": LnPaymentRequest,
- "paymentSecret": LnPaymentSecret,
- "satoshis": SatAmount
-}
-
- LnInvoiceCreateInput
-Fields
-| Input Field | -Description | -
|---|---|
- amount - SatAmount!
- |
- Amount in satoshis. | -
- expiresIn - Minutes
- |
- Optional invoice expiration time in minutes. | -
- memo - Memo
- |
- Optional memo for the lightning invoice. | -
- walletId - WalletId!
- |
- Wallet ID for a BTC wallet belonging to the current account. | -
Example
-{
- "amount": SatAmount,
- "expiresIn": Minutes,
- "memo": Memo,
- "walletId": WalletId
-}
-
- LnInvoiceCreateOnBehalfOfRecipientInput
-Fields
-| Input Field | -Description | -
|---|---|
- amount - SatAmount!
- |
- Amount in satoshis. | -
- descriptionHash - Hex32Bytes
- |
- - | -
- expiresIn - Minutes
- |
- Optional invoice expiration time in minutes. | -
- memo - Memo
- |
- Optional memo for the lightning invoice. | -
- recipientWalletId - WalletId!
- |
- Wallet ID for a BTC wallet which belongs to any account. | -
Example
-{
- "amount": SatAmount,
- "descriptionHash": Hex32Bytes,
- "expiresIn": Minutes,
- "memo": Memo,
- "recipientWalletId": WalletId
-}
-
- LnInvoiceFeeProbeInput
-Fields
-| Input Field | -Description | -
|---|---|
- paymentRequest - LnPaymentRequest!
- |
- - | -
- walletId - WalletId!
- |
- - | -
Example
-{
- "paymentRequest": LnPaymentRequest,
- "walletId": WalletId
-}
-
- LnInvoicePayload
- -LnInvoicePaymentInput
-Fields
-| Input Field | -Description | -
|---|---|
- memo - Memo
- |
- Optional memo to associate with the lightning invoice. | -
- paymentRequest - LnPaymentRequest!
- |
- Payment request representing the invoice which is being paid. | -
- walletId - WalletId!
- |
- Wallet ID with sufficient balance to cover amount of invoice. Must belong to the account of the current user. | -
Example
-{
- "memo": Memo,
- "paymentRequest": LnPaymentRequest,
- "walletId": WalletId
-}
-
- LnInvoicePaymentStatusInput
-Fields
-| Input Field | -Description | -
|---|---|
- paymentRequest - LnPaymentRequest!
- |
- - | -
Example
-{"paymentRequest": LnPaymentRequest}
-
- LnInvoicePaymentStatusPayload
-Fields
-| Field Name | -Description | -
|---|---|
errors - [Error!]!
- |
- - | -
status - InvoicePaymentStatus
- |
- - | -
Example
-{"errors": [Error], "status": "EXPIRED"}
-
- LnNoAmountInvoice
-Fields
-| Field Name | -Description | -
|---|---|
paymentHash - PaymentHash!
- |
- - | -
paymentRequest - LnPaymentRequest!
- |
- - | -
paymentSecret - LnPaymentSecret!
- |
- - | -
Example
-{
- "paymentHash": PaymentHash,
- "paymentRequest": LnPaymentRequest,
- "paymentSecret": LnPaymentSecret
-}
-
- LnNoAmountInvoiceCreateInput
-Fields
-| Input Field | -Description | -
|---|---|
- expiresIn - Minutes
- |
- Optional invoice expiration time in minutes. | -
- memo - Memo
- |
- Optional memo for the lightning invoice. | -
- walletId - WalletId!
- |
- ID for either a USD or BTC wallet belonging to the account of the current user. | -
Example
-{
- "expiresIn": Minutes,
- "memo": Memo,
- "walletId": WalletId
-}
-
- LnNoAmountInvoiceCreateOnBehalfOfRecipientInput
-Fields
-| Input Field | -Description | -
|---|---|
- expiresIn - Minutes
- |
- Optional invoice expiration time in minutes. | -
- memo - Memo
- |
- Optional memo for the lightning invoice. | -
- recipientWalletId - WalletId!
- |
- ID for either a USD or BTC wallet which belongs to the account of any user. | -
Example
-{
- "expiresIn": Minutes,
- "memo": Memo,
- "recipientWalletId": WalletId
-}
-
- LnNoAmountInvoiceFeeProbeInput
-Fields
-| Input Field | -Description | -
|---|---|
- amount - SatAmount!
- |
- - | -
- paymentRequest - LnPaymentRequest!
- |
- - | -
- walletId - WalletId!
- |
- - | -
Example
-{
- "amount": SatAmount,
- "paymentRequest": LnPaymentRequest,
- "walletId": WalletId
-}
-
- LnNoAmountInvoicePayload
-Fields
-| Field Name | -Description | -
|---|---|
errors - [Error!]!
- |
- - | -
invoice - LnNoAmountInvoice
- |
- - | -
Example
-{
- "errors": [Error],
- "invoice": LnNoAmountInvoice
-}
-
- LnNoAmountInvoicePaymentInput
-Fields
-| Input Field | -Description | -
|---|---|
- amount - SatAmount!
- |
- Amount to pay in satoshis. | -
- memo - Memo
- |
- Optional memo to associate with the lightning invoice. | -
- paymentRequest - LnPaymentRequest!
- |
- Payment request representing the invoice which is being paid. | -
- walletId - WalletId!
- |
- Wallet ID with sufficient balance to cover amount defined in mutation request. Must belong to the account of the current user. | -
Example
-{
- "amount": SatAmount,
- "memo": Memo,
- "paymentRequest": LnPaymentRequest,
- "walletId": WalletId
-}
-
- LnNoAmountUsdInvoiceFeeProbeInput
-Fields
-| Input Field | -Description | -
|---|---|
- amount - FractionalCentAmount!
- |
- - | -
- paymentRequest - LnPaymentRequest!
- |
- - | -
- walletId - WalletId!
- |
- - | -
Example
-{
- "amount": FractionalCentAmount,
- "paymentRequest": LnPaymentRequest,
- "walletId": WalletId
-}
-
- LnNoAmountUsdInvoicePaymentInput
-Fields
-| Input Field | -Description | -
|---|---|
- amount - FractionalCentAmount!
- |
- Amount to pay in USD cents. | -
- memo - Memo
- |
- Optional memo to associate with the lightning invoice. | -
- paymentRequest - LnPaymentRequest!
- |
- Payment request representing the invoice which is being paid. | -
- walletId - WalletId!
- |
- Wallet ID with sufficient balance to cover amount defined in mutation request. Must belong to the account of the current user. | -
Example
-{
- "amount": FractionalCentAmount,
- "memo": Memo,
- "paymentRequest": LnPaymentRequest,
- "walletId": WalletId
-}
-
- LnPaymentPreImage
-Example
-LnPaymentPreImage
-
- LnPaymentRequest
-Description
-BOLT11 lightning invoice payment request with the amount included
-Example
-LnPaymentRequest
-
- LnPaymentSecret
-Example
-LnPaymentSecret
-
- LnUpdate
-Fields
-| Field Name | -Description | -
|---|---|
paymentHash - PaymentHash!
- |
- - | -
status - InvoicePaymentStatus!
- |
- - | -
walletId - WalletId!
- |
- - | -
Example
-{
- "paymentHash": PaymentHash,
- "status": "EXPIRED",
- "walletId": WalletId
-}
-
- LnUsdInvoiceCreateInput
-Fields
-| Input Field | -Description | -
|---|---|
- amount - FractionalCentAmount!
- |
- Amount in USD cents. | -
- expiresIn - Minutes
- |
- Optional invoice expiration time in minutes. | -
- memo - Memo
- |
- Optional memo for the lightning invoice. | -
- walletId - WalletId!
- |
- Wallet ID for a USD wallet belonging to the current user. | -
Example
-{
- "amount": FractionalCentAmount,
- "expiresIn": Minutes,
- "memo": Memo,
- "walletId": WalletId
-}
-
- LnUsdInvoiceCreateOnBehalfOfRecipientInput
-Fields
-| Input Field | -Description | -
|---|---|
- amount - FractionalCentAmount!
- |
- Amount in USD cents. | -
- descriptionHash - Hex32Bytes
- |
- - | -
- expiresIn - Minutes
- |
- Optional invoice expiration time in minutes. | -
- memo - Memo
- |
- Optional memo for the lightning invoice. Acts as a note to the recipient. | -
- recipientWalletId - WalletId!
- |
- Wallet ID for a USD wallet which belongs to the account of any user. | -
Example
-{
- "amount": FractionalCentAmount,
- "descriptionHash": Hex32Bytes,
- "expiresIn": Minutes,
- "memo": Memo,
- "recipientWalletId": WalletId
-}
-
- LnUsdInvoiceFeeProbeInput
-Fields
-| Input Field | -Description | -
|---|---|
- paymentRequest - LnPaymentRequest!
- |
- - | -
- walletId - WalletId!
- |
- - | -
Example
-{
- "paymentRequest": LnPaymentRequest,
- "walletId": WalletId
-}
-
- Lnurl
-Description
-A bech32-encoded HTTPS/Onion URL that can be interacted with automatically by a WALLET in a standard way such that a SERVICE can provide extra services or a better experience for the user. Ref: https://github.com/lnurl/luds/blob/luds/01.md
-Example
-Lnurl
-
- LnurlPaymentSendInput
-Fields
-| Input Field | -Description | -
|---|---|
- amount - FractionalCentAmount!
- |
- Amount to spend from the USD/USDT wallet, in USD cents. | -
- lnurl - Lnurl!
- |
- LNURL-pay value to decode and pay. | -
- memo - Memo
- |
- Optional memo for the Lightning payment. | -
- walletId - WalletId!
- |
- Wallet ID with sufficient balance. Must belong to the current user. | -
Example
-{
- "amount": FractionalCentAmount,
- "lnurl": Lnurl,
- "memo": Memo,
- "walletId": WalletId
-}
-
- MapInfo
-Fields
-| Field Name | -Description | -
|---|---|
coordinates - Coordinates!
- |
- - | -
title - String!
- |
- - | -
Example
-{
- "coordinates": Coordinates,
- "title": "abc123"
-}
-
- MapMarker
- -Memo
-Description
-Text field in a lightning payment transaction
-Example
-Memo
-
- Merchant
-Fields
-| Field Name | -Description | -
|---|---|
coordinates - Coordinates!
- |
- GPS coordinates for the merchant that can be used to place the related business on a map | -
createdAt - Timestamp!
- |
- - | -
id - ID!
- |
- - | -
title - String!
- |
- - | -
username - Username!
- |
- The username of the merchant | -
validated - Boolean!
- |
- Whether the merchant has been validated | -
Example
-{
- "coordinates": Coordinates,
- "createdAt": 1592577642,
- "id": 4,
- "title": "xyz789",
- "username": Username,
- "validated": false
-}
-
- MerchantMapSuggestInput
-Example
-{
- "latitude": 123.45,
- "longitude": 987.65,
- "title": "abc123",
- "username": Username
-}
-
- MerchantPayload
- -Minutes
-Description
-(Positive) amount of minutes
-Example
-Minutes
-
- MobileVersions
- -MyUpdatesPayload
-Fields
-| Field Name | -Description | -
|---|---|
errors - [Error!]!
- |
- - | -
me - User
- |
- - | -
update - UserUpdate
- |
- - | -
Example
-{
- "errors": [Error],
- "me": User,
- "update": IntraLedgerUpdate
-}
-
- Network
-Values
-| Enum Value | -Description | -
|---|---|
|
-
|
- - | -
|
-
|
- - | -
|
-
|
- - | -
|
-
|
- - | -
Example
-"mainnet"
-
- NotificationCategory
-Example
-NotificationCategory
-
- NotificationChannel
-Values
-| Enum Value | -Description | -
|---|---|
|
-
|
- - | -
Example
-"PUSH"
-
- NotificationChannelSettings
-Fields
-| Field Name | -Description | -
|---|---|
disabledCategories - [NotificationCategory!]!
- |
- - | -
enabled - Boolean!
- |
- - | -
Example
-{
- "disabledCategories": [NotificationCategory],
- "enabled": false
-}
-
- NotificationSettings
-Fields
-| Field Name | -Description | -
|---|---|
push - NotificationChannelSettings!
- |
- - | -
Example
-{"push": NotificationChannelSettings}
-
- OnChainAddress
-Description
-An address for an on-chain bitcoin destination
-Example
-OnChainAddress
-
- OnChainAddressCreateInput
-Fields
-| Input Field | -Description | -
|---|---|
- walletId - WalletId!
- |
- - | -
Example
-{"walletId": WalletId}
-
- OnChainAddressCurrentInput
-Fields
-| Input Field | -Description | -
|---|---|
- walletId - WalletId!
- |
- - | -
Example
-{"walletId": WalletId}
-
- OnChainAddressPayload
-Fields
-| Field Name | -Description | -
|---|---|
address - OnChainAddress
- |
- - | -
errors - [Error!]!
- |
- - | -
Example
-{
- "address": OnChainAddress,
- "errors": [Error]
-}
-
- OnChainPaymentSendAllInput
-Fields
-| Input Field | -Description | -
|---|---|
- address - OnChainAddress!
- |
- - | -
- memo - Memo
- |
- - | -
- speed - PayoutSpeed
- |
- - | -
- walletId - WalletId!
- |
- - | -
Example
-{
- "address": OnChainAddress,
- "memo": Memo,
- "speed": "FAST",
- "walletId": WalletId
-}
-
- OnChainPaymentSendInput
-Fields
-| Input Field | -Description | -
|---|---|
- address - OnChainAddress!
- |
- - | -
- amount - SatAmount!
- |
- - | -
- memo - Memo
- |
- - | -
- speed - PayoutSpeed
- |
- - | -
- walletId - WalletId!
- |
- - | -
Example
-{
- "address": OnChainAddress,
- "amount": SatAmount,
- "memo": Memo,
- "speed": "FAST",
- "walletId": WalletId
-}
-
- OnChainTxFee
-Fields
-| Field Name | -Description | -
|---|---|
amount - SatAmount!
- |
- - | -
Example
-{"amount": SatAmount}
-
- OnChainTxHash
-Example
-OnChainTxHash
-
- OnChainUpdate
-Fields
-| Field Name | -Description | -
|---|---|
amount - SatAmount!
- |
- - | -
displayCurrencyPerSat - Float!
- |
- - | -
txHash - OnChainTxHash!
- |
- - | -
txNotificationType - TxNotificationType!
- |
- - | -
usdPerSat - Float!
- |
- - updated over displayCurrencyPerSat - | -
walletId - WalletId!
- |
- - | -
Example
-{
- "amount": SatAmount,
- "displayCurrencyPerSat": 987.65,
- "txHash": OnChainTxHash,
- "txNotificationType": "IntraLedgerPayment",
- "usdPerSat": 987.65,
- "walletId": WalletId
-}
-
- OnChainUsdPaymentSendAsBtcDenominatedInput
-Fields
-| Input Field | -Description | -
|---|---|
- address - OnChainAddress!
- |
- - | -
- amount - SatAmount!
- |
- - | -
- memo - Memo
- |
- - | -
- speed - PayoutSpeed
- |
- - | -
- walletId - WalletId!
- |
- - | -
Example
-{
- "address": OnChainAddress,
- "amount": SatAmount,
- "memo": Memo,
- "speed": "FAST",
- "walletId": WalletId
-}
-
- OnChainUsdPaymentSendInput
-Fields
-| Input Field | -Description | -
|---|---|
- address - OnChainAddress!
- |
- - | -
- amount - FractionalCentAmount!
- |
- - | -
- memo - Memo
- |
- - | -
- speed - PayoutSpeed
- |
- - | -
- walletId - WalletId!
- |
- - | -
Example
-{
- "address": OnChainAddress,
- "amount": FractionalCentAmount,
- "memo": Memo,
- "speed": "FAST",
- "walletId": WalletId
-}
-
- OnChainUsdTxFee
-Fields
-| Field Name | -Description | -
|---|---|
amount - FractionalCentAmount!
- |
- - | -
Example
-{"amount": FractionalCentAmount}
-
- OneDayAccountLimit
-Fields
-| Field Name | -Description | -
|---|---|
interval - Seconds
- |
- The rolling time interval value in seconds for the current 24 hour period. | -
remainingLimit - CentAmount
- |
- The amount of cents remaining below the limit for the current 24 hour period. | -
totalLimit - CentAmount!
- |
- The current maximum limit for a given 24 hour period. | -
Example
-{
- "interval": Seconds,
- "remainingLimit": CentAmount,
- "totalLimit": CentAmount
-}
-
- OneTimeAuthCode
-Description
-An authentication code valid for a single use
-Example
-OneTimeAuthCode
-
- PageInfo
-Description
-Information about pagination in a connection.
-Fields
-| Field Name | -Description | -
|---|---|
endCursor - String
- |
- When paginating forwards, the cursor to continue. | -
hasNextPage - Boolean!
- |
- When paginating forwards, are there more items? | -
hasPreviousPage - Boolean!
- |
- When paginating backwards, are there more items? | -
startCursor - String
- |
- When paginating backwards, the cursor to continue. | -
Example
-{
- "endCursor": "abc123",
- "hasNextPage": false,
- "hasPreviousPage": true,
- "startCursor": "abc123"
-}
-
- PaymentHash
-Example
-PaymentHash
-
- PaymentSendPayload
-Fields
-| Field Name | -Description | -
|---|---|
errors - [Error!]!
- |
- - | -
status - PaymentSendResult
- |
- - | -
Example
-{"errors": [Error], "status": "ALREADY_PAID"}
-
- PaymentSendResult
-Values
-| Enum Value | -Description | -
|---|---|
|
-
|
- - | -
|
-
|
- - | -
|
-
|
- - | -
|
-
|
- - | -
Example
-"ALREADY_PAID"
-
- PayoutSpeed
-Values
-| Enum Value | -Description | -
|---|---|
|
-
|
- - | -
Example
-"FAST"
-
- Phone
-Description
-Phone number which includes country code
-Example
-Phone
-
- PhoneCodeChannelType
-Values
-| Enum Value | -Description | -
|---|---|
|
-
|
- - | -
|
-
|
- - | -
Example
-"SMS"
-
- Price
-Description
-Price amount expressed in base/offset. To calculate, use: base / 10^offset
Example
-{
- "base": 9007199254740991,
- "currencyUnit": "xyz789",
- "formattedAmount": "abc123",
- "offset": 987
-}
-
- PriceGraphRange
-Description
-The range for the X axis in the BTC price graph
-Values
-| Enum Value | -Description | -
|---|---|
|
-
|
- - | -
|
-
|
- - | -
|
-
|
- - | -
|
-
|
- - | -
|
-
|
- - | -
Example
-"FIVE_YEARS"
-
- PriceInput
-Fields
-| Input Field | -Description | -
|---|---|
- amount - SatAmount!
- |
- - | -
- amountCurrencyUnit - ExchangeCurrencyUnit!
- |
- - | -
- priceCurrencyUnit - ExchangeCurrencyUnit!
- |
- - | -
Example
-{
- "amount": SatAmount,
- "amountCurrencyUnit": "BTCSAT",
- "priceCurrencyUnit": "BTCSAT"
-}
-
- PriceInterface
-Fields
-| Field Name | -Description | -
|---|---|
base - SafeInt!
- |
- - | -
currencyUnit - String!
- |
- - Deprecated due to type renaming - | -
offset - Int!
- |
- - | -
Possible Types
-| PriceInterface Types | -
|---|
| - - | -
| - - | -
| - - | -
Example
-{
- "base": 9007199254740991,
- "currencyUnit": "xyz789",
- "offset": 987
-}
-
- PriceOfOneSatInMinorUnit
-Description
-Price of 1 sat in base/offset. To calculate, use: base / 10^offset
Example
-{
- "base": 9007199254740991,
- "currencyUnit": "xyz789",
- "offset": 123
-}
-
- PriceOfOneSettlementMinorUnitInDisplayMinorUnit
-Description
-Price of 1 sat or 1 usd cent in base/offset. To calculate, use: base / 10^offset
Example
-{
- "base": 9007199254740991,
- "currencyUnit": "xyz789",
- "formattedAmount": "abc123",
- "offset": 987
-}
-
- PriceOfOneUsdCentInMinorUnit
-Description
-Price of 1 usd cent in base/offset. To calculate, use: base / 10^offset
Example
-{
- "base": 9007199254740991,
- "currencyUnit": "xyz789",
- "offset": 123
-}
-
- PricePayload
- -PricePoint
-Fields
-| Field Name | -Description | -
|---|---|
price - Price!
- |
- - | -
timestamp - Timestamp!
- |
- Unix timestamp (number of seconds elapsed since January 1, 1970 00:00:00 UTC) | -
Example
-{"price": Price, "timestamp": 1592577642}
-
- PublicWallet
-Description
-A public view of a generic wallet which stores value in one of our supported currencies.
-Fields
-| Field Name | -Description | -
|---|---|
id - ID!
- |
- - | -
lnurlp - Lnurl
- |
- - | -
walletCurrency - WalletCurrency!
- |
- - | -
Example
-{
- "id": "4",
- "lnurlp": Lnurl,
- "walletCurrency": "BTC"
-}
-
- Quiz
-Fields
-| Field Name | -Description | -
|---|---|
amount - SatAmount!
- |
- The reward in Satoshis for the quiz question | -
completed - Boolean!
- |
- - | -
id - ID!
- |
- - | -
Example
-{"amount": SatAmount, "completed": false, "id": 4}
-
- QuizCompletedInput
-Fields
-| Input Field | -Description | -
|---|---|
- id - ID!
- |
- - | -
Example
-{"id": "4"}
-
- QuizCompletedPayload
- -QuizQuestion
-Fields
-| Field Name | -Description | -
|---|---|
earnAmount - SatAmount!
- |
- The earn reward in Satoshis for the quiz question | -
id - ID!
- |
- - | -
Example
-{"earnAmount": SatAmount, "id": 4}
-
- RealtimePrice
-Fields
-| Field Name | -Description | -
|---|---|
btcSatPrice - PriceOfOneSatInMinorUnit!
- |
- - | -
denominatorCurrency - DisplayCurrency!
- |
- - | -
id - ID!
- |
- - | -
timestamp - Timestamp!
- |
- Unix timestamp (number of seconds elapsed since January 1, 1970 00:00:00 UTC) | -
usdCentPrice - PriceOfOneUsdCentInMinorUnit!
- |
- - | -
Example
-{
- "btcSatPrice": PriceOfOneSatInMinorUnit,
- "denominatorCurrency": DisplayCurrency,
- "id": "4",
- "timestamp": 1592577642,
- "usdCentPrice": PriceOfOneUsdCentInMinorUnit
-}
-
- RealtimePriceInput
-Fields
-| Input Field | -Description | -
|---|---|
- currency - DisplayCurrency
- |
- - | -
Example
-{"currency": DisplayCurrency}
-
- RealtimePricePayload
-Fields
-| Field Name | -Description | -
|---|---|
errors - [Error!]!
- |
- - | -
realtimePrice - RealtimePrice
- |
- - | -
Example
-{
- "errors": [Error],
- "realtimePrice": RealtimePrice
-}
-
- RequestCashoutInput
-Example
-{
- "amount": USDCents,
- "bankAccountId": "4",
- "walletId": WalletId
-}
-
- RequestCashoutResponse
-Fields
-| Field Name | -Description | -
|---|---|
errors - [Error!]!
- |
- - | -
offer - CashoutOffer
- |
- - | -
Example
-{
- "errors": [Error],
- "offer": CashoutOffer
-}
-
- SafeInt
-Description
-Non-fractional signed whole numeric value between -(2^53) + 1 and 2^53 - 1
-Example
-9007199254740991
-
- SatAmount
-Description
-(Positive) Satoshi amount
-Example
-SatAmount
-
- SatAmountPayload
- -Seconds
-Description
-(Positive) amount of seconds
-Example
-Seconds
-
- SettlementVia
-Types
-| Union Types | -
|---|
| - - | -
| - - | -
| - - | -
Example
-SettlementViaIntraLedger
-
- SettlementViaIntraLedger
-Example
-{
- "counterPartyUsername": Username,
- "counterPartyWalletId": WalletId
-}
-
- SettlementViaLn
-Fields
-| Field Name | -Description | -
|---|---|
paymentSecret - LnPaymentSecret
- |
- - Shifting property to 'preImage' to improve granularity of the LnPaymentSecret type - | -
preImage - LnPaymentPreImage
- |
- - | -
Example
-{
- "paymentSecret": LnPaymentSecret,
- "preImage": LnPaymentPreImage
-}
-
- SettlementViaOnChain
-Fields
-| Field Name | -Description | -
|---|---|
transactionHash - OnChainTxHash
- |
- - | -
vout - Int
- |
- - | -
Example
-{"transactionHash": OnChainTxHash, "vout": 987}
-
- SignedAmount
-Description
-An amount (of a currency) that can be negative (e.g. in a transaction)
-Example
-SignedAmount
-
- SignedDisplayMajorAmount
-Description
-A string amount (of a currency) that can be negative (e.g. in a transaction)
-Example
-SignedDisplayMajorAmount
-
- String
-Description
-The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
Example
-"abc123"
-
- SuccessPayload
- -Timestamp
-Description
-Timestamp field, serialized as Unix time (the number of seconds since the Unix epoch)
-Example
-1592577642
-
- TotpCode
-Description
-A time-based one-time password
-Example
-TotpCode
-
- TotpRegistrationId
-Description
-An id to be passed between set and verify for confirming totp
-Example
-TotpRegistrationId
-
- TotpSecret
-Description
-A secret to generate time-based one-time password
-Example
-TotpSecret
-
- Transaction
-Description
-Give details about an individual transaction. Galoy have a smart routing system which is automatically settling intraledger when both the payer and payee use the same wallet therefore it's possible the transactions is being initiated onchain or with lightning but settled intraledger.
-Fields
-| Field Name | -Description | -
|---|---|
createdAt - Timestamp!
- |
- - | -
direction - TxDirection!
- |
- - | -
id - ID!
- |
- - | -
initiationVia - InitiationVia!
- |
- From which protocol the payment has been initiated. | -
memo - Memo
- |
- - | -
settlementAmount - SignedAmount!
- |
- Amount of the settlement currency sent or received. | -
settlementCurrency - WalletCurrency!
- |
- Wallet currency for transaction. | -
settlementDisplayAmount - SignedDisplayMajorAmount!
- |
- - | -
settlementDisplayCurrency - DisplayCurrency!
- |
- - | -
settlementDisplayFee - SignedDisplayMajorAmount!
- |
- - | -
settlementFee - SignedAmount!
- |
- - | -
settlementPrice - PriceOfOneSettlementMinorUnitInDisplayMinorUnit!
- |
- Price in WALLETCURRENCY/SETTLEMENTUNIT at time of settlement. | -
settlementVia - SettlementVia!
- |
- To which protocol the payment has settled on. | -
status - TxStatus!
- |
- - | -
Example
-{
- "createdAt": 1592577642,
- "direction": "RECEIVE",
- "id": 4,
- "initiationVia": InitiationViaIntraLedger,
- "memo": Memo,
- "settlementAmount": SignedAmount,
- "settlementCurrency": "BTC",
- "settlementDisplayAmount": SignedDisplayMajorAmount,
- "settlementDisplayCurrency": DisplayCurrency,
- "settlementDisplayFee": SignedDisplayMajorAmount,
- "settlementFee": SignedAmount,
- "settlementPrice": PriceOfOneSettlementMinorUnitInDisplayMinorUnit,
- "settlementVia": SettlementViaIntraLedger,
- "status": "FAILURE"
-}
-
- TransactionConnection
-Description
-A connection to a list of items.
-Fields
-| Field Name | -Description | -
|---|---|
edges - [TransactionEdge!]
- |
- A list of edges. | -
pageInfo - PageInfo!
- |
- Information to aid in pagination. | -
Example
-{
- "edges": [TransactionEdge],
- "pageInfo": PageInfo
-}
-
- TransactionDetails
-Fields
-| Field Name | -Description | -
|---|---|
accountId - String
- |
- Account ID associated with the transaction | -
address - String
- |
- Bitcoin address for onchain transactions | -
amount - Float
- |
- Transaction amount | -
confirmations - Int
- |
- Number of confirmations for onchain transactions | -
createdAt - String
- |
- Transaction creation timestamp | -
currency - String
- |
- Transaction currency | -
fee - Float
- |
- Transaction fee | -
id - String!
- |
- Transaction ID | -
invoice - String
- |
- Lightning invoice (bolt11) | -
memo - String
- |
- Transaction memo/description | -
paymentHash - String
- |
- Lightning payment hash | -
paymentPreimage - String
- |
- Lightning payment preimage | -
status - String
- |
- Transaction status | -
txid - String
- |
- Bitcoin transaction ID for onchain transactions | -
type - String
- |
- Transaction type (lightning/onchain) | -
updatedAt - String
- |
- Transaction last update timestamp | -
vout - Int
- |
- Output index for onchain transactions | -
Example
-{
- "accountId": "abc123",
- "address": "abc123",
- "amount": 123.45,
- "confirmations": 987,
- "createdAt": "xyz789",
- "currency": "abc123",
- "fee": 987.65,
- "id": "abc123",
- "invoice": "xyz789",
- "memo": "abc123",
- "paymentHash": "abc123",
- "paymentPreimage": "abc123",
- "status": "xyz789",
- "txid": "abc123",
- "type": "abc123",
- "updatedAt": "abc123",
- "vout": 987
-}
-
- TransactionDetailsError
-Fields
-| Field Name | -Description | -
|---|---|
message - String!
- |
- - | -
Example
-{"message": "abc123"}
-
- TransactionDetailsInput
-Fields
-| Input Field | -Description | -
|---|---|
- transactionId - String!
- |
- Transaction ID to fetch details for | -
Example
-{"transactionId": "abc123"}
-
- TransactionDetailsPayload
-Fields
-| Field Name | -Description | -
|---|---|
errors - [TransactionDetailsError!]!
- |
- - | -
transactionDetails - TransactionDetails
- |
- - | -
Example
-{
- "errors": [TransactionDetailsError],
- "transactionDetails": TransactionDetails
-}
-
- TransactionEdge
-Description
-An edge in a connection.
-Fields
-| Field Name | -Description | -
|---|---|
cursor - String!
- |
- A cursor for use in pagination | -
node - Transaction!
- |
- The item at the end of the edge | -
Example
-{
- "cursor": "xyz789",
- "node": Transaction
-}
-
- TxDirection
-Values
-| Enum Value | -Description | -
|---|---|
|
-
|
- - | -
|
-
|
- - | -
Example
-"RECEIVE"
-
- TxNotificationType
-Values
-| Enum Value | -Description | -
|---|---|
|
-
|
- - | -
|
-
|
- - | -
|
-
|
- - | -
|
-
|
- - | -
|
-
|
- - | -
|
-
|
- - | -
Example
-"IntraLedgerPayment"
-
- TxStatus
-Values
-| Enum Value | -Description | -
|---|---|
|
-
|
- - | -
|
-
|
- - | -
|
-
|
- - | -
Example
-"FAILURE"
-
- USDCents
-Description
-Amount in USD cents
-Example
-USDCents
-
- UpdateExternalWalletInput
-Fields
-| Input Field | -Description | -
|---|---|
- lnurlp - Lnurl!
- |
- - | -
Example
-{"lnurlp": Lnurl}
-
- UpdateExternalWalletPayload
- -UpgradePayload
- -UsdWallet
-Description
-A wallet belonging to an account which contains a USD balance and a list of transactions.
-Fields
-| Field Name | -Description | -
|---|---|
accountId - ID!
- |
- - | -
balance - FractionalCentAmount
- |
- - | -
id - ID!
- |
- - | -
isExternal - Boolean!
- |
- - | -
lnurlp - Lnurl
- |
- - | -
pendingIncomingBalance - SignedAmount!
- |
- An unconfirmed incoming onchain balance. | -
transactions - TransactionConnection
- |
- - | -
|
-
-
- Arguments-
-
-
-
-
- |
- |
transactionsByAddress - TransactionConnection
- |
- - | -
|
-
-
- Arguments-
-
-
-
-
- |
- |
walletCurrency - WalletCurrency!
- |
- - | -
Example
-{
- "accountId": 4,
- "balance": FractionalCentAmount,
- "id": "4",
- "isExternal": true,
- "lnurlp": Lnurl,
- "pendingIncomingBalance": SignedAmount,
- "transactions": TransactionConnection,
- "transactionsByAddress": TransactionConnection,
- "walletCurrency": "BTC"
-}
-
- UsdtWallet
-Description
-A wallet belonging to an account which contains a USDT balance and a list of transactions.
-Fields
-| Field Name | -Description | -
|---|---|
accountId - ID!
- |
- - | -
balance - FractionalCentAmount
- |
- - | -
id - ID!
- |
- - | -
isExternal - Boolean!
- |
- - | -
lnurlp - Lnurl
- |
- - | -
pendingIncomingBalance - SignedAmount!
- |
- An unconfirmed incoming onchain balance. | -
transactions - TransactionConnection
- |
- - | -
|
-
-
- Arguments-
-
-
-
-
- |
- |
transactionsByAddress - TransactionConnection
- |
- - | -
|
-
-
- Arguments-
-
-
-
-
- |
- |
walletCurrency - WalletCurrency!
- |
- - | -
Example
-{
- "accountId": "4",
- "balance": FractionalCentAmount,
- "id": "4",
- "isExternal": true,
- "lnurlp": Lnurl,
- "pendingIncomingBalance": SignedAmount,
- "transactions": TransactionConnection,
- "transactionsByAddress": TransactionConnection,
- "walletCurrency": "BTC"
-}
-
- User
-Fields
-| Field Name | -Description | -
|---|---|
bankAccounts - [BankAccount!]!
- |
- Bank accounts available for cashout | -
contactByUsername - UserContact!
- |
- Get single contact details. Can include the transactions associated with the contact. will be moved to Accounts - | -
|
-
-
- Arguments-
-
-
-
-
- |
- |
contacts - [UserContact!]!
- |
- Get full list of contacts. Can include the transactions associated with each contact. will be moved to account - | -
createdAt - Timestamp!
- |
- - | -
defaultAccount - Account!
- |
- - | -
email - Email
- |
- Email address | -
id - ID!
- |
- - | -
language - Language!
- |
- Preferred language for user. When value is 'default' the intent is to use preferred language from OS settings. | -
npub - npub
- |
- Nostr public key | -
phone - Phone
- |
- Phone number with international calling code. | -
quizQuestions - [UserQuizQuestion!]!
- |
- List the quiz questions the user may have completed. use Quiz from Account instead - | -
totpEnabled - Boolean!
- |
- Whether TOTP is enabled for this user. | -
username - Username
- |
- Optional immutable user friendly identifier. will be moved to @Handle in Account and Wallet - | -
Example
-{
- "bankAccounts": [BankAccount],
- "contactByUsername": UserContact,
- "contacts": [UserContact],
- "createdAt": 1592577642,
- "defaultAccount": Account,
- "email": Email,
- "id": 4,
- "language": Language,
- "npub": npub,
- "phone": Phone,
- "quizQuestions": [UserQuizQuestion],
- "totpEnabled": false,
- "username": Username
-}
-
- UserContact
-Fields
-| Field Name | -Description | -
|---|---|
alias - ContactAlias
- |
- Alias the user can set for this contact. Only the user can see the alias attached to their contact. | -
id - Username!
- |
- - | -
transactions - TransactionConnection
- |
- Paginated list of transactions sent to/from this contact. | -
|
-
-
- Arguments-
-
-
-
-
- |
- |
transactionsCount - Int!
- |
- - | -
username - Username!
- |
- Actual identifier of the contact. | -
Example
-{
- "alias": ContactAlias,
- "id": Username,
- "transactions": TransactionConnection,
- "transactionsCount": 123,
- "username": Username
-}
-
- UserContactUpdateAliasInput
-Fields
-| Input Field | -Description | -
|---|---|
- alias - ContactAlias!
- |
- - | -
- username - Username!
- |
- - | -
Example
-{
- "alias": ContactAlias,
- "username": Username
-}
-
- UserContactUpdateAliasPayload
-Fields
-| Field Name | -Description | -
|---|---|
contact - UserContact
- |
- - | -
errors - [Error!]!
- |
- - | -
Example
-{
- "contact": UserContact,
- "errors": [Error]
-}
-
- UserEmailDeletePayload
- -UserEmailRegistrationInitiateInput
-Fields
-| Input Field | -Description | -
|---|---|
- email - EmailAddress!
- |
- - | -
Example
-{"email": "test@test.com"}
-
- UserEmailRegistrationInitiatePayload
-Fields
-| Field Name | -Description | -
|---|---|
emailRegistrationId - EmailRegistrationId
- |
- - | -
errors - [Error!]!
- |
- - | -
me - User
- |
- - | -
Example
-{
- "emailRegistrationId": EmailRegistrationId,
- "errors": [Error],
- "me": User
-}
-
- UserEmailRegistrationValidateInput
-Fields
-| Input Field | -Description | -
|---|---|
- code - OneTimeAuthCode!
- |
- - | -
- emailRegistrationId - EmailRegistrationId!
- |
- - | -
Example
-{
- "code": OneTimeAuthCode,
- "emailRegistrationId": EmailRegistrationId
-}
-
- UserEmailRegistrationValidatePayload
- -UserLoginInput
-Fields
-| Input Field | -Description | -
|---|---|
- code - OneTimeAuthCode!
- |
- - | -
- phone - Phone!
- |
- - | -
Example
-{
- "code": OneTimeAuthCode,
- "phone": Phone
-}
-
- UserLoginUpgradeInput
-Fields
-| Input Field | -Description | -
|---|---|
- code - OneTimeAuthCode!
- |
- - | -
- phone - Phone!
- |
- - | -
Example
-{
- "code": OneTimeAuthCode,
- "phone": Phone
-}
-
- UserLogoutInput
-Fields
-| Input Field | -Description | -
|---|---|
- deviceToken - String!
- |
- - | -
Example
-{"deviceToken": "xyz789"}
-
- UserPhoneDeletePayload
- -UserPhoneRegistrationInitiateInput
-Fields
-| Input Field | -Description | -
|---|---|
- channel - PhoneCodeChannelType
- |
- - | -
- phone - Phone!
- |
- - | -
Example
-{"channel": "SMS", "phone": Phone}
-
- UserPhoneRegistrationValidateInput
-Fields
-| Input Field | -Description | -
|---|---|
- code - OneTimeAuthCode!
- |
- - | -
- phone - Phone!
- |
- - | -
Example
-{
- "code": OneTimeAuthCode,
- "phone": Phone
-}
-
- UserPhoneRegistrationValidatePayload
- -UserQuizQuestion
-Fields
-| Field Name | -Description | -
|---|---|
completed - Boolean!
- |
- - | -
question - QuizQuestion!
- |
- - | -
Example
-{"completed": true, "question": QuizQuestion}
-
- UserQuizQuestionUpdateCompletedInput
-Fields
-| Input Field | -Description | -
|---|---|
- id - ID!
- |
- - | -
Example
-{"id": "4"}
-
- UserQuizQuestionUpdateCompletedPayload
-Fields
-| Field Name | -Description | -
|---|---|
errors - [Error!]!
- |
- - | -
userQuizQuestion - UserQuizQuestion
- |
- - | -
Example
-{
- "errors": [Error],
- "userQuizQuestion": UserQuizQuestion
-}
-
- UserTotpDeleteInput
-Fields
-| Input Field | -Description | -
|---|---|
- authToken - AuthToken!
- |
- - | -
Example
-{"authToken": AuthToken}
-
- UserTotpDeletePayload
- -UserTotpRegistrationInitiateInput
-Fields
-| Input Field | -Description | -
|---|---|
- authToken - AuthToken!
- |
- - | -
Example
-{"authToken": AuthToken}
-
- UserTotpRegistrationInitiatePayload
-Fields
-| Field Name | -Description | -
|---|---|
errors - [Error!]!
- |
- - | -
totpRegistrationId - TotpRegistrationId
- |
- - | -
totpSecret - TotpSecret
- |
- - | -
Example
-{
- "errors": [Error],
- "totpRegistrationId": TotpRegistrationId,
- "totpSecret": TotpSecret
-}
-
- UserTotpRegistrationValidateInput
-Fields
-| Input Field | -Description | -
|---|---|
- authToken - AuthToken!
- |
- - | -
- totpCode - TotpCode!
- |
- - | -
- totpRegistrationId - TotpRegistrationId!
- |
- - | -
Example
-{
- "authToken": AuthToken,
- "totpCode": TotpCode,
- "totpRegistrationId": TotpRegistrationId
-}
-
- UserTotpRegistrationValidatePayload
- -UserUpdate
-Types
-| Union Types | -
|---|
| - - | -
| - - | -
| - - | -
| - - | -
| - - | -
Example
-IntraLedgerUpdate
-
- UserUpdateLanguageInput
-Fields
-| Input Field | -Description | -
|---|---|
- language - Language!
- |
- - | -
Example
-{"language": Language}
-
- UserUpdateLanguagePayload
- -UserUpdateNpubInput
-Fields
-| Input Field | -Description | -
|---|---|
- npub - npub!
- |
- - | -
Example
-{"npub": npub}
-
- UserUpdateNpubPayload
- -UserUpdateUsernameInput
-Fields
-| Input Field | -Description | -
|---|---|
- username - Username!
- |
- - | -
Example
-{"username": Username}
-
- UserUpdateUsernamePayload
- -Username
-Description
-Unique identifier of a user
-Example
-Username
-
- Wallet
-Description
-A generic wallet which stores value in one of our supported currencies.
-Fields
-| Field Name | -Description | -
|---|---|
accountId - ID!
- |
- - | -
balance - FractionalCentAmount
- |
- - | -
id - ID!
- |
- - | -
isExternal - Boolean!
- |
- - | -
lnurlp - Lnurl
- |
- - | -
pendingIncomingBalance - SignedAmount!
- |
- - | -
transactions - TransactionConnection
- |
- Transactions are ordered anti-chronologically, ie: the newest transaction will be first | -
|
-
-
- Arguments-
-
-
-
-
- |
- |
transactionsByAddress - TransactionConnection
- |
- Transactions are ordered anti-chronologically, ie: the newest transaction will be first | -
|
-
-
- Arguments-
-
-
-
-
- |
- |
walletCurrency - WalletCurrency!
- |
- - | -
Possible Types
-| Wallet Types | -
|---|
| - - | -
| - - | -
| - - | -
Example
-{
- "accountId": 4,
- "balance": FractionalCentAmount,
- "id": "4",
- "isExternal": false,
- "lnurlp": Lnurl,
- "pendingIncomingBalance": SignedAmount,
- "transactions": TransactionConnection,
- "transactionsByAddress": TransactionConnection,
- "walletCurrency": "BTC"
-}
-
- WalletCurrency
-Values
-| Enum Value | -Description | -
|---|---|
|
-
|
- - | -
|
-
|
- - | -
|
-
|
- - | -
Example
-"BTC"
-
- WalletId
-Description
-Unique identifier of a wallet
-Example
-WalletId
-
- npub
-Description
-Nostr Identity public key
-Example
-npub
-
-
-
-
\s*<\/div>/,
- '