Deal installments are scheduled payment entries attached to a deal, enabling split payment arrangements.
Lists installments attached to a list of deals.
Only available in Growth and above plans.
10
/api/v2/deals/installments
deal_ids
array
required
An array of integers with the IDs of the deals for which the attached installments will be returned. A maximum of 100 deal IDs can be provided.
cursor
string
For pagination, the marker (an opaque string value) representing the first item on the next page
limit
integer
For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
sort_by
string
The field to sort by. Supported fields: id, billing_date, deal_id.
Default
id
Values
id
billing_date
deal_id
sort_direction
string
The sorting direction. Supported values: asc, desc.
Default
asc
Values
asc
desc
OK
Adds an installment to a deal.
An installment can only be added if the deal includes at least one one-time product. If the deal contains at least one recurring product, adding installments is not allowed.
Only available in Growth and above plans.
5
/api/v2/deals/{id}/installments
id
integer
required
The ID of the deal
application/json
description
string
required
The name of the installment.
amount
number
required
The installment amount. Must be a positive number (excluding 0).
billing_date
string
required
The date on which the installment will be charged. Must be in the format YYYY-MM-DD.
OK
Edits an installment added to a deal.
Only available in Growth and above plans.
5
/api/v2/deals/{id}/installments/{installment_id}
id
integer
required
The ID of the deal
installment_id
integer
required
The ID of the installment
application/json
description
string
The name of the installment.
amount
number
The installment amount. Must be a positive number (excluding 0).
billing_date
string
The date on which the installment will be charged. Must be in the format YYYY-MM-DD.
OK
Removes an installment from a deal.
Only available in Growth and above plans.
3
/api/v2/deals/{id}/installments/{installment_id}
id
integer
required
The ID of the deal
installment_id
integer
required
The ID of the installment
OK