Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 30 additions & 1 deletion dev/apollo-federation/supergraph.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ type BridgeAddExternalAccountPayload
@join__type(graph: PUBLIC)
{
errors: [Error!]!
externalAccount: BridgeExternalAccount
externalAccount: BridgeExternalAccountLink
}

type BridgeCreateVirtualAccountPayload
Expand All @@ -287,6 +287,13 @@ type BridgeExternalAccount
status: String!
}

type BridgeExternalAccountLink
@join__type(graph: PUBLIC)
{
expiresAt: String!
linkUrl: String!
}

input BridgeInitiateKycInput
@join__type(graph: PUBLIC)
{
Expand Down Expand Up @@ -1092,6 +1099,22 @@ A bech32-encoded HTTPS/Onion URL that can be interacted with automatically by a
scalar Lnurl
@join__type(graph: PUBLIC)

input LnurlPaymentSendInput
@join__type(graph: PUBLIC)
{
"""Amount to spend from the USD/USDT wallet, in USD cents."""
amount: FractionalCentAmount!

"""LNURL-pay value to decode and pay."""
lnurl: Lnurl!

"""Optional memo for the Lightning payment."""
memo: Memo

"""Wallet ID with sufficient balance. Must belong to the current user."""
walletId: WalletId!
}

input LnUsdInvoiceCreateInput
@join__type(graph: PUBLIC)
{
Expand Down Expand Up @@ -1311,6 +1334,12 @@ type Mutation
"""
lnUsdInvoiceCreateOnBehalfOfRecipient(input: LnUsdInvoiceCreateOnBehalfOfRecipientInput!): LnInvoicePayload!
lnUsdInvoiceFeeProbe(input: LnUsdInvoiceFeeProbeInput!): CentAmountPayload!

"""
Pay a LNURL-pay endpoint using a USD/USDT wallet balance.
The wallet amount is converted to whole-satoshi millisatoshis before calling IBEX.
"""
lnurlPaymentSend(input: LnurlPaymentSendInput!): PaymentSendPayload!
merchantMapSuggest(input: MerchantMapSuggestInput!): MerchantPayload!
onChainAddressCreate(input: OnChainAddressCreateInput!): OnChainAddressPayload!
onChainAddressCurrent(input: OnChainAddressCurrentInput!): OnChainAddressPayload!
Expand Down
Loading