View as Markdown

llms.txt

The API reference isn't available right now

This instance couldn't load its API specification. The reference returns as soon as the specification is readable again.

Back to the API reference

No such model

This instance publishes no model under that name. It may have been renamed, or no operation this installation serves uses it.

Back to the API reference

This reference may be out of date

This instance couldn't reach its API specification on the last attempt, so this page shows the copy fetched before that. Anything added or changed since then is missing here, and the reference updates itself as soon as the specification is readable again. Last fetched 2026-10-22 22:52 UTC.

API reference Models

ContractThresholds

A model the API reference uses in a request or a response. The operation pages link every field typed as this model here.

Values

Values: Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.

Fields

Field Type Description
maxAmount required number (double) Total amount the contract may bill across its lifetime before it deactivates itself. Leave it empty for no limit. The contract create and update endpoints require a value greater than zero when one is supplied; a non-positive value stored by an older save is read as no limit. nullablemin 0
Values: Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
maxNumPayments required integer (int32) Total number of billing attempts, successful or not, the contract may make before it deactivates itself. Leave it empty for no limit. The contract create and update endpoints require at least 1 when a value is supplied; a non-positive value stored by an older save is read as no limit. nullable
Values: Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
maxSuccessfulBills required integer (int32) Number of successful bills the contract may take before it deactivates itself. Leave it empty for no limit. The contract create and update endpoints require at least 1 when a value is supplied; a non-positive value stored by an older save is read as no limit. nullable
Values: Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
maxFailCount required integer (int32) Consecutive failed billing attempts that suspend the contract. Empty or `0` means the contract is never suspended for failures and retries indefinitely. Unlike the three capacity caps above, `0` is a valid, accepted value here. nullable
Values: Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
failureInterval required integer (int32) How many `failurePeriod` units to wait before retrying after a failed billing attempt. Applied together with `failurePeriod`. nullable
Values: Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
failurePeriod required Period Period The unit the `failureInterval` retry delay is measured in. nullable
Values: Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
Day
Week
Month
Year
failureRetryResultCodes required array of string array of Processor response codes that count toward the `maxFailCount` suspension threshold. If a failure's response code is NOT in this list, the failure retries indefinitely until the contract ends. If the code IS in this list and consecutive failures reach `maxFailCount`, the contract is suspended. Null or empty means all failure codes count toward suspension. nullable
Values: Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.

This model has no documented fields.

Reconnecting to the server

Could not reconnect

This session has ended

Attempt 1

Your work on this page is still here. Retrying keeps it; reloading starts the page again.

The server no longer holds this page's state, so it has to be loaded again.