Atomic Limit Enforcement
The most critical feature of Delegare is its guaranteed limit enforcement. When an agent requests a charge, the Vault performs a single atomic operation in DynamoDB:- Check Status: Ensures the delegate is
activeand not expired. - Check Allowlist: Validates that the
merchantIdis permitted. - Check Monthly Reset: If the current date has rolled over into a new month, the monthly spend counter is reset to zero.
- Conditional Increment: Increments the spend counter only if the new total is within the user’s defined limits.
Token Lifecycle
- Setup: User defines limits and connects a payment method.
- Issuance: A signed
delegateTokenis generated. - Active: Agents use the token for payments.
- Revocation: Users can revoke tokens at any time via the dashboard, instantly disabling all future charges.