put https://sandbox.asaas.com/api/v3/subscriptions/
--
When updating a subscription, the nextDueDate
parameter is used to indicate the due date of the next installment to be generated, meaning it does not update the due date of the already generated installment.
Additionally, when updating the subscription amount or payment method, only future installments will be affected. To update existing installments with the new payment method and/or amount, you need to pass the updatePendingPayments: true
parameter.
You can suspend the subscription by setting the
status
toINACTIVE
. This will stop new billings from being generated until it is set toACTIVE
again. When resuming a subscription, it is mandatory to inform thenextDueDate
of the next generated subscription.