The createschedule Method allows the merchant to create a new billing schedule associated with a client. All billing schedules are created as status "inactive" and must be set to "active" using the confirmschedule Method.
| Field | Required | Value | Max Length | Description |
|---|---|---|---|---|
| method | Required | createschedule | N/A | Indicates the function the merchant wishes to perform. |
| companyid | Required | Varies by merchant | 30 | Issued by Billing Circle. |
| username | Required | Varies by merchant | 30 | Any Admin level account defined within Billing Circle. |
| password | Required | Varies by merchant | 100 | Password associated with username field. |
| c_merchantid | Conditional | Any unique value | 255 | The "merchantid" allows a merchant to refer to a client record by their own proprietary key as defined within their database. This value is required if a "clientid" is not submitted. |
| c_clientid | Conditional | Integer | N/A | The "clientid" is an integer value returned after a successful createclient post. This value is required if a "merchantid" is not submitted. |
| s_startdate | Required | YYYY-MM-DD | 10 | Date billing begins. Date must be equal to or greater than the current date during the post. |
| s_recurringtype | Required | subscription, installments, single | N/A | Defines recurring billing type. |
| s_title | Required | Any String | 100 | Text describing charge. This value will be visible to customers who receive automated emails or are allowed to check their account online. |
| s_lineitems | Optional | Pipe Separated Strings | N/A | This optional data will be displayed as lineitems on the customer's email receipts and Account page. Individual line items should be sent separated by the pipe symbol "|". |
| s_interval | Conditional | yearly, quarterly, monthly, semimonthly, weekly | N/A | Defines recurring billing interval. Required for s_recurringtype values "subscription" and "installments". |
| s_numofintervals | Conditional | Integer | N/A | Defines number of recurring billing intervals. Required for s_recurringtype value "installments" only. For "installments" any number greater than 1 is accepted. For "subscription" any number greater than 2 is accepted, or omit for indefinite billing. |
| s_amount | Required | Double | N/A | Defines the pre-tax recurring charge. For installment billing this value is evenly divided among the number of billing intervals. Any remainder will be added to the first billing. |
| s_adjustment | Optional | Double | N/A | Defines an additional one time charge associated with the billing schedule. Often used for startup fees. This charge is added to the schedule's first billing cycle total. |
| s_adjustmentnote | Conditional | Any String | 255 | A short note explaining the s_adjustment fee. Notes show on the receipt emails optionally sent to clients. |
| s_authimmediately | Conditional | Any non-zero value | N/A | Allows the charge for a new schedule to be immediately authorized. This both holds funds and allows for immediate verification of the client's billing information. s_startdate must be no later than five days from today's date, and only credit card transactions can process in this way. Note that if the card is declined the schedule will not be created. |
| s_taxrate | Optional | Double | 99.9 | Tax rate percentage to be applied to s_amount total. |