Create policy
Creates a policy. The accepted configuration depends on the policy type.
Authorizations
API key as Bearer token
Headers
API version (YYYY-MM-DD)
2025-02-14 "2025-02-14"
Unique key for safely retrying this request. Up to 255 characters; we recommend a UUIDv4. The first request executes and its response is cached; subsequent requests with the same key replay the cached response (24h retention).
1 - 255Body
Create a policy.
- MerchantRestriction
- ChannelRestriction
- TransactionAmountLimit
- SpendLimit
- AuthorizationCountLimit
Response
Policy resource
- MerchantRestriction
- ChannelRestriction
- TransactionAmountLimit
- SpendLimit
- AuthorizationCountLimit
Policy ID. A UUID for your policies; a stable identifier for platform policies.
"MERCHANT_RESTRICTION"Where the policy attaches.
- Project
- User
- Card
ACTIVE, DISABLED "ACTIVE"
Human-readable label.
1 - 128Block transactions whose merchant matches the criteria.
ISO 8601 creation timestamp.
ISO 8601 last-update timestamp.