API Docs & Tools Blog Help
Recurring Billing with the QuickBooks Payments API - Intuit Developer Community Blog

November 10, 2015 | Jarred Keneally

Recurring Billing with the QuickBooks Payments API

How you can use the QuickBooks Payments API for recurring billing!

I want to start off by saying the API itself does not provide the ability to charge a credit card on a regular schedule. However, as a developer you can create a wallet for a customer, store the tokenized credit card in said wallet, and retrieve it to charge it monthly. Once you know how to store and retrieve cards from the wallet, the sky is the limit to any features you want to add on. So let’s get into the details, because that’s where the devil is.

  1. Create your app and add payments as a data source.
  2. Create a token from a credit card using the create token API call. See example below.

11-6-2015 3-30-47 PM

3. Store the card by token in the wallet using the Card API Call. Make sure you have the customer id to which a card should be stored. The Customer ID can be any ID you want that identifies the customer to you. For example, if they were a customer in your QuickBooks Company file, you could put the Customer ID as an easy reference.

https://developer.intuit.com/docs/api/payments/Cards

11-6-2015 3-33-02 PM

4. Now you can retrieve the card by card id or you can retrieve all cards for that user ID. Once you have the card back, you can create a new charge.

 

11-6-2015 3-34-46 PM

That’s pretty much it. Easy right?

Happy coding!

Comments

View all
Load more comments