Skip to main content
POST
Create a policy from a built-in preset

Authorizations

Authorization
string
header
required

API key (sk_sandbox_* / sk_test_* / sk_live_*) or Agent token (at_* / at_dlg_*)

Body

application/json
presetId
string
required
name
string
overrides
object

Response

Policy created

id
string
agentId
string
ownerId
string
name
string
maxTransactionEuros
number | null
dailyLimitEuros
number | null
monthlyLimitEuros
number | null
autoApproveLimitEuros
number | null
merchantAllowlist
string[]
merchantBlocklist
string[]
mccCategories
string[]
allowedCountries
string[]
lockToFirstMerchant
boolean
cooldownMinutes
integer | null
requireIntent
boolean
requireAttestation
boolean
expiresAfterMinutes
integer | null
expirationAction
string
activeHoursStart
integer | null
activeHoursEnd
integer | null
maxUsageCount
integer | null
amountTolerancePercent
number | null
updatedAt
string<date-time>