Voice

Voice Payments API for AI agents is now in beta on Telnyx

Take card payments inside a live call. The card number never reaches your human agent, AI agent, recording or transcript.

By Telnyx Team
Voice Payments: card captured on the call, recording masked, payment approved

Your voice agent should never hear your card number.

Most voice automation stops at the same moment: payment. The AI agent handles the whole conversation, then hands the caller to a human or an IVR as soon as a card number comes up. That handoff is where callers drop off, and where compliance scope spreads to your recordings, your transcripts and your model provider.

Today, Voice Payments API is in beta on Telnyx. Your application or AI agent can take a card payment mid-call, and the card number never reaches your human agent, AI agent, recording or transcript.

See it in action

How it works

  1. Start a Pay session. Your TeXML flow, Voice API call or AI agent triggers it. No transfer, no hold.
  2. The caller keys the card. For the length of the session, the recording is masked, transcription pauses and keypad input is withheld from your AI agent and your webhooks. Telnyx encrypts the details and passes them to your payment processor.
  3. The conversation continues. You get the result and a token or charge ID, with the card masked to its last four digits.

Built for AI agents

A human agent who hears a card number is a process problem. A model that receives one in its context is an architecture problem.

Add the Pay tool to your AI Assistant and the agent starts the payment itself. It receives nothing while the caller keys the card, then picks the conversation back up when the payment completes. The card number never enters the model context.

Why it runs on Telnyx

Capturing a card inside the call means working inside the media path. Telnyx owns its private global IP network, so capture happens on the same infrastructure already carrying the call.

AI agents, voice and payments: one vendor, one API. No third-party payment vendor in the middle of the conversation, and one platform for your security team to review instead of three.

Get started

Voice Payments works inside what you already run on Telnyx: the TeXML Pay verb, the Voice API or the AI Assistant Pay tool. It supports major credit and debit cards and ACH debit, in USD, through a connector you point at your own payment processor.

<Response>
  <Pay paymentConnector="MyConnector"
       chargeAmount="10.50"
       currency="USD"
       transactionType="charge"
       action="https://example.com/payment-complete" />
</Response>

Read the Pay over Voice guide for the full setup.

Join the beta

Voice Payments API is in beta and open to existing Telnyx customers. It is designed for PCI compliance. Pricing will be published at general availability.

Learn more about Voice Payments

Share on Social