Cancel wallet approval request
Cancels a pending wallet operation approval request. The requester may cancel its own request; otherwise the resolver must be an active member of the assigned approval group, or an organization/API admin when no group is assigned. A user and the API keys they created are treated as the same requester.
Path parameters
Approval request ID.
Approval request ID.
Headers
Selects the active project for this request. Required for session/dashboard callers. Ignored when authenticating with an API key, whose scope is fixed to the key's project.
Selects the active project for this request. Required for session/dashboard callers. Ignored when authenticating with an API key, whose scope is fixed to the key's project.
Response
Wallet approval request
Example response
{
"data": {
"approvalRequest": {
"id": "appr_example",
"projectId": "prj_example",
"status": "pending",
"provider": "fireblocks",
"providerReference": "fb_tx_123",
"expiresAt": "2025-01-01T00:00:00.000Z",
"resolvedAt": "2025-01-01T00:00:00.000Z",
"createdAt": "2025-01-01T00:00:00.000Z",
"updatedAt": "2025-01-01T00:00:00.000Z",
"wallet": {
"walletId": "privy_wallet_123",
"publicKey": "So11111111111111111111111111111111111111112"
},
"operation": {
"walletId": "privy_wallet_123",
"source": "api",
"operationFamily": "payment",
"operationType": "payment_transfer_execute",
"status": "pending_approval",
"executionStartedAt": "2025-01-01T00:00:00.000Z",
"executionCompletedAt": "2025-01-01T00:00:00.000Z",
"createdAt": "2025-01-01T00:00:00.000Z",
"updatedAt": "2025-01-01T00:00:00.000Z"
},
"policyEvaluation": {
"decision": "approval_required",
"reasonCode": "wallet_policy_match",
"requiresApproval": true,
"evaluatedAt": "2025-01-01T00:00:00.000Z"
}
}
},
"meta": {
"requestId": "req_example",
"timestamp": "2025-01-01T00:00:00.000Z"
}
}Changes
Changed in 2 of the 10 revisions of this API.67
- ○
removed the
issuanceenum value from thedata/approvalRequest/operation/operationFamilyresponse property for the response status200response-property-enum-value-removed
- ○
removed the
paymentenum value from thedata/approvalRequest/operation/operationFamilyresponse property for the response status200response-property-enum-value-removed
- ○
removed the
programenum value from thedata/approvalRequest/operation/operationFamilyresponse property for the response status200response-property-enum-value-removed
- ○
removed the
provider_adminenum value from thedata/approvalRequest/operation/operationFamilyresponse property for the response status200response-property-enum-value-removed
- ○
removed the
rampenum value from thedata/approvalRequest/operation/operationFamilyresponse property for the response status200response-property-enum-value-removed
- ○
removed the
raw_signenum value from thedata/approvalRequest/operation/operationFamilyresponse property for the response status200response-property-enum-value-removed
- ○
removed the
transferenum value from thedata/approvalRequest/operation/operationFamilyresponse property for the response status200response-property-enum-value-removed
- ○
- ●
added the new
SERVICE_UNAVAILABLEenum value to theerror/coderesponse property for the response status400response-property-enum-value-added
- ●
added the new
SERVICE_UNAVAILABLEenum value to theerror/coderesponse property for the response status401response-property-enum-value-added
- ●
added the new
SERVICE_UNAVAILABLEenum value to theerror/coderesponse property for the response status403response-property-enum-value-added
- ●
added the new
SERVICE_UNAVAILABLEenum value to theerror/coderesponse property for the response status404response-property-enum-value-added
- ●
added the new
SERVICE_UNAVAILABLEenum value to theerror/coderesponse property for the response status409response-property-enum-value-added
- ●
added the new
SERVICE_UNAVAILABLEenum value to theerror/coderesponse property for the response status500response-property-enum-value-added
- ●