Create an installment plan

Creates an installment plan for one invoice on the organization. customerId must match the invoice customer. Each date is YYYY-MM-DD and on or after the invoice due date. The amounts must add up to the invoice balance. An invoice that already has a plan returns 400. Requires organizations:installment-plans:create.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Create an installment plan for one invoice.

string
required
length between 1 and 200

Accounting invoice id.

string
required
length between 1 and 200

Accounting customer id. Must match the customer on the invoice.

installments
array of objects
required
length ≥ 1

Scheduled charges for this invoice.

installments*
Headers
uuid

Optional client-supplied unique ID for one request. The server generates a UUID v4 if omitted and always echoes the value in the response.

uuid

Optional ID that flows across service boundaries for distributed tracing. The server generates a UUID v4 if omitted and always echoes the value in the response.

string
length between 1 and 255
^[a-zA-Z0-9]+$

Optional client-supplied key that makes retries safe for POST/PATCH/PUT. Scoped per actor; cached for 24 hours. Replays return the cached response with X-Idempotency-Replayed: true. Same key with a different body returns 409. In-flight duplicates return 429 with Retry-After. See the Idempotency section in the API overview.

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json