Updates the schedule configuration of a specific subscription plan.
The sub-account user-id to make this transaction for. This header is only used if you have access to xenPlatform. See xenPlatform for more information.
Xendit-generated recurring schedule ID, with prefix resc-xxx
.
JSON object containing the schedule configuration to update.
Interval type between consecutive recurring cycles. Supported values: DAY
, WEEK
, MONTH
. - WEEK
: Anchor date determines the weekday. - MONTH
: Anchor date determines the day of the month.
Number of units for the specified interval. For example, an interval of MONTH
with an interval_count
of 3 means cycles occur every 3 months.
Total number of cycles for the schedule. Default = NULL
, meaning the schedule runs indefinitely.
Start date for the schedule (ISO 8601 format). Supported values: Timestamps between 1st and 28th of a month. If set to 29–31, defaults to 1st of the next month.
Interval type between retry attempts for failed cycles.
Number of retry intervals between consecutive retries.
Maximum number of retry attempts allowed.
Specifies which retry attempts trigger failure notifications to the end user. Values must not exceed total_retry
and must be unique.
Successfully updated the schedule configuration.
Merchant-provided identifier for the schedule.
Frequency of the recurring cycles.
Number of intervals between consecutive cycles.
Total number of cycles (optional; runs indefinitely if null).
Start date for the recurring schedule (ISO 8601 format).
Interval between retry attempts for failed payments.
Number of retry intervals between consecutive retries.
Maximum number of retries for failed cycles.
Notifications triggered at specific retry attempts.
Validation error, such as invalid schedule fields or unsupported values.
Invalid API key or unauthorized access.
Recurring schedule not found.
Unsupported content type.
Server error.