Mutations
approveIncomingPayment
Type: ApproveIncomingPaymentResponse!
Approves the incoming payment if the incoming payment is in the PENDING state
Arguments
Name | Description |
---|---|
inputApproveIncomingPaymentInput!
|
cancelIncomingPayment
Type: CancelIncomingPaymentResponse!
Cancel the incoming payment if the incoming payment is in the PENDING state
Arguments
Name | Description |
---|---|
inputCancelIncomingPaymentInput!
|
cancelOutgoingPayment
Type: OutgoingPaymentResponse!
Cancel an outgoing payment.
Arguments
Name | Description |
---|---|
inputCancelOutgoingPaymentInput!
|
createAsset
Type: AssetMutationResponse!
Create a new 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!
|
createIncomingPaymentWithdrawal
Type: LiquidityMutationResponse
Withdraw incoming payment liquidity.
Arguments
Name | Description |
---|---|
inputCreateIncomingPaymentWithdrawalInput!
|
createOrUpdatePeerByUrl
Type: CreateOrUpdatePeerByUrlMutationResponse!
Create or update 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!
|
createOutgoingPaymentWithdrawal
Type: LiquidityMutationResponse
Withdraw outgoing payment liquidity.
Arguments
Name | Description |
---|---|
inputCreateOutgoingPaymentWithdrawalInput!
|
createPeer
Type: CreatePeerMutationResponse!
Create a new 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 new 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!
|
deleteAsset
Type: DeleteAssetMutationResponse!
Delete an asset.
Arguments
Name | Description |
---|---|
inputDeleteAssetInput!
|
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 (deprecated).
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 structure 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 existing asset.
Arguments
Name | Description |
---|---|
inputUpdateAssetInput!
|
updateIncomingPayment
Type: IncomingPaymentResponse!
Update an existing incoming payment.
Arguments
Name | Description |
---|---|
inputUpdateIncomingPaymentInput!
|
updatePeer
Type: UpdatePeerMutationResponse!
Update an existing peer.
Arguments
Name | Description |
---|---|
inputUpdatePeerInput!
|
updateWalletAddress
Type: UpdateWalletAddressMutationResponse!
Update an existing 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
createOutgoingPaymentWithdrawal, createIncomingPaymentWithdrawal, or createWalletAddressWithdrawal
Withdraw webhook event liquidity (deprecated).
Arguments
Name | Description |
---|---|
inputWithdrawEventLiquidityInput!
|