We recommend a simple 2-step process for charging a customer. You can use a similar process for charging a card directly.
- Use Due.js to tokenize a customer's card data.
- Our developers' page has an example of how to do this.
- Our API Docs has an example of how to charge a customer