Mutations
createAsset
Type: AssetMutationResponse!
Create an asset
Arguments
Name | Description |
---|---|
inputCreateAssetInput!
|
createAssetLiquidityWithdrawal
Type: LiquidityMutationResponse
Withdraw asset liquidity
Arguments
Name | Description |
---|---|
inputCreateAssetLiquidityWithdrawalInput!
|
createIncomingPayment
Type: IncomingPaymentResponse!
Create an internal Open Payments Incoming Payment. The receiver has a wallet address on this Rafiki instance.
Arguments
Name | Description |
---|---|
inputCreateIncomingPaymentInput!
|
createOrUpdatePeerByUrl
Type: CreateOrUpdatePeerByUrlMutationResponse!
Create a peer using a URL
Arguments
Name | Description |
---|---|
inputCreateOrUpdatePeerByUrlInput!
|
createOutgoingPayment
Type: OutgoingPaymentResponse!
Create an Open Payments Outgoing Payment
Arguments
Name | Description |
---|---|
inputCreateOutgoingPaymentInput!
|
createOutgoingPaymentFromIncomingPayment
Type: OutgoingPaymentResponse!
Create an Open Payments Outgoing Payment from an incoming payment
Arguments
Name | Description |
---|---|
inputCreateOutgoingPaymentFromIncomingPaymentInput!
|
createPeer
Type: CreatePeerMutationResponse!
Create a peer
Arguments
Name | Description |
---|---|
inputCreatePeerInput!
|
createPeerLiquidityWithdrawal
Type: LiquidityMutationResponse
Withdraw peer liquidity
Arguments
Name | Description |
---|---|
inputCreatePeerLiquidityWithdrawalInput!
|
createQuote
Type: QuoteResponse!
Create an Open Payments Quote
Arguments
Name | Description |
---|---|
inputCreateQuoteInput!
|
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
Name | Description |
---|---|
inputCreateReceiverInput!
|
createWalletAddress
Type: CreateWalletAddressMutationResponse!
Create a wallet address
Arguments
Name | Description |
---|---|
inputCreateWalletAddressInput!
|
createWalletAddressKey
Type: CreateWalletAddressKeyMutationResponse
Add a public key to a wallet address that is used to verify Open Payments requests.
Arguments
Name | Description |
---|---|
inputCreateWalletAddressKeyInput!
|
createWalletAddressWithdrawal
Type: WalletAddressWithdrawalMutationResponse
Withdraw liquidity from a wallet address received via Web Monetization.
Arguments
Name | Description |
---|---|
inputCreateWalletAddressWithdrawalInput!
|
deletePeer
Type: DeletePeerMutationResponse!
Delete a peer
Arguments
Name | Description |
---|---|
inputDeletePeerInput!
|
depositAssetLiquidity
Type: LiquidityMutationResponse
Deposit asset liquidity
Arguments
Name | Description |
---|---|
inputDepositAssetLiquidityInput!
|
depositEventLiquidity
Type: LiquidityMutationResponse
Deprecated: Use
depositOutgoingPaymentLiquidity
Deposit webhook event liquidity
Arguments
Name | Description |
---|---|
inputDepositEventLiquidityInput!
|
depositOutgoingPaymentLiquidity
Type: LiquidityMutationResponse
Deposit outgoing payment liquidity
Arguments
Name | Description |
---|---|
inputDepositOutgoingPaymentLiquidityInput!
|
depositPeerLiquidity
Type: LiquidityMutationResponse
Deposit peer liquidity
Arguments
Name | Description |
---|---|
inputDepositPeerLiquidityInput!
|
postLiquidityWithdrawal
Type: LiquidityMutationResponse
Post liquidity withdrawal. Withdrawals are two-phase commits and are committed via this mutation.
Arguments
Name | Description |
---|---|
inputPostLiquidityWithdrawalInput!
|
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
Name | Description |
---|---|
inputRevokeWalletAddressKeyInput!
|
setFee
Type: SetFeeResponse!
Set the fee on an asset
Arguments
Name | Description |
---|---|
inputSetFeeInput!
|
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
Name | Description |
---|---|
inputTriggerWalletAddressEventsInput!
|
updateAsset
Type: AssetMutationResponse!
Update an asset
Arguments
Name | Description |
---|---|
inputUpdateAssetInput!
|
updatePeer
Type: UpdatePeerMutationResponse!
Update a peer
Arguments
Name | Description |
---|---|
inputUpdatePeerInput!
|
updateWalletAddress
Type: UpdateWalletAddressMutationResponse!
Update a wallet address
Arguments
Name | Description |
---|---|
inputUpdateWalletAddressInput!
|
voidLiquidityWithdrawal
Type: LiquidityMutationResponse
Void liquidity withdrawal. Withdrawals are two-phase commits and are rolled back via this mutation.
Arguments
Name | Description |
---|---|
inputVoidLiquidityWithdrawalInput!
|
withdrawEventLiquidity
Type: LiquidityMutationResponse
Deprecated: Use
withdrawOutgoingPaymentLiquidity, withdrawIncomingPaymentLiquidity, or createWalletAddressWithdrawal
Withdraw webhook event liquidity
Arguments
Name | Description |
---|---|
inputWithdrawEventLiquidityInput!
|
withdrawIncomingPaymentLiquidity
Type: LiquidityMutationResponse
Withdraw incoming payment liquidity
Arguments
Name | Description |
---|---|
inputWithdrawIncomingPaymentLiquidityInput!
|
withdrawOutgoingPaymentLiquidity
Type: LiquidityMutationResponse
Withdraw outgoing payment liquidity
Arguments
Name | Description |
---|---|
inputWithdrawOutgoingPaymentLiquidityInput!
|