Get Policy

GET /v2/policies/{policyId}

Retrieves a policy.

Required Permissions

NameConditions

Policies:Read

Always Required

Parameters

Path parameters

Path parameterDescription

policyId

Unique identifier of the policy

Response

Response example

{
  "id": "plc-...",
  "name": "Transfer Limit",
  "rule": {
    "kind": "TransactionAmountLimit",
    "configuration": {
      "currency": "EUR",
      "limit": "1000"
    }
  },
  "status": "Active",
  "filters": {
    "id": {
      "in": [
        "wa-..."
      ]
    }
  },
  "activityKind": "Wallets:Sign",
  "action": {
    "kind": "RequestApproval",
    "approvalGroups": [
      {
        "name": "Admins",
        "quorum": 1,
        "approvers": {
          "userId": {
            "in": [
              "us-..."
            ]
          }
        }
      }
    ],
    "autoRejectTimeout": 60
  },
  "dateCreated": "2023-12-22T20:57:55.814Z",
  "dateResolved": "2023-12-22T20:57:55.814Z"
}

Last updated