Happy Business Starts Here

Advanced Tutor

Creating a new Account and subscription with invoiceCollect turned on

How to I create an account with a subscription via REST API with invoicecollect field set to true. I would like to generate an invoice for the new subscription and charge the customer's card immediately when a new account/subscription is created. I am already using the API without the minor numbers so I would like to continue without the minor numbers so that's why I opted for InvoiceCollect instead of invoice & collect, which requires specific set of API versions.

1 REPLY 1
Support SME

Re: Creating a new Account and subscription with invoiceCollect turned on

Hi augustio, 

You are correct. invoiceCollect is in Zuora REST API version control. Supported minor versions are 186.0, 187.0, 188.0, 189.0, and 196.0. I'm afraid ou will need to use the above minor numbers in the header. Reference: https://www.zuora.com/developer/api-reference/#operation/POST_Subscription