API Methods: Recurring Sale Parameters
This document outlines the parameters required to set up recurring sales using two different methods.
To create a recurring sale with these methods, you must first set the CreateRecurringSale
parameter to true
. The following parameters are used to configure the recurring payment schedule.
Parameters
'CreateRecurringSale'
(boolean)- Set to
true
to indicate the creation of a recurring sale.
- Set to
'SaleType'
(integer)- For recurring sales, the transaction must be set to "pending payment". Use the value
2
.
- For recurring sales, the transaction must be set to "pending payment". Use the value
'RecurringSaleCycle'
(integer)- Specifies the time unit for the billing cycle.
1
= Day2
= Week3
= Month
- Specifies the time unit for the billing cycle.
RecurringSaleDay
(integer)- The day of the month on which the charge should occur (e.g.,
15
for the 15th). - Note: This parameter is only relevant for monthly cycles (
RecurringSaleCycle
=3
). The valid range is 1-28.
- The day of the month on which the charge should occur (e.g.,
RecurringSaleStep
(integer)- Defines the interval between charges, based on the
RecurringSaleCycle
. For example, aRecurringSaleStep
of2
with aRecurringSaleCycle
of3
(Month) would result in a charge every two months. - Default:
1
- Defines the interval between charges, based on the
RecurringSaleCount
(integer)- The total number of payments in the recurring series.
- Set to
0
for an indefinite (non-stop) recurring payment.
RecurringSaleStartDate
(date)- The date to start the recurring payment cycle (e.g.,
YYYY-MM-DD
). - Leave this parameter empty to start the cycle on the day of its creation.
- The date to start the recurring payment cycle (e.g.,
RecurringSaleAutocharge
(boolean)- Set to
true
to automatically charge the customer for each payment in the recurring series.
- Set to
Using Direct Payments (ChargeSimple
with CreateSale
)
ChargeSimple
with CreateSale
)To process a recurring sale using the ChargeSimple direct payment method, use the following specific parameter values.
Parameter Name | Values | Description |
---|---|---|
ParamJ | 5 (same as on hold) | The Param Settings. |
TransactionType | 11 (Recurring Transaction) | The Transaction Type. |
Updated 5 days ago