post
https://api.vcita.biz/v3/sales/payment_plans
Create a PaymentPlan that charges the client's saved card on a recurring schedule. Omit payment_request_uid for a standalone plan; supply it to collect against an open invoice.
amount is validated, not derived. For a linked plan, divide the invoice's open balance by cycles and round up to two decimals — the final installment is then clamped down to the balance that actually remains, so the invoice lands on exactly zero. A 1,000.00 invoice over 3 cycles takes amount: 333.34, collecting 333.34, 333.34 and 333.32.
cycles is required for every frequency_type except one_time, where it is ignored and stored as 1.
Available for Staff Tokens.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
