Represents a purchase commitment. Can be one of two types: Subscription or OneTime.

A "subscription" typed commitment represents a purchase commitment that will be paid in installments over a given period, whereas a "one-time" commitment will be paid in full once. Commitment for a subscription.

id
integer

ID of the commitment.

type
string

Type of the commitment.

Allowed value: "SubscriptionCommitment"
owner
object

Owner of the commitment. Reference to a user. User ID who is the owner of the commitment.

purchase
object

Purchase of the commitment. Reference to a purchase. Purchase of the subscription commitment.

attachments
attachment · object[]

Attachments of the commitment.

Required array length: 1 - 3 elements
comment
string | null

Comment of the commitment.

paymentMethod
enum<string> | null

Method of payment of the commitment. BankTransfer: bank transfer. PhysicalCard: physical card. Check: check. DirectDebit: direct debit. SingleUseCard: single use card.

Available options:
BankTransfer,
PhysicalCard,
Check,
DirectDebit,
SingleUseCard
state
enum<string>

State of the commitment.

Available options:
Created,
UnderReview,
Provisioned,
Denied,
Cancelled
startDate
string<date>

Start date of the subscription.

firstInvoiceDate
string<date>

Date of the first invoice.

invoicingFrequency
object

Invoicing frequency of the subscription.

subscriptionDuration
object

Duration of the subscription.

contractualObligation
object

Contractual obligation of the subscription.

terminationNotice
object

Termination notice of the subscription.

amountIncludingTaxesPerPeriod
object

Represents an amount of money with VAT taxes in two different currencies. Amount including taxes per period.

amountIncludingTaxes
object

Represents an amount of money with VAT taxes in two different currencies. Amount including taxes.

subscriptionEndDate
string<date>

End date of the subscription.

periodsCount
integer

Number of periods.

contractualEndDate
string<date> | null

End date of the contractual obligation.

createdAt
string<date-time>

Date of creation of the commitment. Read-only.

author
object

Reference to a user. Read-only. User ID who is the author of the commitment.

modifiedAt
string<date-time>

Read-only. Date of last modification of the commitment.

modifier
object

Reference to a user. Read-only. User ID who is the modifier of the commitment.