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​
- Call the
cancelTransaction
mutation. - Enter the transaction ID for the account funding request.
- 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
}
}
}