put https://apisandbox.cieloecommerce.cielo.com.br/1/RecurrentPayment//RecurrencyDay
Environment | Method | Endpoint |
---|---|---|
Sandbox | put | https://apisandbox.cieloecommerce.cielo.com.br/1/RecurrentPayment/{RecurrentPaymentId}/RecurrencyDay |
Production | put | https://api.cieloecommerce.cielo.com.br/1/RecurrentPayment/{RecurrentPaymentId}/RecurrencyDay |
When changing the recurrence day, consider the following rules for executing the update in the API:
- If the new day provided is after the current day, we will update the recurrence day to take effect on the next recurrence.
Example: today is 05/05 and the next recurrence is 25/05. When updated to the 10th, the next recurrence date will be 10/05.
- If the new day provided is before the current day, we will update the recurrence day, but this will only take effect after the next recurrence is successfully executed.
Example: today is 05/05 and the next recurrence is 25/05. When updated to the 3rd, the next recurrence date will remain 25/05. After its execution, the following recurrence will be scheduled for 03/06.
- If the new day provided is before the current day, but the next recurrence is in another month, we will update the recurrence day to take effect on the next recurrence.
Example: today is 05/05 and the next recurrence is 25/09. When updated to the 3rd, the next recurrence date will be 03/09.