Mutations
addAssetLiquidity
Type: LiquidityMutationResponse
Add asset liquidity
Arguments
Name | Description |
---|---|
inputAddAssetLiquidityInput!
|
addPeerLiquidity
Type: LiquidityMutationResponse
Add peer liquidity
Arguments
Name | Description |
---|---|
inputAddPeerLiquidityInput!
|
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 payment pointer 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!
|
createPaymentPointer
Type: CreatePaymentPointerMutationResponse!
Create a payment pointer
Arguments
Name | Description |
---|---|
inputCreatePaymentPointerInput!
|
createPaymentPointerKey
Type: CreatePaymentPointerKeyMutationResponse
Add a public key to a payment pointer that is used to verify Open Payments requests.
Arguments
Name | Description |
---|---|
inputCreatePaymentPointerKeyInput!
|
createPaymentPointerWithdrawal
Type: PaymentPointerWithdrawalMutationResponse
Withdraw liquidity from a payment pointer received via Web Monetization.
Arguments
Name | Description |
---|---|
inputCreatePaymentPointerWithdrawalInput!
|
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 payment pointer on either this or another Open Payments resource server.
Arguments
Name | Description |
---|---|
inputCreateReceiverInput!
|
deletePeer
Type: DeletePeerMutationResponse!
Delete a peer
Arguments
Name | Description |
---|---|
inputDeletePeerInput!
|
depositEventLiquidity
Type: LiquidityMutationResponse
Deposit webhook event liquidity
Arguments
Name | Description |
---|---|
inputDepositEventLiquidityInput!
|
postLiquidityWithdrawal
Type: LiquidityMutationResponse
Post liquidity withdrawal. Withdrawals are two-phase commits and are committed via this mutation.
Arguments
Name | Description |
---|---|
inputPostLiquidityWithdrawalInput!
|
revokePaymentPointerKey
Type: RevokePaymentPointerKeyMutationResponse
Revoke a public key associated with a payment pointer. Open Payment requests using this key for request signatures will be denied going forward.
Arguments
Name | Description |
---|---|
inputRevokePaymentPointerKeyInput!
|
setFee
Type: SetFeeResponse!
Set the fee on an asset
Arguments
Name | Description |
---|---|
inputSetFeeInput!
|
triggerPaymentPointerEvents
Type: TriggerPaymentPointerEventsMutationResponse!
If automatic withdrawal of funds received via Web Monetization by the payment pointer are disabled, this mutation can be used to trigger up to n withdrawal events.
Arguments
Name | Description |
---|---|
inputTriggerPaymentPointerEventsInput!
|
updateAsset
Type: AssetMutationResponse!
Update an asset
Arguments
Name | Description |
---|---|
inputUpdateAssetInput!
|
updatePaymentPointer
Type: UpdatePaymentPointerMutationResponse!
Update a payment pointer
Arguments
Name | Description |
---|---|
inputUpdatePaymentPointerInput!
|
updatePeer
Type: UpdatePeerMutationResponse!
Update a peer
Arguments
Name | Description |
---|---|
inputUpdatePeerInput!
|
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
Withdraw webhook event liquidity
Arguments
Name | Description |
---|---|
inputWithdrawEventLiquidityInput!
|