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
- Base URLhttps://api.chimoney.io
- AuthAPI key in header X-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
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
Example response
{
"status": "success"
}Changes
No recorded changes to this operation across all 1 revision of this API.