v1

latestOpenAPI 3.1.02026-07-24233206489.1 KB

get/v1/policies

Query parameters

resource'wallet' | 'transfer'

The resource in which the policy will apply (e.g. wallet, user)

status'activated' | 'deactivated'

Defines the status of the policy

Possible values:

activated: The policy is active and will be evaluated at runtime.

deactivated: The policy is inactive and will not be evaluated at runtime. Usually used for drafting and will be the default value upon policy creation.

Response

Success

Example response

{
  "data": [
    {
      "id": "policy_xxxxxxxxxxxxx",
      "resource": "transfer",
      "operation": "CreateTransfer",
      "name": "Policy for creating transfers",
      "language": "rego",
      "source": "cGFja2FnZSB0cmFuc2Zlci5Dc...",
      "status": "activated",
      "created_at": "2025-12-23T18:42:59.405003292Z",
      "updated_at": "2025-12-23T18:42:59.405003292Z"
    }
  ]
}