> For the complete documentation index, see [llms.txt](https://cardknox.gitbook.io/sola-dev-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cardknox.gitbook.io/sola-dev-docs/api-reference/customer-and-recurring-api/schedule.md). Agents can also search and read this documentation through its [MCP server](https://cardknox.gitbook.io/sola-dev-docs/~gitbook/mcp).

# Schedule

## Create Schedule

> Use this endpoint to create a recurring billing schedule for a customer and stored payment method. The schedule defines when charges should occur and how recurring payments should be processed over time.<br>

```json
{"openapi":"3.0.3","info":{"title":"Sola Payments - Schedule APIs","version":"1.0.0"},"tags":[{"name":"Schedule"}],"servers":[{"url":"https://api.cardknox.com","description":"Default API host"}],"paths":{"/v2/CreateSchedule":{"post":{"summary":"Create Schedule","description":"Use this endpoint to create a recurring billing schedule for a customer and stored payment method. The schedule defines when charges should occur and how recurring payments should be processed over time.\n","operationId":"API_056_CreateSchedule","tags":["Schedule"],"deprecated":false,"parameters":[{"in":"header","name":"Authorization","required":true,"schema":{"type":"string"},"description":"This endpoint is authenticated using your Sola API key. Include the key in the `Authorization` header.\n"},{"in":"header","name":"X-Recurring-Api-Version","required":true,"schema":{"type":"string"},"description":"Include the Customer and Recurring API minor version in the `X-Recurring-Api-Version` request header.\n"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"SoftwareName":{"type":"string","description":"The name of the software making the request.","X-required-conditional":false,"X-condition-logic":""},"SoftwareVersion":{"type":"string","description":"The version of the software making the request.","X-required-conditional":false,"X-condition-logic":""},"CustomerId":{"type":"string","description":"Customer's unique ID number.\n\n**Conditional:** Required if linking to existing customer.\n","X-required-conditional":true,"X-condition-logic":"Required if linking to existing customer."},"PaymentMethodId":{"type":"string","description":"The unique ID number of the payment method the schedule should use to process the transactions. If none is set, the default payment method on the customer will be used. *Allowed if linking the schedule to an existing customer","X-required-conditional":false,"X-condition-logic":""},"NewCustomer":{"type":"object","description":"The customer details. Refer to the /CreateCustomer endpoint for fields that can be set for this object.\n\n**Conditional:** \n","X-required-conditional":true,"X-condition-logic":""},"NewPaymentMethod":{"type":"object","description":"The payment method details. Refer to the /CreatePaymentMethod endpoint for fields that can be set for this object.\n\n**Conditional:** *Allowed if linking the schedule to an existing customer\n","X-required-conditional":true,"X-condition-logic":"*Allowed if linking the schedule to an existing customer"},"IntervalType":{"type":"string","description":"Type of time interval.","X-required-conditional":false,"X-condition-logic":"day week month year"},"Amount":{"type":"number","description":"Total amount of each transaction.","X-required-conditional":false,"X-condition-logic":"Transaction amount."},"Currency":{"type":"string","description":"Currency code to be used when processing transactions Note: If the currency code used is not supported for the merchant and it does not run a transaction on schedule creation, the schedule will not error until the first transaction is processed.","X-required-conditional":false,"X-condition-logic":""},"TotalPayments":{"type":"integer","description":"Total count of scheduled payment occurrences, including the initial payment. Note: If left blank, the count is indefinite. This field cannot be set together with EndDate.","X-required-conditional":false,"X-condition-logic":""},"Cvv":{"type":"string","description":"The CVV value for the first transaction that is run if a transaction is run immediately. This value will not be applied to a future transaction run by the created schedule.","X-required-conditional":false,"X-condition-logic":""},"Description":{"type":"string","description":"Additional data sent with the transaction.","X-required-conditional":false,"X-condition-logic":""},"Invoice":{"type":"string","description":"Customer's invoice number for the transaction. Use Invoice when available for improved duplicate handling (recommended).","X-required-conditional":false,"X-condition-logic":""},"PONumber":{"type":"string","description":"Customer's purchase order number for the transaction.","X-required-conditional":false,"X-condition-logic":""},"ScheduleName":{"type":"string","description":"Merchant's internal schedule identifier.","X-required-conditional":false,"X-condition-logic":""},"IntervalCount":{"type":"integer","description":"Number of time periods to elapse before the payment schedule is re-triggered. Examples: For every 28 days, set IntervalType to day and set IntervalCount to 28. For every other month, set IntervalType to month and set IntervalCount to 2.","X-required-conditional":false,"X-condition-logic":""},"FailedTransactionRetryTimes":{"type":"integer","description":"Maximum number of times to retry before rescheduling to the next run time if the transaction fails. Retries are run on each subsequent day. If it’s set to 0, it will try one time total.","X-required-conditional":false,"X-condition-logic":""},"DaysBetweenRetries":{"type":"integer","description":"Number of days between retries after a declined transaction.","X-required-conditional":false,"X-condition-logic":""},"SkipSaturdayAndHolidays":{"type":"boolean","description":"Indicates whether to process payments on the Sabbath and Jewish holidays.","X-required-conditional":false,"X-condition-logic":""},"CustReceipt":{"type":"boolean","description":"A flag that can be set to send the receipts to the email set in Email for the customer.","X-required-conditional":false,"X-condition-logic":""},"CalendarCulture":{"type":"string","description":"Type of calendar to use when executing month and year interval types.","X-required-conditional":false,"X-condition-logic":""},"UseDefaultPaymentMethodOnly":{"type":"boolean","description":"Indicates that the system should not try another card if the default card fails.","X-required-conditional":false,"X-condition-logic":""},"ScheduleRule":{"type":"object","description":"The schedule rule used to determine the next run time after each processed payment.","X-required-conditional":false,"X-condition-logic":""},"StartDate":{"type":"string","description":"Schedule start date in YYYY-MM-DD format. The start date must be within one year. Unless the StartDate parameter is included to specify a future start date for the schedule, the first charge takes place immediately by default.","X-required-conditional":false,"X-condition-logic":""},"EndDate":{"type":"string","description":"Schedule expiration date in YYYY-MM-DD format. Note: This field cannot be set together with TotalPayments.","X-required-conditional":false,"X-condition-logic":""},"AfterMaxRetriesAction":{"type":"string","description":"The action to perform after a schedule hits the maximum number of failed attempts in a single interval. Disable: Disables the schedule. ContinueNextInterval: Skips the current interval and continues at the next interval.","X-required-conditional":false,"X-condition-logic":""},"AllowInitialTransactionToDecline":{"type":"boolean","description":"Create the schedule even if the initial payment fails. Note: Can be used only if the StartDate is set to today's date (or left empty).","X-required-conditional":false,"X-condition-logic":""},"SplitInstruction":{"type":"object","description":"On Instructional Funding accounts, add split instructions for each scheduled transaction. Format is an array of json objects, each having a mid and the amount for that mid.","X-required-conditional":false,"X-condition-logic":""},"InitialAmount":{"type":"string","description":"Overrides Amount on initial transaction","X-required-conditional":false,"X-condition-logic":""},"Custom02":{"type":"string","description":"Custom field 02. Custom fields (19 available) used for custom data, such as customer comments and so forth. Custom01 is reserved. Use Custom02 - Custom20.","X-required-conditional":false,"X-condition-logic":"Custom01 reserved."},"Custom03":{"type":"string","description":"Custom field 03.","X-required-conditional":false,"X-condition-logic":"Custom01 reserved."},"Custom04":{"type":"string","description":"Custom field 04.","X-required-conditional":false,"X-condition-logic":"Custom01 reserved."},"Custom05":{"type":"string","description":"Custom field 05.","X-required-conditional":false,"X-condition-logic":"Custom01 reserved."},"Custom06":{"type":"string","description":"Custom field 06.","X-required-conditional":false,"X-condition-logic":"Custom01 reserved."},"Custom07":{"type":"string","description":"Custom field 07.","X-required-conditional":false,"X-condition-logic":"Custom01 reserved."},"Custom08":{"type":"string","description":"Custom field 08.","X-required-conditional":false,"X-condition-logic":"Custom01 reserved."},"Custom09":{"type":"string","description":"Custom field 09.","X-required-conditional":false,"X-condition-logic":"Custom01 reserved."},"Custom10":{"type":"string","description":"Custom field 10.","X-required-conditional":false,"X-condition-logic":"Custom01 reserved."},"Custom11":{"type":"string","description":"Custom field 11.","X-required-conditional":false,"X-condition-logic":"Custom01 reserved."},"Custom12":{"type":"string","description":"Custom field 12.","X-required-conditional":false,"X-condition-logic":"Custom01 reserved."},"Custom13":{"type":"string","description":"Custom field 13.","X-required-conditional":false,"X-condition-logic":"Custom01 reserved."},"Custom14":{"type":"string","description":"Custom field 14.","X-required-conditional":false,"X-condition-logic":"Custom01 reserved."},"Custom15":{"type":"string","description":"Custom field 15.","X-required-conditional":false,"X-condition-logic":"Custom01 reserved."},"Custom16":{"type":"string","description":"Custom field 16.","X-required-conditional":false,"X-condition-logic":"Custom01 reserved."},"Custom17":{"type":"string","description":"Custom field 17.","X-required-conditional":false,"X-condition-logic":"Custom01 reserved."},"Custom18":{"type":"string","description":"Custom field 18.","X-required-conditional":false,"X-condition-logic":"Custom01 reserved."},"Custom19":{"type":"string","description":"Custom field 19.","X-required-conditional":false,"X-condition-logic":"Custom01 reserved."},"Custom20":{"type":"string","description":"Custom field 20.","X-required-conditional":false,"X-condition-logic":"Custom01 reserved."}},"required":["SoftwareName","SoftwareVersion","IntervalType","Amount"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"Result":{"type":"string","description":"The result of the API call. S=success E=error."},"RefNum":{"type":"string","description":"A unique request ID."},"Error":{"type":"string","description":"Error message if Result is E."},"ScheduleId":{"type":"string","description":"The created schedule ID."},"CustomerId":{"type":"string","description":"Customer ID if created."},"PaymentMethodId":{"type":"string","description":"The ID of the payment method that was created if the schedule was not linked to an existing customer."}}}}}}}}}}}
```

## Update Schedule

> Use this endpoint to update an existing recurring billing schedule. It is used when billing rules, payment timing, amounts, or related schedule settings need to change after the schedule has been created.<br>

```json
{"openapi":"3.0.3","info":{"title":"Sola Payments - Schedule APIs","version":"1.0.0"},"tags":[{"name":"Schedule"}],"servers":[{"url":"https://api.cardknox.com","description":"Default API host"}],"paths":{"/v2/UpdateSchedule":{"post":{"summary":"Update Schedule","description":"Use this endpoint to update an existing recurring billing schedule. It is used when billing rules, payment timing, amounts, or related schedule settings need to change after the schedule has been created.\n","operationId":"API_057_UpdateSchedule","tags":["Schedule"],"deprecated":false,"parameters":[{"in":"header","name":"Authorization","required":true,"schema":{"type":"string"},"description":"This endpoint is authenticated using your Sola API key. Include the key in the `Authorization` header.\n"},{"in":"header","name":"X-Recurring-Api-Version","required":true,"schema":{"type":"string"},"description":"Include the Customer and Recurring API minor version in the `X-Recurring-Api-Version` request header.\n"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"SoftwareName":{"type":"string","description":"The name of the software making the request.","X-required-conditional":false,"X-condition-logic":""},"SoftwareVersion":{"type":"string","description":"The version of the software making the request.","X-required-conditional":false,"X-condition-logic":""},"Revision":{"type":"integer","description":"The revision number of the record to update. If this does not match the current revision number of the record, the update will fail.","X-required-conditional":false,"X-condition-logic":""},"ScheduleId":{"type":"string","description":"The ID of the schedule to update.","X-required-conditional":false,"X-condition-logic":""},"Amount":{"type":"number","description":"Transaction amount","X-required-conditional":false,"X-condition-logic":""},"Currency":{"type":"string","description":"Currency code to be used when processing transactions. Note: If the currency code used is not supported for the merchant and it does not run a transaction on schedule creation, the schedule will not error until the first transaction is processed.","X-required-conditional":false,"X-condition-logic":""},"TotalPayments":{"type":"integer","description":"Total count of scheduled payment occurrences, including the initial payment. You can only change this field before a schedule has been completed. Additionally, you cannot set the value to be lower than the number of payments already processed. Note: This can be updated to at least the number of payments processed or higher.","X-required-conditional":false,"X-condition-logic":""},"Description":{"type":"string","description":"Additional data sent with the transaction.","X-required-conditional":false,"X-condition-logic":""},"Invoice":{"type":"string","description":"Customer's invoice number for the transaction Use Invoice when available for improved duplicate handling (recommended).","X-required-conditional":false,"X-condition-logic":""},"PONumber":{"type":"string","description":"Customer's purchase order number for the transaction.","X-required-conditional":false,"X-condition-logic":""},"ScheduleName":{"type":"string","description":"Merchant's internal schedule identifier.","X-required-conditional":false,"X-condition-logic":""},"FailedTransactionRetryTimes":{"type":"integer","description":"Maximum number of times to retry before rescheduling to the next run time if the transaction fails. Retries are run on each subsequent day. If it’s set to 0, it will try one time. You can only change this field before a schedule has been completed.","X-required-conditional":false,"X-condition-logic":""},"DaysBetweenRetries":{"type":"integer","description":"Number of days between retries after a declined transaction.","X-required-conditional":false,"X-condition-logic":""},"SkipSaturdayAndHolidays":{"type":"boolean","description":"Indicates whether to process payments on the Sabbath and Jewish holidays.","X-required-conditional":false,"X-condition-logic":""},"CustReceipt":{"type":"boolean","description":"A flag that can be set to send the receipts to the email set in Email for the customer.","X-required-conditional":false,"X-condition-logic":""},"CalendarCulture":{"type":"string","description":"Type of calendar to use when executing month and year interval types. Note: You cannot change this once the schedule has begun.","X-required-conditional":false,"X-condition-logic":""},"UseDefaultPaymentMethodOnly":{"type":"boolean","description":"Indicates that the system should not try another card if the default card fails.","X-required-conditional":false,"X-condition-logic":""},"PaymentMethodId":{"type":"string","description":"The unique ID of the payment method the schedule should use to process the transactions","X-required-conditional":false,"X-condition-logic":""},"ScheduleRule":{"type":"object","description":"The schedule rule used to determine the next run time after each processed payment.","X-required-conditional":false,"X-condition-logic":""},"StartDate":{"type":"string","description":"Schedule start date in YYYY-MM-DD format. The start date must be within one year. Note: This cannot be changed once the schedule has begun.","X-required-conditional":false,"X-condition-logic":""},"EndDate":{"type":"string","description":"Schedule expiration date in YYYY-MM-DD format. Note: This field cannot be set together with TotalPayments. This cannot be changed once the schedule has completed.","X-required-conditional":false,"X-condition-logic":""},"AfterMaxRetriesAction":{"type":"string","description":"The action to perform after a schedule hits the maximum number of failed attempts in a single interval. Disable: Disables the schedule. ContinueNextInterval: Skips the current interval and continues at the next interval.","X-required-conditional":false,"X-condition-logic":""},"SplitInstruction":{"type":"object","description":"On Instructional Funding accounts, update the split instructions for each scheduled transaction. Format is an array of json objects, each having a mid and the amount for that mid.","X-required-conditional":false,"X-condition-logic":""},"Custom02":{"type":"string","description":"Custom field 02. Custom fields (19 available) used for custom data, such as customer comments and so forth. Custom01 is reserved. Use Custom02 - Custom20.","X-required-conditional":false,"X-condition-logic":""},"Custom03":{"type":"string","description":"Custom field 03.","X-required-conditional":false,"X-condition-logic":""},"Custom04":{"type":"string","description":"Custom field 04.","X-required-conditional":false,"X-condition-logic":""},"Custom05":{"type":"string","description":"Custom field 05.","X-required-conditional":false,"X-condition-logic":""},"Custom06":{"type":"string","description":"Custom field 06.","X-required-conditional":false,"X-condition-logic":""},"Custom07":{"type":"string","description":"Custom field 07.","X-required-conditional":false,"X-condition-logic":""},"Custom08":{"type":"string","description":"Custom field 08.","X-required-conditional":false,"X-condition-logic":""},"Custom09":{"type":"string","description":"Custom field 09.","X-required-conditional":false,"X-condition-logic":""},"Custom10":{"type":"string","description":"Custom field 10.","X-required-conditional":false,"X-condition-logic":""},"Custom11":{"type":"string","description":"Custom field 11.","X-required-conditional":false,"X-condition-logic":""},"Custom12":{"type":"string","description":"Custom field 12.","X-required-conditional":false,"X-condition-logic":""},"Custom13":{"type":"string","description":"Custom field 13.","X-required-conditional":false,"X-condition-logic":""},"Custom14":{"type":"string","description":"Custom field 14.","X-required-conditional":false,"X-condition-logic":""},"Custom15":{"type":"string","description":"Custom field 15.","X-required-conditional":false,"X-condition-logic":""},"Custom16":{"type":"string","description":"Custom field 16.","X-required-conditional":false,"X-condition-logic":""},"Custom17":{"type":"string","description":"Custom field 17.","X-required-conditional":false,"X-condition-logic":""},"Custom18":{"type":"string","description":"Custom field 18.","X-required-conditional":false,"X-condition-logic":""},"Custom19":{"type":"string","description":"Custom field 19.","X-required-conditional":false,"X-condition-logic":""},"Custom20":{"type":"string","description":"Custom field 20.","X-required-conditional":false,"X-condition-logic":""}},"required":["SoftwareName","SoftwareVersion","Revision","ScheduleId","CalendarCulture","StartDate"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"Result":{"type":"string","description":"The result of the API call. S=success E=error."},"RefNum":{"type":"string","description":"A unique request ID."},"Error":{"type":"string","description":"Error message if Result is E."}}}}}}}}}}}
```

## Enable Schedule

> Use this endpoint to enable a recurring billing schedule so it can resume normal processing. This is useful when a previously paused or disabled schedule should begin generating scheduled transactions again.<br>

```json
{"openapi":"3.0.3","info":{"title":"Sola Payments - Schedule APIs","version":"1.0.0"},"tags":[{"name":"Schedule"}],"servers":[{"url":"https://api.cardknox.com","description":"Default API host"}],"paths":{"/v2/EnableSchedule":{"post":{"summary":"Enable Schedule","description":"Use this endpoint to enable a recurring billing schedule so it can resume normal processing. This is useful when a previously paused or disabled schedule should begin generating scheduled transactions again.\n","operationId":"API_058_EnableSchedule","tags":["Schedule"],"deprecated":false,"parameters":[{"in":"header","name":"Authorization","required":true,"schema":{"type":"string"},"description":"This endpoint is authenticated using your Sola API key. Include the key in the `Authorization` header.\n"},{"in":"header","name":"X-Recurring-Api-Version","required":true,"schema":{"type":"string"},"description":"Include the Customer and Recurring API minor version in the `X-Recurring-Api-Version` request header.\n"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"SoftwareName":{"type":"string","description":"The name of the software making the request.","X-required-conditional":false,"X-condition-logic":""},"SoftwareVersion":{"type":"string","description":"The version of the software making the request.","X-required-conditional":false,"X-condition-logic":""},"ScheduleId":{"type":"string","description":"The ID of the schedule to enable.","X-required-conditional":false,"X-condition-logic":""}},"required":["SoftwareName","SoftwareVersion","ScheduleId"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"Result":{"type":"string","description":"The result of the API call. S represents success, E represents error."},"RefNum":{"type":"string","description":"A unique request ID."},"Error":{"type":"string","description":"If the Result parameter contains a value of E, this parameter will contain any relevant error messages."}}}}}}}}}}}
```

## Disable Schedule

> Use this endpoint to disable a recurring billing schedule without deleting it. This is useful when billing should be paused temporarily while preserving the schedule configuration for later reuse or reactivation.<br>

```json
{"openapi":"3.0.3","info":{"title":"Sola Payments - Schedule APIs","version":"1.0.0"},"tags":[{"name":"Schedule"}],"servers":[{"url":"https://api.cardknox.com","description":"Default API host"}],"paths":{"/v2/DisableSchedule":{"post":{"summary":"Disable Schedule","description":"Use this endpoint to disable a recurring billing schedule without deleting it. This is useful when billing should be paused temporarily while preserving the schedule configuration for later reuse or reactivation.\n","operationId":"API_059_DisableSchedule","tags":["Schedule"],"deprecated":false,"parameters":[{"in":"header","name":"Authorization","required":true,"schema":{"type":"string"},"description":"This endpoint is authenticated using your Sola API key. Include the key in the `Authorization` header.\n"},{"in":"header","name":"X-Recurring-Api-Version","required":true,"schema":{"type":"string"},"description":"Include the Customer and Recurring API minor version in the `X-Recurring-Api-Version` request header.\n"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"SoftwareName":{"type":"string","description":"The name of the software making the request.","X-required-conditional":false,"X-condition-logic":""},"SoftwareVersion":{"type":"string","description":"The version of the software making the request.","X-required-conditional":false,"X-condition-logic":""},"ScheduleId":{"type":"string","description":"The ID of the schedule to disable.","X-required-conditional":false,"X-condition-logic":""}},"required":["SoftwareName","SoftwareVersion","ScheduleId"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"Result":{"type":"string","description":"The result of the API call. S represents success, E represents error."},"RefNum":{"type":"string","description":"A unique request ID."},"Error":{"type":"string","description":"If the Result parameter contains a value of E, this parameter will contain any relevant error messages."}}}}}}}}}}}
```

## Delete Schedule

> Use this endpoint to delete a recurring billing schedule from the Customer & Recurring API. Use it when a billing plan should be removed permanently and no further schedule-driven transactions should be attempted.<br>

```json
{"openapi":"3.0.3","info":{"title":"Sola Payments - Schedule APIs","version":"1.0.0"},"tags":[{"name":"Schedule"}],"servers":[{"url":"https://api.cardknox.com","description":"Default API host"}],"paths":{"/v2/DeleteSchedule":{"post":{"summary":"Delete Schedule","description":"Use this endpoint to delete a recurring billing schedule from the Customer & Recurring API. Use it when a billing plan should be removed permanently and no further schedule-driven transactions should be attempted.\n","operationId":"API_060_DeleteSchedule","tags":["Schedule"],"deprecated":false,"parameters":[{"in":"header","name":"Authorization","required":true,"schema":{"type":"string"},"description":"This endpoint is authenticated using your Sola API key. Include the key in the `Authorization` header.\n"},{"in":"header","name":"X-Recurring-Api-Version","required":true,"schema":{"type":"string"},"description":"Include the Customer and Recurring API minor version in the `X-Recurring-Api-Version` request header.\n"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"SoftwareName":{"type":"string","description":"The name of the software making the request.","X-required-conditional":false,"X-condition-logic":""},"SoftwareVersion":{"type":"string","description":"The version of the software making the request.","X-required-conditional":false,"X-condition-logic":""},"ScheduleId":{"type":"string","description":"The ID of the schedule to delete.","X-required-conditional":false,"X-condition-logic":""}},"required":["SoftwareName","SoftwareVersion","ScheduleId"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"Result":{"type":"string","description":"The result of the API call. S represents success, E represents error."},"RefNum":{"type":"string","description":"A unique request ID."},"Error":{"type":"string","description":"If the Result parameter contains a value of E, this parameter will contain any relevant error messages."}}}}}}}}}}}
```

## Get Schedule

> Use this endpoint to retrieve a recurring billing schedule by its identifier. It is useful for loading the current schedule configuration, reviewing status, or preparing a safe update using the latest stored values.<br>

```json
{"openapi":"3.0.3","info":{"title":"Sola Payments - Schedule APIs","version":"1.0.0"},"tags":[{"name":"Schedule"}],"servers":[{"url":"https://api.cardknox.com","description":"Default API host"}],"paths":{"/v2/GetSchedule":{"post":{"summary":"Get Schedule","description":"Use this endpoint to retrieve a recurring billing schedule by its identifier. It is useful for loading the current schedule configuration, reviewing status, or preparing a safe update using the latest stored values.\n","operationId":"API_061_GetSchedule","tags":["Schedule"],"deprecated":false,"parameters":[{"in":"header","name":"Authorization","required":true,"schema":{"type":"string"},"description":"This endpoint is authenticated using your Sola API key. Include the key in the `Authorization` header.\n"},{"in":"header","name":"X-Recurring-Api-Version","required":true,"schema":{"type":"string"},"description":"Include the Customer and Recurring API minor version in the `X-Recurring-Api-Version` request header.\n"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"SoftwareName":{"type":"string","description":"The name of the software making the request.","X-required-conditional":false,"X-condition-logic":""},"SoftwareVersion":{"type":"string","description":"The version of the software making the request.","X-required-conditional":false,"X-condition-logic":""},"ScheduleId":{"type":"string","description":"The ID of the schedule to retrieve.","X-required-conditional":false,"X-condition-logic":""},"ShowDeleted":{"type":"boolean","description":"A flag that can be set to retrieve deleted items. If set to true, only deleted items can be retrieved (i.e., schedules that are not deleted will not be returned).","X-required-conditional":false,"X-condition-logic":""}},"required":["SoftwareName","SoftwareVersion","ScheduleId"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"Result":{"type":"string","description":"The result of the API call. S represents success, E represents error."},"RefNum":{"type":"string","description":"A unique request ID."},"Error":{"type":"string","description":"If the Result parameter contains a value of E, this parameter will contain any relevant error messages."},"Revision":{"type":"integer","description":"The revision number of the record to update. If this does not match the current revision number of the record, the update will fail."},"ScheduleId":{"type":"string","description":"Schedule reference number."},"ScheduleName":{"type":"string","description":"Schedule name."},"CustomerId":{"type":"string","description":"Customer's unique ID number."},"PaymentMethodId":{"type":"string","description":"The unique ID number of the payment method the schedule uses to process the transactions Note: Only populated when a specific PaymentMethodId was sent in on creating/updating schedule"},"IsDeleted":{"type":"boolean","description":"A flag indicating whether the record is deleted."},"UseDefaultCardOnly":{"type":"boolean","description":"Indicates that the system should not try another card if the default card fails."},"FailedTransactionRetryTimes":{"type":"string","description":"Maximum number of times to retry before rescheduling to the next run time if the transaction fails. The tries are spaced apart into 1-day intervals."},"FailedAttemptsInCurrentInterval":{"type":"integer","description":"The number of unsuccessful transactions that were processed for the current interval. This value will reset to 0 at the start of the next interval."},"DaysBetweenRetries":{"type":"integer","description":"Number of days between retries after a declined transaction."},"ScheduleRule":{"type":"string","description":"The schedule rule used to determine the next run time after each processed payment."},"StartDate":{"type":"string","description":"Schedule start date in YYYY-MM-DD format."},"EndDate":{"type":"string","description":"Schedule end date in YYYY-MM-DD format."},"AllowInitialTransactionToDecline":{"type":"boolean","description":"Indicates whether the schedule was set up to allow the first transaction to be declined."},"Description":{"type":"string","description":"Additional data sent with the transaction (optional)."},"Amount":{"type":"string","description":"Transaction amount."},"Currency":{"type":"string","description":"Currency code to be used when processing transactions."},"TotalPayments":{"type":"integer","description":"Total count of scheduled payment occurrences, including the initial payment."},"PaymentsProcessed":{"type":"integer","description":"The number of payments processed by the schedule."},"SkipSaturdayAndHolidays":{"type":"boolean","description":"Indicates whether to process payments on the Sabbath and Jewish holidays."},"IntervalType":{"type":"object","description":"Type of time interval."},"IntervalCount":{"type":"integer","description":"Number of time periods to elapse before the payment schedule is re-triggered. Note: Refer to the /CreateSchedule endpoint for more details."},"LastTransactionStatus":{"type":"string","description":"The status of the last transaction run by the schedule."},"LastTransactionError":{"type":"string","description":"The error message of the last transaction if the status was Error."},"LastProjectedPaymentDate":{"type":"string","description":"The projected payment date of the last transaction that the schedule will run. Note: This may not be 100% accurate if that last date falls on a Saturday or Holiday and SkipSaturdayAndHolidays is set."},"Invoice":{"type":"string","description":"Customer's invoice number for the transaction."},"PONumber":{"type":"string","description":"Customer's purchase order number for the transaction."},"CustReceipt":{"type":"boolean","description":"A flag indicating whether receipts will be sent to the email set in Email for the customer."},"NextScheduledRunTime":{"type":"string","description":"The date and time that the schedule will next run."},"InitialRunTime":{"type":"string","description":"The date and time of the first transaction run by the schedule."},"LastRunTime":{"type":"string","description":"The date and time of the last transaction run by the schedule."},"IsActive":{"type":"boolean","description":"A flag indicating whether the schedule is currently enabled/active."},"CalendarCulture":{"type":"string","description":"Type of calendar to use when executing month and year interval types."},"CreatedDate":{"type":"string","description":"Date that the schedule was created."},"CustomerNumber":{"type":"string","description":"Merchant's internal customer identifier."},"Email":{"type":"string","description":"Customer's email address."},"BillFirstName":{"type":"string","description":"Customer's first name for their billing profile."},"BillMiddleName":{"type":"string","description":"Customer's middle name or initial for their billing profile."},"BillLastName":{"type":"string","description":"Customer's last/family name for their billing profile."},"BillCompany":{"type":"string","description":"Customer's company for their billing profile."},"AfterMaxRetriesAction":{"type":"string","description":"The action to perform after a schedule hits the maximum number of failed attempts in a single interval. Disable: Disables the schedule. ContinueNextInterval: Skips the current interval and continues at the next interval."},"SplitInstruction":{"type":"object","description":"On Instructional Funding accounts, the split instructions used for each scheduled transaction."},"Custom01":{"type":"string","description":"Custom field 01."},"Custom02":{"type":"string","description":"Custom field 02."},"Custom03":{"type":"string","description":"Custom field 03."},"Custom04":{"type":"string","description":"Custom field 04."},"Custom05":{"type":"string","description":"Custom field 05."},"Custom06":{"type":"string","description":"Custom field 06."},"Custom07":{"type":"string","description":"Custom field 07."},"Custom08":{"type":"string","description":"Custom field 08."},"Custom09":{"type":"string","description":"Custom field 09."},"Custom10":{"type":"string","description":"Custom field 10."},"Custom11":{"type":"string","description":"Custom field 11."},"Custom12":{"type":"string","description":"Custom field 12."},"Custom13":{"type":"string","description":"Custom field 13."},"Custom14":{"type":"string","description":"Custom field 14."},"Custom15":{"type":"string","description":"Custom field 15."},"Custom16":{"type":"string","description":"Custom field 16."},"Custom17":{"type":"string","description":"Custom field 17."},"Custom18":{"type":"string","description":"Custom field 18."},"Custom19":{"type":"string","description":"Custom field 19."},"Custom20":{"type":"string","description":"Custom field 20."}}}}}}}}}}}
```

## Get Upcoming Payment Dates

> Use this endpoint to retrieve projected upcoming payment dates for a recurring schedule. It is useful for next-bill-date displays, customer communication workflows, and internal scheduling visibility.<br>

```json
{"openapi":"3.0.3","info":{"title":"Sola Payments - Schedule APIs","version":"1.0.0"},"tags":[{"name":"Schedule"}],"servers":[{"url":"https://api.cardknox.com","description":"Default API host"}],"paths":{"/v2/GetUpcomingPaymentDates":{"post":{"summary":"Get Upcoming Payment Dates","description":"Use this endpoint to retrieve projected upcoming payment dates for a recurring schedule. It is useful for next-bill-date displays, customer communication workflows, and internal scheduling visibility.\n","operationId":"API_062_GetUpcomingPaymentDates","tags":["Schedule"],"deprecated":false,"parameters":[{"in":"header","name":"Authorization","required":true,"schema":{"type":"string"},"description":"This endpoint is authenticated using your Sola API key. Include the key in the `Authorization` header.\n"},{"in":"header","name":"X-Recurring-Api-Version","required":true,"schema":{"type":"string"},"description":"Include the Customer and Recurring API minor version in the `X-Recurring-Api-Version` request header.\n"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"SoftwareName":{"type":"string","description":"The name of the software making the request.","X-required-conditional":false,"X-condition-logic":""},"SoftwareVersion":{"type":"string","description":"The version of the software making the request.","X-required-conditional":false,"X-condition-logic":""},"ScheduleId":{"type":"string","description":"The ID of the schedule to retrieve.","X-required-conditional":false,"X-condition-logic":""},"NumberOfPayments":{"type":"integer","description":"The number of payment dates to retrieve.","X-required-conditional":false,"X-condition-logic":""},"CalendarCulture":{"type":"string","description":"The culture the dates should be returned in.","X-required-conditional":false,"X-condition-logic":""}},"required":["SoftwareName","SoftwareVersion","ScheduleId","NumberOfPayments"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"Result":{"type":"string","description":"The result of the API call. S represents success, E represents an error."},"RefNum":{"type":"string","description":"A unique request ID."},"Error":{"type":"string","description":"If the Result parameter contains a value of E, this parameter will contain any relevant error messages."},"UpcomingPaymentDates":{"type":"string","description":"The upcoming payment dates for the specified schedule in the format yyyy-mm-dd."}}}}}}}}}}}
```

## List Schedules

> Use this endpoint to list recurring billing schedules in the Customer & Recurring API. It is useful for administrative review, customer account views, and operational monitoring of recurring billing activity.<br>

```json
{"openapi":"3.0.3","info":{"title":"Sola Payments - Schedule APIs","version":"1.0.0"},"tags":[{"name":"Schedule"}],"servers":[{"url":"https://api.cardknox.com","description":"Default API host"}],"paths":{"/v2/ListSchedules":{"post":{"summary":"List Schedules","description":"Use this endpoint to list recurring billing schedules in the Customer & Recurring API. It is useful for administrative review, customer account views, and operational monitoring of recurring billing activity.\n","operationId":"API_063_ListSchedules","tags":["Schedule"],"deprecated":false,"parameters":[{"in":"header","name":"Authorization","required":true,"schema":{"type":"string"},"description":"This endpoint is authenticated using your Sola API key. Include the key in the `Authorization` header.\n"},{"in":"header","name":"X-Recurring-Api-Version","required":true,"schema":{"type":"string"},"description":"Include the Customer and Recurring API minor version in the `X-Recurring-Api-Version` request header.\n"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"SoftwareName":{"type":"string","description":"The name of the software making the request.","X-required-conditional":false,"X-condition-logic":""},"SoftwareVersion":{"type":"string","description":"The version of the software making the request.","X-required-conditional":false,"X-condition-logic":""},"PageSize":{"type":"integer","description":"The maximum number of items to retrieve for this request.","X-required-conditional":false,"X-condition-logic":""},"NextToken":{"type":"string","description":"A token that can be sent in to the following request to get the next set of schedules.","X-required-conditional":false,"X-condition-logic":""},"SortOrder":{"type":"string","description":"The list order. Order is determined by schedule creation date.","X-required-conditional":false,"X-condition-logic":""},"Filters":{"type":"object","description":"Filters that can be applied to limit the result set. Filters will remove any items that don't contain the string for that filter value. If there are multiple filters applied the item must match all of them. Available filters:IsDeleted Active Amount IntervalCount CustomerId ScheduleId BillFirstName BillMiddleName BillLastName BillName Email BillCompany CustomerNumber ScheduleName Description IntervalType StartDate PaymentsRemaining","X-required-conditional":false,"X-condition-logic":""}},"required":["SoftwareName","SoftwareVersion"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"Result":{"type":"string","description":"The result of the API call. S represents success, E represents an error."},"RefNum":{"type":"string","description":"A unique request ID."},"Error":{"type":"string","description":"If the Result parameter contains a value of E, this parameter will contain any relevant error messages."},"Schedules":{"type":"string","description":"An array of schedule objects. Refer to the /GetSchedule endpoint for the values that are returned for each schedule. Note: The ScheduleRule field is not returned by this endpoint for each schedule."},"NextToken":{"type":"string","description":"A token to include in the next request to get the next set of results."}}}}}}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cardknox.gitbook.io/sola-dev-docs/api-reference/customer-and-recurring-api/schedule.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
