Payment Processing
The Payment Processing tool lets your voice agent collect payments from callers during a live call. Payments are processed through your configured provider (Stripe or custom) with PCI compliance — recording is automatically paused during card collection if enabled.How It Works
Configuration
| Setting | Type | Default | Description |
|---|---|---|---|
paymentProcessingEnabled | boolean | false | Enable payment processing |
paymentProvider | string | stripe | Payment provider: stripe or custom |
paymentCurrency | string | USD | Currency code |
paymentMaxAmountCents | integer | 100000 | Max single transaction in cents ($1,000.00) |
paymentApiKey | string | — | Provider API key |
paymentApiSecret | string | — | Provider API secret |
paymentApiEndpoint | string | — | Custom provider endpoint URL |
paymentPauseRecording | boolean | true | Pause recording during payment collection |
paymentConfirmationMessage | string | — | Success message template. Variables: {amount}, {last4}, {currency} |
paymentFailMessage | string | — | Failure message |
LLM Tool
Tool name:collect_payment
Process a payment from the caller.
- Amount must be greater than $0
- Amount cannot exceed
paymentMaxAmountCents - Insufficient funds or card errors return the configured failure message
Security
- PCI Compliance: Card details are handled by the payment provider, never stored by thinnestAI
- Recording Pause: When
paymentPauseRecordingis enabled, call recording stops during payment and resumes after - Card Safety: The agent never reads back the full card number — only confirms the last 4 digits

