Skip to content
GitHub

Mutations

createAsset

Type: AssetMutationResponse!

Create an asset

Arguments

NameDescription
input
CreateAssetInput!

createAssetLiquidityWithdrawal

Type: LiquidityMutationResponse

Withdraw asset liquidity

Arguments

NameDescription
input
CreateAssetLiquidityWithdrawalInput!

createIncomingPayment

Type: IncomingPaymentResponse!

Create an internal Open Payments Incoming Payment. The receiver has a wallet address on this Rafiki instance.

Arguments

NameDescription
input
CreateIncomingPaymentInput!

createOrUpdatePeerByUrl

Type: CreateOrUpdatePeerByUrlMutationResponse!

Create a peer using a URL

Arguments

NameDescription
input
CreateOrUpdatePeerByUrlInput!

createOutgoingPayment

Type: OutgoingPaymentResponse!

Create an Open Payments Outgoing Payment

Arguments

NameDescription
input
CreateOutgoingPaymentInput!

createOutgoingPaymentFromIncomingPayment

Type: OutgoingPaymentResponse!

Create an Open Payments Outgoing Payment from an incoming payment

Arguments

NameDescription
input
CreateOutgoingPaymentFromIncomingPaymentInput!

createPeer

Type: CreatePeerMutationResponse!

Create a peer

Arguments

NameDescription
input
CreatePeerInput!

createPeerLiquidityWithdrawal

Type: LiquidityMutationResponse

Withdraw peer liquidity

Arguments

NameDescription
input
CreatePeerLiquidityWithdrawalInput!

createQuote

Type: QuoteResponse!

Create an Open Payments Quote

Arguments

NameDescription
input
CreateQuoteInput!

createReceiver

Type: CreateReceiverResponse!

Create an internal or external Open Payments Incoming Payment. The receiver has a wallet address on either this or another Open Payments resource server.

Arguments

NameDescription
input
CreateReceiverInput!

createWalletAddress

Type: CreateWalletAddressMutationResponse!

Create a wallet address

Arguments

NameDescription
input
CreateWalletAddressInput!

createWalletAddressKey

Type: CreateWalletAddressKeyMutationResponse

Add a public key to a wallet address that is used to verify Open Payments requests.

Arguments

NameDescription
input
CreateWalletAddressKeyInput!

createWalletAddressWithdrawal

Type: WalletAddressWithdrawalMutationResponse

Withdraw liquidity from a wallet address received via Web Monetization.

Arguments

NameDescription
input
CreateWalletAddressWithdrawalInput!

deletePeer

Type: DeletePeerMutationResponse!

Delete a peer

Arguments

NameDescription
input
DeletePeerInput!

depositAssetLiquidity

Type: LiquidityMutationResponse

Deposit asset liquidity

Arguments

NameDescription
input
DepositAssetLiquidityInput!

depositEventLiquidity

Type: LiquidityMutationResponse

Deprecated: Use depositOutgoingPaymentLiquidity

Deposit webhook event liquidity

Arguments

NameDescription
input
DepositEventLiquidityInput!

depositOutgoingPaymentLiquidity

Type: LiquidityMutationResponse

Deposit outgoing payment liquidity

Arguments

NameDescription
input
DepositOutgoingPaymentLiquidityInput!

depositPeerLiquidity

Type: LiquidityMutationResponse

Deposit peer liquidity

Arguments

NameDescription
input
DepositPeerLiquidityInput!

postLiquidityWithdrawal

Type: LiquidityMutationResponse

Post liquidity withdrawal. Withdrawals are two-phase commits and are committed via this mutation.

Arguments

NameDescription
input
PostLiquidityWithdrawalInput!

revokeWalletAddressKey

Type: RevokeWalletAddressKeyMutationResponse

Revoke a public key associated with a wallet address. Open Payment requests using this key for request signatures will be denied going forward.

Arguments

NameDescription
input
RevokeWalletAddressKeyInput!

setFee

Type: SetFeeResponse!

Set the fee on an asset

Arguments

NameDescription
input
SetFeeInput!

triggerWalletAddressEvents

Type: TriggerWalletAddressEventsMutationResponse!

If automatic withdrawal of funds received via Web Monetization by the wallet address are disabled, this mutation can be used to trigger up to n withdrawal events.

Arguments

NameDescription
input
TriggerWalletAddressEventsInput!

updateAsset

Type: AssetMutationResponse!

Update an asset

Arguments

NameDescription
input
UpdateAssetInput!

updatePeer

Type: UpdatePeerMutationResponse!

Update a peer

Arguments

NameDescription
input
UpdatePeerInput!

updateWalletAddress

Type: UpdateWalletAddressMutationResponse!

Update a wallet address

Arguments

NameDescription
input
UpdateWalletAddressInput!

voidLiquidityWithdrawal

Type: LiquidityMutationResponse

Void liquidity withdrawal. Withdrawals are two-phase commits and are rolled back via this mutation.

Arguments

NameDescription
input
VoidLiquidityWithdrawalInput!

withdrawEventLiquidity

Type: LiquidityMutationResponse

Deprecated: Use withdrawOutgoingPaymentLiquidity, withdrawIncomingPaymentLiquidity, or createWalletAddressWithdrawal

Withdraw webhook event liquidity

Arguments

NameDescription
input
WithdrawEventLiquidityInput!

withdrawIncomingPaymentLiquidity

Type: LiquidityMutationResponse

Withdraw incoming payment liquidity

Arguments

NameDescription
input
WithdrawIncomingPaymentLiquidityInput!

withdrawOutgoingPaymentLiquidity

Type: LiquidityMutationResponse

Withdraw outgoing payment liquidity

Arguments

NameDescription
input
WithdrawOutgoingPaymentLiquidityInput!