Skip to contentSkip to navigationSkip to topbar

Process Payments via Phone Call

Created by: Twilio
  • Voice
  • JavaScript
  • COVID use case
  • Uses <Pay> to process a payment
  • User is prompted to enter card information via phone for a configurable payment
  • Show how to orchestrate a payment securely over phone
CodeExchange payment over phone with <Pay>.
Report this template(link takes you to an external page)
(information)
  1. Get the code for this project

    The code for this sample is available on GitHub to view and download.

    View on GitHub(link takes you to an external page)Download ZIP(link takes you to an external page)
  2. Get Twilio credentials

    You will need an Account SID and Auth Token in order to run this code.

    Checking for existing account...

  3. Set up the code sample locally

Need some help?

We all do sometimes; code is hard. Get help now from our support team(link takes you to an external page), or lean on the wisdom of the crowd by browsing the Twilio tag(link takes you to an external page)on Stack Overflow.

Terms of servicePrivacy Policy

Copyright © 2025 Twilio Inc.