VOICE PAYMENTS API · BETA

Voice Payments: take card payments on the call

Collect card payments mid-call. The number never reaches your human agent, AI agent, recording or transcript.

Voice Payments: card captured on the call, recording masked, payment approved
A spoken card number puts recording, QA, transcription, storage and model provider in scope
THE PROBLEM

Every card number read aloud is a liability

Spoken card numbers land in your recordings, transcripts, QA tools and model provider. Transferring to an IVR fixes compliance by breaking the call.

HOW IT WORKS

Payment capture runs inside the call

Caller keys the card while recording, transcription and AI agent are masked

See it in action

Watch an AI agent take a card payment mid-call, without the card details ever reaching the assistant.

WHY TELNYX

This only works if you own the network

Capture happens inside the media path. Telnyx owns that path, so no third party touches your call.

  • AI agents, voice and payments on one platform

    One vendor, One API

    AI agents, voice and payments on one platform.

  • The caller stays on the same call

    No handoff, no drop

    The caller stays on the same call, with the same agent.

  • Telnyx private global IP network

    Runs on the network we own

    Capture happens on the private global IP network Telnyx owns.

COMPLIANCE

Built for your compliance assessment

Telnyx Voice Payments is designed for PCI compliance.

  • Keyed, not spoken

    Card details are encrypted and sent straight to your processor.

  • Hidden from AI agents

    Keypad input never reaches the model or the transcript.

  • Masked results

    You get a token or charge ID and the last four digits. Never the security code.

DEVELOPERS

Add payments in a few lines

Use TeXML, the Voice API or the AI Assistant Pay tool. Cards and ACH debit, in USD.

TeXML

<?xml version="1.0" encoding="UTF-8"?>
<Response>
  <Pay paymentConnector="MyConnector"
       chargeAmount="10.50"
       currency="USD"
       transactionType="charge"
       maxAttempts="3"
       action="https://example.com/payment-complete"
       statusCallback="https://example.com/pay-status" />
</Response>

Voice API

POST /v2/calls/{call_control_id}/actions/pay

{
  "connector_name": "MyConnector",
  "amount": 10.5,
  "currency": "USD",
  "payment_method": "credit-card",
  "transaction_type": "charge",
  "max_attempts": 3
}

Take the card number out of the conversation

The beta is open to existing Telnyx customers.

FAQ

No. The caller keys the digits and the audio is masked for the whole Pay session.