Skip to main content

Cancel a funding request

Cancel a funding request with the API.

There isn't a dedicated mutation to cancel a funding transaction. Instead, use the same cancelTransaction mutation used to cancel any other transaction.

Guide​

  1. Call the cancelTransaction mutation.
  2. Enter the transaction ID for the account funding request.
  3. Add the success payload and rejections.

Mutation​

🔎 Open the mutation in API Explorer

mutation CancelFundingRequest {
cancelTransaction(
input: { transactionId: "$FUNDING_TRANSACTION_ID" }
) {
... on CancelTransactionSuccessPayload {
__typename
message
}
... on ForbiddenRejection {
__typename
message
}
}
}