Create an autopay schedule
Creates a recurring payment schedule for an account using a stored payment method. The first run lands on start_date; subsequent runs advance by frequency_interval × frequency_unit. The payment method must belong to a borrower on the account and must be active.
Authorizations
Static API key issued via the client portal. Treat it like a password.
Body
Request body for creating an autopay schedule. The payment method must belong to a borrower on the target account.
The account this schedule pays toward.
The stored payment method to charge on each run.
Amount to charge per run, in integer cents.
Unit of the recurrence interval.
day, week, month, year Date of the first scheduled run.
Number of units between runs. Defaults to 1.
x >= 1Last date a run may occur. Omit for an open-ended schedule.
Day of month (1-31) to pin runs to, for month/year cadences.
1 <= x <= 31Month (1-12) to pin runs to, for yearly cadences.
1 <= x <= 12Response
Successful Response
A recurring payment schedule tying an account to a stored payment method.
The account this schedule pays toward.
The stored payment method charged on each run.
Amount charged per run, in integer cents.
Unit of the recurrence interval. One of: day, week, month, year.
Number of units between runs (e.g. 2 + week = every two weeks).
Date of the first scheduled run.
Date the next charge is scheduled to run.
Schedule state. One of: active, paused, cancelled, expired.
Day of month (1-31) runs are pinned to, for month/year cadences. Clamped to the last day of shorter months.
Month (1-12) runs are pinned to, for yearly cadences.
Last date a run may occur. Null for open-ended schedules.
When the schedule was cancelled. Null unless cancelled.