REST API›Policy›Wallet Policy

PUT

Updates a rule on the policy attached to a wallet.

Path Params

  • coin string required
    Coin or token identifier (e.g. eth, talgo, txlm:token)
  • walletId string required
    The wallet ID

Body Params

object

Request body for updating or removing a wallet policy rule. The combination of id and coin must uniquely identify the rule when coin is set on the rule.

Plain field map for h.httpRequest — not a codec. Use {@link UpdateRemoveWalletPolicyRuleBodyCodec} to decode.

  • coin string
    Coin scope for the rule when the stored rule has a coin set (required for some rule types).
  • id string required
    The id of the rule
  • type string enum required
    What causes this rule to trigger
    advancedWhitelistallTxbitcoinAddressWhitelistcoinAddressWhitelistcoinAddressBlacklisttransactionLimitvelocityLimitwebhook
  • condition object
    Parameters for the rule type (e.g. whitelist add/remove)

    ONE OF

    • add object required
      AdvancedListRuleEntry in platform.yaml (Json-safe).
      add object
      • item string required
        A valid blockchain address, wallet ID, enterprise ID, or organization ID
      • type string enum required
        The kind of resource a list rule entry refers to
        addresswalletIdenterpriseId
      • metaData object
        Any data about this entry that is not used to determine when to enforce the policy
        metaData object
        • label string
          A client-specified label for this entry. Label must be unique or not set.
        • owner string
          The legal owner of the address, wallet, enterprise, or organization.
        • address string
          The address of the receiver wallet if the whitelist is of type 'walletId'.
        • <key> object
      • verificationState string enum
        Whether entries have already been verified
        unverifiedverified
      • verifiedBy string enum
        The source that verified this entry
        unverifiedRulefastWithdrawal
  • action object required
    What happens when this rule is triggered
    action object
    • type string enum required
      What happens when this rule is triggered
      denygetApprovalgetFinalApprovalgetCustodianApprovalgetIdVerification
    • userIds array of strings
  • lockDate string date-time
    The time at which this rule becomes immutable

Responses

200
OK

Response Body

object

  • allowBackupKeySigning boolean required
  • approvalsRequired number required

    >= 1

  • coin string required
    A cryptocurrency symbol or token ticker symbol
  • coinSpecific object required

    ONE OF

    • rootAddress string required
    • addressCount string required
    • pendingChainInitialization boolean required
    • rewardAddress string required
    • lastChainIndex map of numbers
      lastChainIndex object
      • <key> number
  • deleted boolean required
  • disableTransactionNotifications boolean required
  • hasLargeNumberOfAddresses boolean nullable required
  • id string required

    matches ^[0-9a-f]{32}$

  • isCold boolean required
  • label string required
  • startDate string date-time required
    Wallet creation time
  • admin object
    admin object
    • policy object
      policy object
      • date string date-time required
      • id string required

        matches ^[0-9a-f]{32}$

      • latest boolean required
      • version number required
      • enterpriseId string
      • label string
      • rules array of objects
        rules object
        • id string required
        • type string enum required
          advancedWhitelistcoinAddressWhitelistcoinAddressBlacklist
        • action object required
          What happens when this rule is triggered
          action object
          • type string enum required
            The type of the action
            denygetApprovalgetEnterpriseUserApprovalgetUserRoleApprovalgetAnyApprovalgetFinalApprovalgetVideoApprovalgetIdVerificationverifyWalletRebalancegetCustodianApprovalgetCustodialSignaturetriggerWebhookNotificationperformLivenessVerificationrecommendBackingWalletRoutinggetManualTrustReviewgetManualSupportReviewgetSupportManagerApprovalgetVideoApprovalFromSupportevaluateFraudRisk
          • userIds array of strings
        • latest boolean
        • version number
        • lockDate string date-time
          The time at which this rule becomes immutable
        • mutabilityConstraint string enum
          Specifies whether a BitGo admin can change "lockDate" * "managed" - Not locked, but requires approval from a BitGo admin to change * "permanent" - "lockDate" cannot be changed * "sticky" - Not included in bulk unlock, but "lockDate" can be individually changed
          permanentmanaged
        • coin string
          A cryptocurrency symbol or token ticker symbol
        • condition object
          Parameters for the type

          ONE OF

        • walletId string
          The ID of the wallet this rule originates from. Populated only when the rule is returned as part of an EVM keyring aggregated response (includeEvmKeyringWhitelist=true) for rules that belong to a derived wallet. Absent for rules on the main wallet itself.
      • walletId string

        matches ^[0-9a-f]{32}$

  • billingEnterprise string
  • buildDefaults object
    buildDefaults object
    • minFeeRate number
      (UTXO only) Wallet-level minimum fee rate that must be greater than or equal to the default of 1000 satoshis/kvByte. Per transaction, you can override "minFeeRate" with the "feeRate" parameter.

      >= 1000

    • maxFeeRate number
    • feeMultiplier number nullable
    • changeAddressType string nullable
    • autoReserveUnspentsOnBuildMins number nullable
  • clientFlags array of objects
    clientFlags object
    • name string
    • value boolean
  • config object
    config object
    • nodeId object
  • custodialWalletId string

    matches ^[0-9a-f]{32}$

  • customChangeKeySignatures object
    customChangeKeySignatures object
    • user string
    • backup string
    • bitgo string
  • customerWalletId string
  • enterprise string

    matches ^[0-9a-f]{32}$

  • evmKeyRingReferenceWalletId string
    Reference wallet ID for EVM keyring wallets (child wallets only)

    matches ^[0-9a-f]{32}$

  • isParent boolean
    Indicates if this wallet is a parent wallet in an EVM keyring setup
  • enabledChildChains array of strings
  • archivedChildChains array of strings
  • organization string
  • bitgoOrg string
  • freeze object
    freeze object
    • time string date-time
    • expires string date-time
    • reason string enum
      Why a wallet was frozen
      TxIntentMismatchTxIntentMismatchRecipientTxIntentMismatchContractTxIntentMismatchApprovalUserRequestAdminRequest
    • referenceId string
      An optional reference ID for tracking purposes
    • adminOrUserId string
      The user who froze the wallet (could be a regular user or an admin)
  • instantProvider string
  • keys array of strings
  • keySignatures object
    keySignatures object
    • backupPub string
    • bitgoPub string
  • m number
    Number of signatures required. This value must be 2 for hot wallets, 1 for ofc wallets, and not specified for custodial wallets.
  • migratedFrom string
  • multisigType string enum
    onchaintss
  • multisigTypeVersion string enum
    MPCv2
  • n number
    Number of keys provided. This value must be 3 for hot wallets, 1 for ofc wallets, and not specified for custodial wallets.
  • recoverable boolean
  • tags array of strings
  • type string enum
    The type describes who owns the keys to the wallet and how they are stored. "cold" wallets are wallets where the private key of the user key is stored exclusively outside of BitGo's system. "custodial" means that this wallet is a cold wallet where BitGo owns the keys. Only customers of the BitGo Trust can create this kind of wallet. "custodialPaired" means that this is a hot wallet that is owned by the customer but it will be linked to a cold (custodial) wallet where BitGo owns the keys. This option is only available to customers of BitGo Inc. BitGo stores an encrypted private key for the user key of "hot" wallets. "trading" wallets are trading accounts where the coin is "ofc". "distributedCustody" means You manage one key and another key agent manages the second key. BitGo manages the third key
    backingcoldcustodialcustodialPairedhotadvancedtrading
  • subType string enum
    distributedCustodypairedCustodialcustodialHotcustodialColdlightningCustodylightningSelfCustodyonPrem
  • balanceString string
    The cleared balance of the address in base units (e.g. Satoshis). Guaranteed to not lose precision. The is only returned if the expandBalance query parameter is set to true.
  • balance number
    The cleared balance of the address in base units (e.g. Satoshis). The is only returned if the expandBalance query parameter is set to true.
  • confirmedBalanceString string
    The total balance of confirmed transactions in base units (e.g. Satoshis). The is only returned if the expandBalance query parameter is set to true. Guaranteed to not lose precision.
  • confirmedBalance number
    The total balance of confirmed transactions in base units (e.g. Satoshis). The is only returned if the expandBalance query parameter is set to true.
  • spendableBalanceString string
    The total balance in base units (e.g. Satoshis) which may be used as inputs for creating new transactions in string representation. Guaranteed to not lose precision. The is only returned if the expandBalance query parameter is set to true.
  • spendableBalance number
    The total balance in base units (e.g. Satoshis) which may be used as inputs for creating new transactions in string representation. The is only returned if the expandBalance query parameter is set to true.
  • stakingBalanceString string
    The staked balance in base units. Guaranteed to not lose precision. The is only returned if the includeStakingBalances query parameter is set to true.
  • rewardBalanceString string
    The staking reward balance in base units. Guaranteed to not lose precision. The is only returned if the includeStakingBalances query parameter is set to true.
  • withdrawHoldAmountUsdString string
    Total USD value (in cents) of active ACH-deposit related withdraw holds on this wallet. Only present for OFC wallets when allTokens=true is passed.
  • offchain object
    Lightning Balances
    offchain object
    • inboundBalance string required
      Inbound balance in millisatoshis (remote balance)
    • inboundPendingBalance string required
      Pending inbound balance in millisatoshis (pending open remote balance)
    • inboundUnsettledBalance string required
      Unsettled inbound balance in millisatoshis (unsettled remote balance)
    • outboundBalance string required
      Outbound balance in millisatoshis (local balance)
    • outboundPendingBalance string required
      Pending outbound balance in millisatoshis (pending open local balance)
    • outboundUnsettledBalance string required
      Unsettled outbound balance in millisatoshis (unsettled local balance)
    • outboundLockedBalance string required
      Locked (from pending force closed channels) outbound balance in millisatoshis (locked local balance)
    • outboundReservedBalance string required
      Total outbound reserved balance in millisatoshis (reserved local balance)
    • outboundSpendableBalance string required
      Total outbound spendable balance in millisatoshis (spendable local balance)
  • users array of objects
    users object
    • needsRecovery boolean
    • permissions array of string enums required
      adminspendviewfreezetradedapp
    • recoverable boolean
    • user string
  • walletFlags array of objects
    walletFlags object
    • name string enum required
      isStakinglightningambossLightningmusigKptrackingInscriptionsrbfcoldWalletStakingtokenizationTokenoneClickStakingsolOfcStakingsuiOfcStakingenableWalletConnectenableSolCustomTxenableAptCustomTx
    • value string required
  • receiveAddress object
    receiveAddress object
    • coin string required
      A cryptocurrency symbol or token ticker symbol
    • wallet string required
    • chain number enum required
      011011202130314041
    • index number required
    • id string
      Platform public ID for an address

      matches ^[0-9a-f]{32}$

    • address string

      up to 250 characters

    • balance object
      balance object
      • balanceString string required
        String representation of the balance. Guaranteed to not lose precision.
      • confirmedBalanceString string required
        The total balance of confirmed transactions for the address (in the chain's base unit). Guaranteed to not lose precision.
      • spendableBalanceString string required
        The total balance of the address (in the chain's base unit) which may be used as inputs for creating new transactions in string representation. Guaranteed to not lose precision.
      • updated string
        The last time a transaction affected the balance of this address
      • balance number
      • lockedBalanceString string
      • reservedBalanceString string
      • totalReceived number
        The total amount received on this address (in the chain's base unit)
      • totalSent number
        The total amount sent from this address (in the chain's base unit)
      • transferCount number
      • tokens map of objects
        tokens object
        • <key> object
      • nfts map of objects
        nfts object
        • <key> object
      • unsupportedNfts map of objects
        unsupportedNfts object
        • <key> object
      • type object
      • metadata object
    • coinSpecific object
      Properties specific to certain coin types

      ONE OF

      • rootAddress string required
      • trustedTokens array of objects
        trustedTokens object
        • state string enum
          pendingactive
        • limit string
        • token string
      • addressVersion number
      • threshold number
      • bitgoKey object
      • bitgoPubKey string
    • label string
      A human-readable label for the address

      up to 250 characters

    • lastNonce number

      Defaults to -1

    • token string
    • proof string
    • signature string
    • lastConsolidatedTime string date
    • needsConsolidation boolean
    • tokenConsolidationState object
    • tokenAddress object
  • customTags array of strings
  • safe string
    Public id of the safe that minted this wallet. Absent on non-safe wallets.

    matches ^[0-9a-f]{32}$

202
Accepted

Response Body

object

Response for the 202 four-eyes path — thrown by the controller (via respondWithPendingApproval) as the success signal, wrapping a single pending approval. Unlike the transactions-domain PendingApprovalResponse wrapper, this one has no error/triggeredPolicy sibling fields — just { pendingApproval }.
  • pendingApproval object required
    pendingApproval object
    • id string required

      matches ^[0-9a-f]{32}$

    • coin string
      A cryptocurrency or token ticker symbol.
    • wallet string

      matches ^[0-9a-f]{32}$

    • walletType string
    • walletSubType string
      The subtype of the wallet (e.g., custodialHot)
    • wallets array of strings
    • enterprise string

      matches ^[0-9a-f]{32}$

    • organization string

      matches ^[0-9a-f]{32}$

    • safeId string
      The safe the pending approval is scoped to
    • organizationName string
      The organization name
    • bitgoOrg string
      The BitGo organization
    • creator string required

      matches ^[0-9a-f]{32}$

    • createDate string date-time required
      The creation date of the pending approval
    • approvedDate string date-time
      The date when the approval was granted
    • updatedAt string date-time
      The date when the approval was last updated (any update, not just processing)
    • keyCurve string enum
      The key curve of the coin attached to this pending approval
      secp256k1ed25519bls12_381redpallas
    • info object required
      Information about the pending approval
      info object
      • type string enum required
        userChangeRequesttransactionRequesttransactionRequestFullpolicyRuleRequestupdateApprovalsRequiredRequestupdateEnterpriseRequestupdateOrganizationRequestgenericRequestenterpriseInviteRequestupdateWalletSettingRequestupdateWalletTagsRequest
      • userChangeRequest object
        userChangeRequest object
        • action string
          The action taken
        • permissions array of strings
        • userChanged string
          The user that changed
      • transactionRequest object
        transactionRequest object
        • buildParams object
          The build parameters for the transaction
        • coinSpecific object
          Coin-specific details
        • comment string nullable
          The comment for the transaction request
        • fee object
          The fee for the transaction
        • isUnsigned boolean nullable
          Indicates if the transaction is unsigned
        • policyUniqueId object
          The unique ID for the policy
        • recipients array of objects
          recipients object
          • address string
            The address of the recipient

            up to 250 characters

          • amount object
            The amount to be transferred
          • data string
            Additional data for the transaction
        • requestedAmount object
          The requested amount
        • sourceWallet object
          The source wallet
        • triggeredPolicy object
          The triggered policy for the transaction
        • validTransaction string
          Indicates if the transaction is valid
        • validTransactionHash string
          The hash of the valid transaction
        • verificationItems array of strings nullable
          The verification items for the transaction
        • verificationRuleId string nullable
          The ID of the verification rule
        • videoApprovers array of objects
      • transactionRequestFull object
        transactionRequestFull object
        • intent object
          The intent of the transaction request

          ONE OF

          • sequenceId string
            Client-assigned sequence identifier for idempotency.
          • comment string
            Human-readable memo attached to the transaction.
          • nonce string or number
            Override the on-chain nonce for this transaction.
          • recipients array of objects required
            recipients object
            • address object required
              address object
              • address string
              • option map of objects
                option object
                • <key> object
            • amount object required
              amount object
              • value string required
              • symbol string required
            • data string
          • intentType string enum required
            Must be "payment".
            payment
        • policyUniqueId string
          The unique ID for the policy
        • txRequest object
          The transaction request details

          ONE OF

          • intent object
            The intent of the transaction request

            ONE OF

            • unspents array of strings
            • intentType string enum required
              Must be "consolidate".
              consolidate
            • receiveAddress string required
              Destination address for consolidated funds. Must be a wallet-owned address.
            • senderAddressIndex number
              Index of the wallet address to use as the sender.
            • consolidateId string
              Opaque identifier used to correlate consolidation requests.
            • recipients array of objects
              recipients object
              • tokenData object
                tokenData object
                • tokenQuantity string required
                • tokenType string required
                • tokenId string
                • tokenName string required
                • tokenContractAddress string
                • decimals number
              • address object required
                address object
                • Same shape as Address.
              • amount object required
                amount object
                • Same shape as Amount.
              • data string
            • keepAlive boolean
              When true, leaves a small amount in the source address to keep it alive.
            • nonce string or number
              Override the on-chain nonce for this transaction.
          • unsignedTxs array of objects
            unsignedTxs object
            • parsedTx object required
              parsedTx object
              • inputs array of objects required
                inputs object
                • valueString string required
                • _id string
                • address string
                • chain number
                • derivationIndex number
                • index number
                • value number
              • minerFee string or number required
              • outputs array of objects required
                outputs object
                • valueString string required
                • address string
                • change boolean
                • coinName string
                • data string
                • isPayGo boolean
                • value number
                • wallet string
                • walletV1 string
                • baseAddress string
                • enterprise string
              • spendAmount string or number required
              • gasPrice number
              • hasUnvalidatedData boolean
              • payGoFee string or number
              • spendAmounts array of objects
                spendAmounts object
                • <key> object
              • type string
            • serializedTxHex string required
              The unsigned transaction as a hex string.
            • signableHex string required
              The portion of a transaction used to generate a signature (may or may not be the same as serializedTxHex) as a hex string.
            • derivationPath string
              A bip32 path.
            • coinSpecific object
              Coin specific information.
              coinSpecific object
              • nonceAddress string
              • stakingAddress string
              • signature string
              • <key> object
            • feeInfo object
              feeInfo object
              • fee string or number required
              • feeString string required
          • signatureShares array of objects
            signatureShares object
            • vssProof string
              The VSS proof of the signature share
            • privateShareProof string
              The private share proof
            • publicShare string
              The public share
            • from string enum required
              The source of the signature share.
              userbackupbitgo
            • to string enum required
              The recipient of the signature share.
              userbackupbitgo
            • share string required
              The signature share
          • commitmentShares array of objects
            commitmentShares object
            • type string enum required
              The type of the commitment share
              commitment
            • from string enum required
              The source of the commitment share
              userbackupbitgo
            • to string enum required
              The recipient of the commitment share.
              userbackupbitgo
            • share string required
              The commitment share.
          • txHashes array of strings
          • apiVersion string enum
            The API version of the transaction request
            litefull
          • txRequestId string uuid required
            A unique ID for the TxRequest document across all wallets. The combination of the txRequestId and version will always be unique.
          • idempotencyKey string
            The idempotency key of the transaction request
          • walletId string required
            The id of the Wallet the TxRequest is for.
          • walletType string enum
            The type describes who owns the keys to the wallet associated to the TxRequest.
            backingcoldcustodialcustodialPairedhotadvancedtrading
          • version number required
            The version of the transaction request
          • enterpriseId string
            If the wallet that owns the TxRequest is owned by an enterprise then this is the Id of said enterprise.

            matches ^[0-9a-f]{32}$

          • organizationId string
            The id of the organization the TxRequest's wallet belongs to.
          • state string enum required
            pendingApprovalcanceledrejectedinitializedpendingDeliverydeliveredpendingUserSignaturependingUserCommitmentpendingUserRSharependingUserGSharereadyToSendsignedfailed
          • date string date-time required
            The date and time this version of the TxRequest document was created.
          • createdDate string date-time required
            The date and time the version 1 TxRequest document was created.
          • userId string required
            The Id of the User that produced this version of the TxRequest document. Could have created a new document or updated an existing document.
          • initiatedBy string required
            The Id of the User that originally created the TxRequest document (initiated the TxRequest).
          • updatedBy string required
            The Id of the User that last updated the TxRequest document. This is an alias for the userId field.
          • intent object
            The intent of the transaction request
          • intents array of objects required
          • pendingApprovalId string
            The id of the Pending Approval that was created for the TxRequest if one was required.
          • policiesChecked boolean
          • latest boolean required
            Indicates if this is the latest transaction request
          • isCanceled boolean
            True, if the transaction request is canceled.
          • cancelReason string
            The reason the transaction request was canceled, if applicable.
          • initiatedByDAppClient boolean
            True when the txRequest was initiated by a dApp OAuth client (e.g. Narval).
          • txChannel object
            Immutable DeFi / marketplace channel classification (DEFI-300).
            txChannel object
            • clientId string
              OAuth dApp client id (Narval).
            • connector string enum
              External entry connector (narval, walletconnect). Omitted for internal BitGo flows.
              narvalwalletconnect
            • defiAction string enum
              approvedepositwithdraw
            • protocol string enum
              DeFi protocol (morpho, aave, concrete).
              morphoaaveconcrete
            • source string enum required
              internalexternal
            • type string enum required
              defi
            • vaultId string
            • walletConnectRequestId string
              defi-service walletconnect_requests.id when supplied on the intent.
        • txRequestId string uuid required
          The ID of the transaction request
        • verificationItems array of strings
        • verificationRuleId string
          The ID of the verification rule
        • videoApprovers array of strings
        • walletRebalanceEventId string
          The ID of the wallet rebalance event
      • policyRuleRequest object
        policyRuleRequest object
        • action string
          The action of the policy rule request
        • batch object
          Present when this approval is one batch of a split submission
          batch object
          • groupId string required
          • index number required
          • total number required
        • update object
          The update details of the policy rule request (single-wallet)
          update object
          • action object
            The action of the policy rule
            action object
            • type string enum required
              The type of the action
              denygetApprovalgetEnterpriseUserApprovalgetUserRoleApprovalgetAnyApprovalgetFinalApprovalgetVideoApprovalgetIdVerificationverifyWalletRebalancegetCustodianApprovalgetCustodialSignaturetriggerWebhookNotificationperformLivenessVerificationrecommendBackingWalletRoutinggetManualTrustReviewgetManualSupportReviewgetSupportManagerApprovalgetVideoApprovalFromSupportevaluateFraudRisk
            • userIds array of strings
          • coin string
            A cryptocurrency symbol or token ticker symbol
          • condition object
            The condition of the policy rule

            ONE OF

            • add string
            • remove string
            • metaData map of objects
              metaData object
              • <key> map of objects
                value object
                • <key> object
          • generatePolicy boolean
            Should generate new whitelist policy when generatePolicy is undefined *
          • id string
            The ID of the policy rule
          • lockDate string date
          • type string enum
            The type of the API rule
            advancedWhitelistcoinAddressWhitelistcoinAddressBlacklist
          • walletId string
            Optional walletId field for multi-wallet updates
        • updates array of objects
          updates object
          • action object
            The action of the policy rule
            action object
            • type string enum required
              The type of the action
              denygetApprovalgetEnterpriseUserApprovalgetUserRoleApprovalgetAnyApprovalgetFinalApprovalgetVideoApprovalgetIdVerificationverifyWalletRebalancegetCustodianApprovalgetCustodialSignaturetriggerWebhookNotificationperformLivenessVerificationrecommendBackingWalletRoutinggetManualTrustReviewgetManualSupportReviewgetSupportManagerApprovalgetVideoApprovalFromSupportevaluateFraudRisk
            • userIds array of strings
          • coin string
            A cryptocurrency symbol or token ticker symbol
          • condition object
            The condition of the policy rule

            ONE OF

            • add string
            • remove string
            • metaData map of objects
              metaData object
              • <key> map of objects
                value object
                • <key> object
          • generatePolicy boolean
            Should generate new whitelist policy when generatePolicy is undefined *
          • id string
            The ID of the policy rule
          • lockDate string date
          • type string enum
            The type of the API rule
            advancedWhitelistcoinAddressWhitelistcoinAddressBlacklist
          • walletId string
            Optional walletId field for multi-wallet updates
      • updateApprovalsRequiredRequest object
        updateApprovalsRequiredRequest object
        • requestedApprovalsRequired number
          The number of requested approvals required
      • updateEnterpriseRequest object
        updateEnterpriseRequest object
        • action string enum
          addupdateremove
        • email string
          The email of the user
        • isVideoIdUser boolean
          Indicates if the user is a video ID user
        • permissions string enum
          The permissions associated with the update
          adminauditorwallet.create
        • userId string
          The ID of the user
      • updateOrganizationRequest object
        updateOrganizationRequest object
        • action string enum
          addupdateremove
        • email string
          The email of the user
        • inviterInfo object
          CaaS org add-invite only (POST /api/v2/organization/{orgId}/user); UMS org user changes use genericRequest.
          inviterInfo object
          • email string required
          • fullName string required
          • id string required
        • role string enum
          The role of the user in the organization
          serviceUseradminmembercustomer
        • userId string
          The ID of the user
      • genericRequest object
        genericRequest object
        • anchors array of objects
          anchors object
          • anchorType string enum required
            The type of the anchor
            policyRuleIdsettlementIdcrossChainRecoveryId
          • key string required
            The key of the anchor
          • value string required
            The value of the anchor
        • changeType string enum
          The type of change requested
          createupdatedeleteunlockbulkUnlockbulkArchiveduplicate
        • currentId string
          The current ID associated with the request
        • description string
          The description of the request
        • metadata map of objects
          The metadata of the request
          metadata object
          • <key> string or number or boolean or array of strings
        • proposedId string
          The proposed ID associated with the request
        • resources array of objects
          resources object
          • currentId string
          • metadata map of objects
            metadata object
            • <key> string or number or boolean or array of strings
          • proposedId string
        • resourceType string
          The resource type of the request
      • enterpriseInviteRequest object
        enterpriseInviteRequest object
        • action string enum
          addupdateremove
        • email string
          The email of the user
        • enterpriseInfo object
          Additional info used by the client accepting the invite
          enterpriseInfo object
          • id string required
          • invitedBy object required
            Inviter snapshot on CaaS org add-invite inviterInfo and enterprise invite invitedBy. Not used for UMS genericRequest.
            invitedBy object
            • id string required
            • email string required
            • fullName string required
          • name string required
          • requiredVerificationStep string required
          • userKycState string
        • isVideoIdUser boolean
          Indicates if the user is a video ID user
        • permissions string enum
          The permissions associated with the invite
          adminauditorwallet.create
        • userId string
          The ID of the user
      • updateWalletSettingRequest object
        updateWalletSettingRequest object
        • userKeySigningRequired object
          userKeySigningRequired object
          • newValue boolean required
          • oldValue boolean required
      • updateWalletTagsRequest object
        updateWalletTagsRequest object
        • action string enum required
          Whether to add or remove the specified tags
          addremove
        • customTags array of strings required
    • state string required
      The state of the pending approval

      ONE OF

      string enum

    • scope string enum required
      What kind of entity the Pending Approval is tied to
      enterprisewalletorganizationglobalsafe
    • userIds array of strings
    • approvalsRequired number

      >= 1

    • walletLabel string
      Label for the wallet
    • addressLabels array of objects
      addressLabels object
      • address string required

        up to 250 characters

      • label string required
        The label
      • walletLabel string
        The wallet label
    • resolvers array of objects
      resolvers object
      • autoApproved boolean
        Whether the resolution was auto approved
      • date string date-time
        The date of resolution
      • resolutionAction string enum
        Action taken during resolution
        approverejectskipfail
      • resolutionMemo string
        Memo regarding the resolution
      • resolutionType string enum required
        The type of resolution
        pendingawaitingSignaturependingFinalApprovalpendingCustodianApprovalpendingVideoApprovalpendingIdVerificationpendingLivenessVerificationpendingManualTrustReviewpendingManualSupportReviewpendingVideoApprovalFromSupportpendingFraudRiskEvaluation
      • user string
        The user who resolved the approval
      • videoApprover string
        The approver of the video resolution
      • videoException string
        Exception details for the video
      • videoLink string
        Link to the resolution video
    • approvers array of strings
    • singleRunResults array of objects
      singleRunResults object
      • ruleId string
        The rule ID
      • triggered boolean
        Whether the rule was triggered
    • txRequestId string uuid
      Transaction request ID
    • videoId object
      ID for the video related to the approval
      videoId object
      • date string date-time
        The date of the video ID
      • user string
        The user associated with the video ID
      • videoApprover string
        The approver of the video
      • videoException string
        The exception related to the video
      • videoLink string
        The link to the video
    • version number
      Version of the pending approval
    • policyEvaluationId string
      ID for the policy evaluation
    • actions array of objects
      actions object
      • approvers array of strings
      • excludedApprovers array of strings
      • id string required
        The ID of the action
      • name string required
        The name of the action
      • operator string enum
        The operator of the action
        ANDOR
      • parameters object required
        The parameters of the action
        parameters object
        • minRequired string or number
        • userIds array of strings
        • initiatorIsAllowedToApprove boolean
        • webhookURL string

          at least 1 characters

        • livenessCheckUser string enum
          transactionInitiatorwalletAdminsvideoIdUsersenterpriseAdmin
        • isFallback boolean
        • walletSubtype string enum
          custodialColdcustodialHotlightningCustody
        • userRoleIds array of strings
      • resolvers array of objects
        resolvers object
        • autoApproved boolean
          Whether the resolution was auto approved
        • date string date-time
          The date of resolution
        • resolutionAction string enum
          Action taken during resolution
          approverejectskipfail
        • resolutionMemo string
          Memo regarding the resolution
        • resolutionType string enum required
          The type of resolution
          pendingawaitingSignaturependingFinalApprovalpendingCustodianApprovalpendingVideoApprovalpendingIdVerificationpendingLivenessVerificationpendingManualTrustReviewpendingManualSupportReviewpendingVideoApprovalFromSupportpendingFraudRiskEvaluation
        • user string
          The user who resolved the approval
        • videoApprover string
          The approver of the video resolution
        • videoException string
          Exception details for the video
        • videoLink string
          Link to the resolution video
      • status string enum required
        The status of the action
        SKIPPEDPENDINGNOT_NEEDEDCOMPLETECANCELLEDFAILEDAUTO_CANCELLED
    • resolutionOrder array of objects
      resolutionOrder object
      • actions array of strings required
    • useLegacyPolicyEngine boolean
      Flag to use legacy policy engine
    • videoCallId string
      ID for the video call
    • lastUpdated string date-time
      The last date the approval was processing
    • freeze object
      The freeze state
      freeze object
      • actions array of objects
        actions object
        • reason string
        • state string enum
          frozenunFrozen
        • time string date-time
        • userId string
        • username string
      • state string enum
        frozenunFrozen
    • memo array of objects
      memo object
      • text string required
        The text of the memo
      • time string date-time required
        The time the memo was created
      • userId string required
        The user ID of the admin who created the memo
      • username string required
        The username of the admin who created the memo
    • associatedInquiries array of objects
      associatedInquiries object
      • inquiryId string required
      • inquiryStatus string enum required
        completedfailed
      • inquirySubType string enum required
        withdrawalLivenessCheckmanagePolicyLivenessCheckgovIdSelfie
      • inquiryType string enum required
        livenessCheck
    • securityControlEvents array of objects
      securityControlEvents object
      • control string
        The security control that was evaluated
      • date string date-time required
        The date the event was recorded
      • evaluatedControls array of objects
        evaluatedControls object
        • control string required
        • message string
        • result string enum required
          allowedblocked
      • ip string
        The IP address of the user
      • message string
        Message from the security control
      • result string enum required
        Whether the user was allowed or blocked
        allowedblocked
      • user string required
        The user who triggered the security control check
400
Bad Request

Response Body

ONE OF

  • name string
    Error code
  • context map of objects required
    Properties that apply to a specific error name
    context object
    • <key> object
  • error string required
    Human-readable error message
  • requestId string required
    Client request id