latestOpenAPI 3.0.32026-08-20146131.7 MB

672b1916ba61

Payments

Get wallet policy evaluation

Returns one policy evaluation with matched rules, redacted evaluation context, revision references, decision, status, reason, and approval linkage.

get/v1/payments/wallets/{walletId}/policies/evaluations/{policyEvaluationId}

Path parameters

walletIdstring required

Provider wallet ID — the walletId field returned by GET /v1/wallets. The wallet record id and the public key are not accepted.

Example:privy_wallet_123

Provider wallet ID — the walletId field returned by GET /v1/wallets. The wallet record id and the public key are not accepted.

policyEvaluationIdstring required

Policy evaluation ID.

Policy evaluation ID.

Headers

x-project-idstring

Selects the active project for this request. Required for session/dashboard callers. Ignored when authenticating with an API key, whose scope is fixed to the key's project.

Example:prj_example

Selects the active project for this request. Required for session/dashboard callers. Ignored when authenticating with an API key, whose scope is fixed to the key's project.

Response

Wallet policy evaluation detail

Example response

{
  "data": {
    "policyEvaluation": {
      "walletOperation": {
        "createdAt": "2025-01-01T00:00:00.000Z",
        "updatedAt": "2025-01-01T00:00:00.000Z"
      },
      "evaluationContext": {
        "operation": {
          "createdAt": "2025-01-01T00:00:00.000Z"
        }
      },
      "evaluatedAt": "2025-01-01T00:00:00.000Z"
    }
  },
  "meta": {
    "requestId": "req_example",
    "timestamp": "2025-01-01T00:00:00.000Z"
  }
}