v1

latestOpenAPI 3.0.02026-07-14866188.2 KB
Agents

Update agent passport policies

Updates agent APort passport with limits, capabilities, and regions. This directly updates the agent's passport according to Open Agent Passport schema. At least one of limits, capabilities, or regions must be provided.

patch/v0.2.4/agents/update-policies

Request body

idstring required

Agent UID

subAccountstring

Sub-account identifier

regionsstring[]

Allowed regions for agent operations (ISO country codes)

Example request

{
  "limits": {
    "USD": {
      "maxPerTx": 10000,
      "dailyCap": 100000
    },
    "CAD": {
      "maxPerTx": 10000,
      "dailyCap": 100000
    },
    "NGN": {
      "maxPerTx": 10000,
      "dailyCap": 100000
    },
    "MXN": {
      "maxPerTx": 10000,
      "dailyCap": 100000
    },
    "refundAmountMaxPerTx": 5000,
    "refundAmountDailyCap": 50000
  },
  "capabilities": [
    "finance.payment.charge"
  ],
  "regions": [
    "US"
  ]
}

Response

Agent passport updated successfully

statusstring

Example response

{
  "status": "success"
}