Documentation Index
Fetch the complete documentation index at: https://docs.trymaven.com/llms.txt
Use this file to discover all available pages before exploring further.
VAPI Integration
Add PCI-compliant voice payments to your VAPI agent. When your agent needs to collect a payment, it calls Maven to create a session and transfers the caller to Maven’s secure payment line.How It Works
Agent triggers collect_payment
During a call, your VAPI agent calls the
collect_payment function with the amount and caller’s phone number.Maven creates a session
Maven creates a payment session and returns a phone number to transfer the caller to.
Agent transfers the caller
Your agent uses the
transfer_to_payment tool to transfer the caller to Maven’s secure payment line.Payment collected
Maven collects the card details, processes the payment, and sends a webhook with the result. The caller is optionally transferred back to your agent via the
callback number.Setup
Automatic (Dashboard)
The easiest way to set up is from the Maven Dashboard:Go to your app's Integrations tab
In the Maven Dashboard, navigate to your app and click Integrations.
Select VAPI
Enter your VAPI Private Key and Maven API key. Optionally provide a VAPI Assistant ID to auto-attach the tools.
Manual (Webhook URL)
If you prefer to configure the tools yourself, use a webhook URL:VAPI sends payloads in multiple formats (tool-calls, function-call, and API request). Maven auto-detects the format and handles all three.
