Update v1 pending approval

put/api/v1/pendingApprovals/{id}

Updates the state of a pending approval for a v1 wallet to approved or rejected. You can manage pending approvals programmatically by API or with the BigGo web UI. Ensure your authentication token has the proper scope. When creating an access token in the web UI, check the permission, "Update Pending Approvals" (under "Account Settings" > "Developer Options" > "Access Tokens").

BitGo recommends that you create a webhook policy so that you can automate approving and rejecting transactions.

Path Parameters

  • idstringRequired
    Example: 59cd72485007a239fb00282ed480da1f
    Pattern: ^[0-9a-f]{32}$

Request Body

otp string
state string

200 Response

id string
Example: 59cd72485007a239fb00282ed480da1f
Match pattern: ^[0-9a-f]{32}$
bitcoinAddress string
Example: 1G47mSr3oANXMafVrR8UC4pzV7FEAzo3r9
enterprise string
The Id of the associated enterprise
Example: 59cd72485007a239fb00282ed480da1f
Match pattern: ^[0-9a-f]{32}$
walletId string
The base address of the associated wallet
Example: 1G47mSr3oANXMafVrR8UC4pzV7FEAzo3r9
creator string
The Id of the User that created the Pending Approval
Example: 59cd72485007a239fb00282ed480da1f
Match pattern: ^[0-9a-f]{32}$
createDate string <date-time>
info object
type string
Allowed values: bitcoinAddressWhitelistRequest userChangeRequest policyRuleRequest dailyLimitPolicyRequest transactionRequest tagUpdateRequest updateEnterpriseRequest updateApprovalsRequiredRequest
updateEnterpriseRequest object
updateApprovalsRequiredRequest object
state string
Allowed values: pending approved rejected
walletUserIds array[string]
an array of all the Users on the Wallet who need to see this Pending Approval
Example: 59cd72485007a239fb00282ed480da1f
approvalsRequired number
Minimum: >= 1
resolvers array[object]
user string
date string
resolutionType string
Allowed values: pending approved rejected
signatures array[string]
videoApprover string
videoLink string
videoException string

202 Response

id string
Example: 59cd72485007a239fb00282ed480da1f
Match pattern: ^[0-9a-f]{32}$
bitcoinAddress string
Example: 1G47mSr3oANXMafVrR8UC4pzV7FEAzo3r9
enterprise string
The Id of the associated enterprise
Example: 59cd72485007a239fb00282ed480da1f
Match pattern: ^[0-9a-f]{32}$
walletId string
The base address of the associated wallet
Example: 1G47mSr3oANXMafVrR8UC4pzV7FEAzo3r9
creator string
The Id of the User that created the Pending Approval
Example: 59cd72485007a239fb00282ed480da1f
Match pattern: ^[0-9a-f]{32}$
createDate string <date-time>
info object
type string
Allowed values: bitcoinAddressWhitelistRequest userChangeRequest policyRuleRequest dailyLimitPolicyRequest transactionRequest tagUpdateRequest updateEnterpriseRequest updateApprovalsRequiredRequest
updateEnterpriseRequest object
updateApprovalsRequiredRequest object
state string
Allowed values: pending approved rejected
walletUserIds array[string]
an array of all the Users on the Wallet who need to see this Pending Approval
Example: 59cd72485007a239fb00282ed480da1f
approvalsRequired number
Minimum: >= 1
resolvers array[object]
user string
date string
resolutionType string
Allowed values: pending approved rejected
signatures array[string]
videoApprover string
videoLink string
videoException string