Get Policy

GET /v2/policies/{policyId}

Required Permissions

Name
Conditions

Policies:Read

Always Required

Response

200 - Policy object

{
  "id": "plc-...",
  "name": "Transfer Limit",
  "status": "Active",
  "activityKind": "Wallets:Sign",
  "rule": {
    "kind": "TransactionAmountLimit",
    "configuration": {
      "currency": "USD",
      "limit": "1000"
    }
  },
  "action": {
    "kind": "RequestApproval",
    "autoRejectTimeout": 60,
    "approvalGroups": [
      {
        "name": "Admins",
        "quorum": 2,
        "approvers": {
          "userId": {
            "in": ["us-...1", "us-...2", "us-...3"]
          }
        }
      }
    ],
  },
  "filters": {
    "walletId": {
      "in": ["wa-...1", "wa-...2"]
    }
  },
}

Last updated