Paddle.SubscriptionPayment.reschedule

You're seeing just the function reschedule, go back to Paddle.SubscriptionPayment module for more information.
Link to this function

reschedule(payment_id, date)

View Source

Specs

reschedule(integer(), Date.t()) :: {:ok, nil} | {:error, Paddle.Error.t()}

Change the due date of the upcoming subscription payment

Note: You may need to first call Paddle.SubscriptionPayment.list/1 to obtain an upcoming (unpaid) payment ID value to make this call.

Examples

Paddle.SubscriptionPayment.reschedule(10, ~D[2015-10-15])
{:ok, nil}