Twilio Agent Payments MCP Server enables secure, PCI-compliant payment processing during voice calls by providing a bridge between AI assistants and Twilio's payment API. The server manages the complete payment capture workflow—collecting card numbers, security codes, and expiration dates—while maintaining state through asynchronous callbacks and guiding the AI with contextual prompts at each step. It uses Twilio API Keys for enhanced security and tokenizes payment information, making it particularly valuable for customer service applications where agents need to collect payments without handling sensitive card data directly.
Aucun avis encore. Soyez le premier à donner votre avis !
Connectez-vous pour rejoindre la conversation
Initiates a payment capture process for an active call. Parameters: callSid (string) - The Twilio Call SID for the active call. Returns: paymentSid (string) - The Twilio Payment SID for the new payment session.
Starts the capture of the payment card number. Parameters: callSid (string) - The Twilio Call SID for the active call, paymentSid (string) - The Twilio Payment SID for the payment session, captureType (string) - Set to 'payment-card-number'. Returns: Status of the card number capture operation.
Starts the capture of the card security code. Parameters: callSid (string) - The Twilio Call SID for the active call, paymentSid (string) - The Twilio Payment SID for the payment session, captureType (string) - Set to 'security-code'. Returns: Status of the security code capture operation.
Starts the capture of the card expiration date. Parameters: callSid (string) - The Twilio Call SID for the active call, paymentSid (string) - The Twilio Payment SID for the payment session, captureType (string) - Set to 'expiration-date'. Returns: Status of the expiration date capture operation.
Completes a payment capture session. Parameters: callSid (string) - The Twilio Call SID for the active call, paymentSid (string) - The Twilio Payment SID for the payment session. Returns: Status of the payment completion operation.