Pending approval

Update pending approval

Updates the state of a pending approval 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.

put/api/v2/pendingapprovals/{approvalId}

Path parameters

approvalIdstring required
Example:59cd72485007a239fb00282ed480da1f

Request body

otpstring
statestring

Response

OK

idstring
coinstring

A cryptocurrency or token ticker symbol.

walletstring
enterprisestring
organizationstring
creatorstring
createDatestring date-time
scope'enterprise' | 'wallet'

What kind of entity the Pending Approval is tied to

userIdsId[]

All the Users who should see this Pending Approval

approvalsRequiredinteger
walletLabelstring

Example response

{
  "id": "59cd72485007a239fb00282ed480da1f",
  "coin": "btc",
  "wallet": "59cd72485007a239fb00282ed480da1f",
  "enterprise": "59cd72485007a239fb00282ed480da1f",
  "organization": "59cd72485007a239fb00282ed480da1f",
  "creator": "59cd72485007a239fb00282ed480da1f",
  "info": {
    "transactionRequest": {
      "fee": "2000000",
      "recipients": [
        {
          "address": "2MvrwRYBAuRtPTiZ5MyKg42Ke55W3fZJfZS",
          "amount": "2000000"
        }
      ],
      "requestedAmount": "2000000",
      "sourceWallet": "59cd72485007a239fb00282ed480da1f",
      "triggeredPolicy": "59cd72485007a239fb00282ed480da1f"
    }
  },
  "userIds": [
    "59cd72485007a239fb00282ed480da1f"
  ],
  "approvalsRequired": 1,
  "addressLabels": [
    {
      "address": "2MvrwRYBAuRtPTiZ5MyKg42Ke55W3fZJfZS",
      "label": "Bob's Hot Wallet Address",
      "walletLabel": "My Wallet"
    }
  ]
}

Changes