Skip to content
  • Auto
  • Light
  • Dark
Talk to an expert

List

List customer contracts (v2)
client.V2.Contracts.List(ctx, body) (*DataarrayV2ContractListResponse, error)
post/v2/contracts/list

List all contracts for a customer in chronological order. New clients should use this endpoint rather than the v1 endpoint.

Parameters
bodyCustomerIDfieldCoveringDatefieldIncludeArchivedfieldIncludeBalancefieldIncludeLedgersfieldStartingAtfieldV2ContractListParams
Hide ParametersShow Parameters
CustomerIDfield
param.Field[string]
formatuuid
CoveringDatefield
optional
param.Field[Time]

Optional RFC 3339 timestamp. Only include contracts active on the provided date. This cannot be provided if starting_at filter is provided.

formatdate-time
IncludeArchivedfield
optional
param.Field[bool]

Include archived contracts in the response.

IncludeBalancefield
optional
param.Field[bool]

Include the balance of credits and commits in the response. Setting this flag may cause the response to be slower.

IncludeLedgersfield
optional
param.Field[bool]

Include commit/credit ledgers in the response. Setting this flag may cause the response to be slower.

StartingAtfield
optional
param.Field[Time]

Optional RFC 3339 timestamp. Only include contracts that started on or after this date. This cannot be provided if covering_date filter is provided.

formatdate-time
Returns
V2ContractListResponsestruct
Hide ParametersShow Parameters
Hide ParametersShow Parameters
IDstring
formatuuid
Hide ParametersShow Parameters
IDstring
formatuuid
Hide ParametersShow Parameters
IDstring
formatuuid
Namestring
TypeV2ContractListResponseDataCommitsTypePrepaidV2ContractListResponseDataCommitsTypeV2ContractListResponseDataCommitsTypePostpaidV2ContractListResponseDataCommitsTypeV2ContractListResponseDataCommitsType
Hide ParametersShow Parameters
V2ContractListResponseDataCommitsTypePrepaidconst
V2ContractListResponseDataCommitsTypePrepaidV2ContractListResponseDataCommitsTypeV2ContractListResponseDataCommitsTypePostpaidV2ContractListResponseDataCommitsTypeV2ContractListResponseDataCommitsType
"PREPAID"
V2ContractListResponseDataCommitsTypePostpaidconst
V2ContractListResponseDataCommitsTypePrepaidV2ContractListResponseDataCommitsTypeV2ContractListResponseDataCommitsTypePostpaidV2ContractListResponseDataCommitsTypeV2ContractListResponseDataCommitsType
"POSTPAID"
AccessScheduleScheduleItemsarrayCreditTypeCreditTypeDataScheduleDuration
optional

The schedule that the customer will gain access to the credits purposed with this commit.

ApplicableContractIDsarray
optional
[]string
ApplicableProductIDsarray
optional
[]string
ApplicableProductTagsarray
optional
[]string
ArchivedAtTime
optional
formatdate-time
Balancefloat64
optional

The current balance of the credit or commit. This balance reflects the amount of credit or commit that the customer has access to use at this moment - thus, expired and upcoming credit or commit segments contribute 0 to the balance. The balance will match the sum of all ledger entries with the exception of the case where the sum of negative manual ledger entries exceeds the positive amount remaining on the credit or commit - in that case, the balance will be 0. All manual ledger entries associated with active credit or commit segments are included in the balance, including future-dated manual ledger entries.

Hide ParametersShow Parameters
IDstring
formatuuid
CustomFieldsmap
optional
map[string, string]
Descriptionstring
optional

Optional configuration for commit hierarchy access control

Hide ParametersShow Parameters
ChildAccessV2ContractListResponseDataCommitsHierarchyConfigurationChildAccessCommitHierarchyChildAccessAllstruct{…}V2ContractListResponseDataCommitsHierarchyConfigurationChildAccessCommitHierarchyChildAccessNonestruct{…}V2ContractListResponseDataCommitsHierarchyConfigurationChildAccessCommitHierarchyChildAccessContractIDsstruct{…}V2ContractListResponseDataCommitsHierarchyConfigurationChildAccess
Hide ParametersShow Parameters
V2ContractListResponseDataCommitsHierarchyConfigurationChildAccessCommitHierarchyChildAccessAllstruct
Hide ParametersShow Parameters
Hide ParametersShow Parameters
V2ContractListResponseDataCommitsHierarchyConfigurationChildAccessCommitHierarchyChildAccessAllTypeAllconst
"ALL"
V2ContractListResponseDataCommitsHierarchyConfigurationChildAccessCommitHierarchyChildAccessNonestruct
Hide ParametersShow Parameters
Hide ParametersShow Parameters
V2ContractListResponseDataCommitsHierarchyConfigurationChildAccessCommitHierarchyChildAccessNoneTypeNoneconst
"NONE"
V2ContractListResponseDataCommitsHierarchyConfigurationChildAccessCommitHierarchyChildAccessContractIDsstruct
Hide ParametersShow Parameters
ContractIDsarray
[]string
Hide ParametersShow Parameters
V2ContractListResponseDataCommitsHierarchyConfigurationChildAccessCommitHierarchyChildAccessContractIDsTypeContractIDsconst
"CONTRACT_IDS"

The contract that this commit will be billed on.

Hide ParametersShow Parameters
IDstring
formatuuid
InvoiceScheduleCreditTypeCreditTypeDataDoNotInvoiceboolScheduleItemsarraySchedulePointInTime
optional

The schedule that the customer will be invoiced for this commit.

Ledgerarray
optional

A list of ordered events that impact the balance of a commit. For example, an invoice deduction or a rollover.

Hide ParametersShow Parameters
V2ContractListResponseDataCommitsLedgerPrepaidCommitSegmentStartLedgerEntrystruct
Hide ParametersShow Parameters
Amountfloat64
SegmentIDstring
formatuuid
TimestampTime
formatdate-time
TypeV2ContractListResponseDataCommitsLedgerPrepaidCommitSegmentStartLedgerEntryTypePrepaidCommitSegmentStartV2ContractListResponseDataCommitsLedgerPrepaidCommitSegmentStartLedgerEntryTypeV2ContractListResponseDataCommitsLedgerPrepaidCommitSegmentStartLedgerEntryType
Hide ParametersShow Parameters
V2ContractListResponseDataCommitsLedgerPrepaidCommitSegmentStartLedgerEntryTypePrepaidCommitSegmentStartconst
"PREPAID_COMMIT_SEGMENT_START"
V2ContractListResponseDataCommitsLedgerPrepaidCommitAutomatedInvoiceDeductionLedgerEntrystruct
Hide ParametersShow Parameters
Amountfloat64
InvoiceIDstring
formatuuid
SegmentIDstring
formatuuid
TimestampTime
formatdate-time
TypeV2ContractListResponseDataCommitsLedgerPrepaidCommitAutomatedInvoiceDeductionLedgerEntryTypePrepaidCommitAutomatedInvoiceDeductionV2ContractListResponseDataCommitsLedgerPrepaidCommitAutomatedInvoiceDeductionLedgerEntryTypeV2ContractListResponseDataCommitsLedgerPrepaidCommitAutomatedInvoiceDeductionLedgerEntryType
Hide ParametersShow Parameters
V2ContractListResponseDataCommitsLedgerPrepaidCommitAutomatedInvoiceDeductionLedgerEntryTypePrepaidCommitAutomatedInvoiceDeductionconst
V2ContractListResponseDataCommitsLedgerPrepaidCommitAutomatedInvoiceDeductionLedgerEntryTypePrepaidCommitAutomatedInvoiceDeductionV2ContractListResponseDataCommitsLedgerPrepaidCommitAutomatedInvoiceDeductionLedgerEntryTypeV2ContractListResponseDataCommitsLedgerPrepaidCommitAutomatedInvoiceDeductionLedgerEntryType
"PREPAID_COMMIT_AUTOMATED_INVOICE_DEDUCTION"
ContractIDstring
optional
formatuuid
V2ContractListResponseDataCommitsLedgerPrepaidCommitRolloverLedgerEntrystruct
Hide ParametersShow Parameters
Amountfloat64
NewContractIDstring
formatuuid
SegmentIDstring
formatuuid
TimestampTime
formatdate-time
TypeV2ContractListResponseDataCommitsLedgerPrepaidCommitRolloverLedgerEntryTypePrepaidCommitRolloverV2ContractListResponseDataCommitsLedgerPrepaidCommitRolloverLedgerEntryTypeV2ContractListResponseDataCommitsLedgerPrepaidCommitRolloverLedgerEntryType
Hide ParametersShow Parameters
V2ContractListResponseDataCommitsLedgerPrepaidCommitRolloverLedgerEntryTypePrepaidCommitRolloverconst
"PREPAID_COMMIT_ROLLOVER"
V2ContractListResponseDataCommitsLedgerPrepaidCommitExpirationLedgerEntrystruct
Hide ParametersShow Parameters
Amountfloat64
SegmentIDstring
formatuuid
TimestampTime
formatdate-time
TypeV2ContractListResponseDataCommitsLedgerPrepaidCommitExpirationLedgerEntryTypePrepaidCommitExpirationV2ContractListResponseDataCommitsLedgerPrepaidCommitExpirationLedgerEntryTypeV2ContractListResponseDataCommitsLedgerPrepaidCommitExpirationLedgerEntryType
Hide ParametersShow Parameters
V2ContractListResponseDataCommitsLedgerPrepaidCommitExpirationLedgerEntryTypePrepaidCommitExpirationconst
"PREPAID_COMMIT_EXPIRATION"
V2ContractListResponseDataCommitsLedgerPrepaidCommitCanceledLedgerEntrystruct
Hide ParametersShow Parameters
Amountfloat64
InvoiceIDstring
formatuuid
SegmentIDstring
formatuuid
TimestampTime
formatdate-time
TypeV2ContractListResponseDataCommitsLedgerPrepaidCommitCanceledLedgerEntryTypePrepaidCommitCanceledV2ContractListResponseDataCommitsLedgerPrepaidCommitCanceledLedgerEntryTypeV2ContractListResponseDataCommitsLedgerPrepaidCommitCanceledLedgerEntryType
Hide ParametersShow Parameters
V2ContractListResponseDataCommitsLedgerPrepaidCommitCanceledLedgerEntryTypePrepaidCommitCanceledconst
"PREPAID_COMMIT_CANCELED"
ContractIDstring
optional
formatuuid
V2ContractListResponseDataCommitsLedgerPrepaidCommitCreditedLedgerEntrystruct
Hide ParametersShow Parameters
Amountfloat64
InvoiceIDstring
formatuuid
SegmentIDstring
formatuuid
TimestampTime
formatdate-time
TypeV2ContractListResponseDataCommitsLedgerPrepaidCommitCreditedLedgerEntryTypePrepaidCommitCreditedV2ContractListResponseDataCommitsLedgerPrepaidCommitCreditedLedgerEntryTypeV2ContractListResponseDataCommitsLedgerPrepaidCommitCreditedLedgerEntryType
Hide ParametersShow Parameters
V2ContractListResponseDataCommitsLedgerPrepaidCommitCreditedLedgerEntryTypePrepaidCommitCreditedconst
"PREPAID_COMMIT_CREDITED"
ContractIDstring
optional
formatuuid
V2ContractListResponseDataCommitsLedgerPrepaidCommitSeatBasedAdjustmentLedgerEntrystruct
Hide ParametersShow Parameters
Amountfloat64
SegmentIDstring
formatuuid
TimestampTime
formatdate-time
TypeV2ContractListResponseDataCommitsLedgerPrepaidCommitSeatBasedAdjustmentLedgerEntryTypePrepaidCommitSeatBasedAdjustmentV2ContractListResponseDataCommitsLedgerPrepaidCommitSeatBasedAdjustmentLedgerEntryTypeV2ContractListResponseDataCommitsLedgerPrepaidCommitSeatBasedAdjustmentLedgerEntryType
Hide ParametersShow Parameters
V2ContractListResponseDataCommitsLedgerPrepaidCommitSeatBasedAdjustmentLedgerEntryTypePrepaidCommitSeatBasedAdjustmentconst
V2ContractListResponseDataCommitsLedgerPrepaidCommitSeatBasedAdjustmentLedgerEntryTypePrepaidCommitSeatBasedAdjustmentV2ContractListResponseDataCommitsLedgerPrepaidCommitSeatBasedAdjustmentLedgerEntryTypeV2ContractListResponseDataCommitsLedgerPrepaidCommitSeatBasedAdjustmentLedgerEntryType
"PREPAID_COMMIT_SEAT_BASED_ADJUSTMENT"
V2ContractListResponseDataCommitsLedgerPostpaidCommitInitialBalanceLedgerEntrystruct
Hide ParametersShow Parameters
Amountfloat64
TimestampTime
formatdate-time
TypeV2ContractListResponseDataCommitsLedgerPostpaidCommitInitialBalanceLedgerEntryTypePostpaidCommitInitialBalanceV2ContractListResponseDataCommitsLedgerPostpaidCommitInitialBalanceLedgerEntryTypeV2ContractListResponseDataCommitsLedgerPostpaidCommitInitialBalanceLedgerEntryType
Hide ParametersShow Parameters
V2ContractListResponseDataCommitsLedgerPostpaidCommitInitialBalanceLedgerEntryTypePostpaidCommitInitialBalanceconst
V2ContractListResponseDataCommitsLedgerPostpaidCommitInitialBalanceLedgerEntryTypePostpaidCommitInitialBalanceV2ContractListResponseDataCommitsLedgerPostpaidCommitInitialBalanceLedgerEntryTypeV2ContractListResponseDataCommitsLedgerPostpaidCommitInitialBalanceLedgerEntryType
"POSTPAID_COMMIT_INITIAL_BALANCE"
V2ContractListResponseDataCommitsLedgerPostpaidCommitAutomatedInvoiceDeductionLedgerEntrystruct
Hide ParametersShow Parameters
Amountfloat64
InvoiceIDstring
formatuuid
SegmentIDstring
formatuuid
TimestampTime
formatdate-time
TypeV2ContractListResponseDataCommitsLedgerPostpaidCommitAutomatedInvoiceDeductionLedgerEntryTypePostpaidCommitAutomatedInvoiceDeductionV2ContractListResponseDataCommitsLedgerPostpaidCommitAutomatedInvoiceDeductionLedgerEntryTypeV2ContractListResponseDataCommitsLedgerPostpaidCommitAutomatedInvoiceDeductionLedgerEntryType
Hide ParametersShow Parameters
V2ContractListResponseDataCommitsLedgerPostpaidCommitAutomatedInvoiceDeductionLedgerEntryTypePostpaidCommitAutomatedInvoiceDeductionconst
V2ContractListResponseDataCommitsLedgerPostpaidCommitAutomatedInvoiceDeductionLedgerEntryTypePostpaidCommitAutomatedInvoiceDeductionV2ContractListResponseDataCommitsLedgerPostpaidCommitAutomatedInvoiceDeductionLedgerEntryTypeV2ContractListResponseDataCommitsLedgerPostpaidCommitAutomatedInvoiceDeductionLedgerEntryType
"POSTPAID_COMMIT_AUTOMATED_INVOICE_DEDUCTION"
ContractIDstring
optional
formatuuid
V2ContractListResponseDataCommitsLedgerPostpaidCommitRolloverLedgerEntrystruct
Hide ParametersShow Parameters
Amountfloat64
NewContractIDstring
formatuuid
SegmentIDstring
formatuuid
TimestampTime
formatdate-time
TypeV2ContractListResponseDataCommitsLedgerPostpaidCommitRolloverLedgerEntryTypePostpaidCommitRolloverV2ContractListResponseDataCommitsLedgerPostpaidCommitRolloverLedgerEntryTypeV2ContractListResponseDataCommitsLedgerPostpaidCommitRolloverLedgerEntryType
Hide ParametersShow Parameters
V2ContractListResponseDataCommitsLedgerPostpaidCommitRolloverLedgerEntryTypePostpaidCommitRolloverconst
"POSTPAID_COMMIT_ROLLOVER"
V2ContractListResponseDataCommitsLedgerPostpaidCommitTrueupLedgerEntrystruct
Hide ParametersShow Parameters
Amountfloat64
InvoiceIDstring
formatuuid
TimestampTime
formatdate-time
Hide ParametersShow Parameters
V2ContractListResponseDataCommitsLedgerPostpaidCommitTrueupLedgerEntryTypePostpaidCommitTrueupconst
"POSTPAID_COMMIT_TRUEUP"
ContractIDstring
optional
formatuuid
V2ContractListResponseDataCommitsLedgerPrepaidCommitManualLedgerEntrystruct
Hide ParametersShow Parameters
Amountfloat64
Reasonstring
TimestampTime
formatdate-time
Hide ParametersShow Parameters
V2ContractListResponseDataCommitsLedgerPrepaidCommitManualLedgerEntryTypePrepaidCommitManualconst
"PREPAID_COMMIT_MANUAL"
V2ContractListResponseDataCommitsLedgerPostpaidCommitManualLedgerEntrystruct
Hide ParametersShow Parameters
Amountfloat64
Reasonstring
TimestampTime
formatdate-time
Hide ParametersShow Parameters
V2ContractListResponseDataCommitsLedgerPostpaidCommitManualLedgerEntryTypePostpaidCommitManualconst
"POSTPAID_COMMIT_MANUAL"
V2ContractListResponseDataCommitsLedgerPostpaidCommitExpirationLedgerEntrystruct
Hide ParametersShow Parameters
Amountfloat64
TimestampTime
formatdate-time
TypeV2ContractListResponseDataCommitsLedgerPostpaidCommitExpirationLedgerEntryTypePostpaidCommitExpirationV2ContractListResponseDataCommitsLedgerPostpaidCommitExpirationLedgerEntryTypeV2ContractListResponseDataCommitsLedgerPostpaidCommitExpirationLedgerEntryType
Hide ParametersShow Parameters
V2ContractListResponseDataCommitsLedgerPostpaidCommitExpirationLedgerEntryTypePostpaidCommitExpirationconst
"POSTPAID_COMMIT_EXPIRATION"
Namestring
optional
NetsuiteSalesOrderIDstring
optional

This field's availability is dependent on your client's configuration.

Priorityfloat64
optional

If multiple credits or commits are applicable, the one with the lower priority will apply first.

RateTypeV2ContractListResponseDataCommitsRateTypeCommitRateV2ContractListResponseDataCommitsRateTypeV2ContractListResponseDataCommitsRateTypeListRateV2ContractListResponseDataCommitsRateTypeV2ContractListResponseDataCommitsRateType
optional
Hide ParametersShow Parameters
V2ContractListResponseDataCommitsRateTypeCommitRateconst
V2ContractListResponseDataCommitsRateTypeCommitRateV2ContractListResponseDataCommitsRateTypeV2ContractListResponseDataCommitsRateTypeListRateV2ContractListResponseDataCommitsRateTypeV2ContractListResponseDataCommitsRateType
"COMMIT_RATE"
V2ContractListResponseDataCommitsRateTypeListRateconst
V2ContractListResponseDataCommitsRateTypeCommitRateV2ContractListResponseDataCommitsRateTypeV2ContractListResponseDataCommitsRateTypeListRateV2ContractListResponseDataCommitsRateTypeV2ContractListResponseDataCommitsRateType
"LIST_RATE"
RolledOverFromCommitIDstringContractIDstringV2ContractListResponseDataCommitsRolledOverFrom
optional
Hide ParametersShow Parameters
CommitIDstring
formatuuid
ContractIDstring
formatuuid
RolloverFractionfloat64
optional
SalesforceOpportunityIDstring
optional

This field's availability is dependent on your client's configuration.

Specifiersarray
optional

List of filters that determine what kind of customer usage draws down a commit or credit. A customer's usage needs to meet the condition of at least one of the specifiers to contribute to a commit's or credit's drawdown.

Hide ParametersShow Parameters
PresentationGroupValuesmap
optional
map[string, string]
PricingGroupValuesmap
optional
map[string, string]
ProductIDstring
optional

If provided, the specifier will only apply to the product with the specified ID.

formatuuid
ProductTagsarray
optional
[]string

If provided, the specifier will only apply to products with all the specified tags.

CreatedAtTime
formatdate-time
CreatedBystring
CustomerIDstring
formatuuid
Hide ParametersShow Parameters
IDstring
formatuuid
StartingAtTime
formatdate-time
ApplicableProductTagsarray
optional
[]string
EndingBeforeTime
optional
formatdate-time
Entitledbool
optional
IsCommitSpecificbool
optional
Multiplierfloat64
optional
Hide ParametersShow Parameters
BillingFrequencyV2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequencyMonthlyV2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequencyV2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequencyQuarterlyV2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequencyV2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequencyAnnualV2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequencyV2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequencyWeeklyV2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequencyV2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequency
optional
Hide ParametersShow Parameters
V2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequencyMonthlyconst
V2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequencyMonthlyV2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequencyV2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequencyQuarterlyV2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequencyV2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequencyAnnualV2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequencyV2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequencyWeeklyV2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequencyV2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequency
"MONTHLY"
V2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequencyQuarterlyconst
V2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequencyMonthlyV2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequencyV2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequencyQuarterlyV2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequencyV2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequencyAnnualV2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequencyV2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequencyWeeklyV2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequencyV2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequency
"QUARTERLY"
V2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequencyAnnualconst
V2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequencyMonthlyV2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequencyV2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequencyQuarterlyV2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequencyV2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequencyAnnualV2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequencyV2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequencyWeeklyV2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequencyV2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequency
"ANNUAL"
V2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequencyWeeklyconst
V2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequencyMonthlyV2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequencyV2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequencyQuarterlyV2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequencyV2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequencyAnnualV2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequencyV2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequencyWeeklyV2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequencyV2ContractListResponseDataOverridesOverrideSpecifiersBillingFrequency
"WEEKLY"
CommitIDsarray
optional
[]string
PresentationGroupValuesmap
optional
map[string, string]
PricingGroupValuesmap
optional
map[string, string]
ProductIDstring
optional
formatuuid
ProductTagsarray
optional
[]string
RecurringCommitIDsarray
optional
[]string
RecurringCreditIDsarray
optional
[]string
Hide ParametersShow Parameters
Multiplierfloat64
Sizefloat64
optional
OverwriteRateRateTypeV2ContractListResponseDataOverridesOverwriteRateRateTypeCreditTypeCreditTypeDataCustomRatemapIsProratedboolPricefloat64Quantityfloat64TiersarrayV2ContractListResponseDataOverridesOverwriteRate
optional
Hide ParametersShow Parameters
RateTypeV2ContractListResponseDataOverridesOverwriteRateRateTypeFlatV2ContractListResponseDataOverridesOverwriteRateRateTypeV2ContractListResponseDataOverridesOverwriteRateRateTypePercentageV2ContractListResponseDataOverridesOverwriteRateRateTypeV2ContractListResponseDataOverridesOverwriteRateRateTypeSubscriptionV2ContractListResponseDataOverridesOverwriteRateRateTypeV2ContractListResponseDataOverridesOverwriteRateRateTypeTieredV2ContractListResponseDataOverridesOverwriteRateRateTypeV2ContractListResponseDataOverridesOverwriteRateRateTypeCustomV2ContractListResponseDataOverridesOverwriteRateRateTypeV2ContractListResponseDataOverridesOverwriteRateRateType
Hide ParametersShow Parameters
V2ContractListResponseDataOverridesOverwriteRateRateTypeFlatconst
V2ContractListResponseDataOverridesOverwriteRateRateTypeFlatV2ContractListResponseDataOverridesOverwriteRateRateTypeV2ContractListResponseDataOverridesOverwriteRateRateTypePercentageV2ContractListResponseDataOverridesOverwriteRateRateTypeV2ContractListResponseDataOverridesOverwriteRateRateTypeSubscriptionV2ContractListResponseDataOverridesOverwriteRateRateTypeV2ContractListResponseDataOverridesOverwriteRateRateTypeTieredV2ContractListResponseDataOverridesOverwriteRateRateTypeV2ContractListResponseDataOverridesOverwriteRateRateTypeCustomV2ContractListResponseDataOverridesOverwriteRateRateTypeV2ContractListResponseDataOverridesOverwriteRateRateType
"FLAT"
V2ContractListResponseDataOverridesOverwriteRateRateTypePercentageconst
V2ContractListResponseDataOverridesOverwriteRateRateTypeFlatV2ContractListResponseDataOverridesOverwriteRateRateTypeV2ContractListResponseDataOverridesOverwriteRateRateTypePercentageV2ContractListResponseDataOverridesOverwriteRateRateTypeV2ContractListResponseDataOverridesOverwriteRateRateTypeSubscriptionV2ContractListResponseDataOverridesOverwriteRateRateTypeV2ContractListResponseDataOverridesOverwriteRateRateTypeTieredV2ContractListResponseDataOverridesOverwriteRateRateTypeV2ContractListResponseDataOverridesOverwriteRateRateTypeCustomV2ContractListResponseDataOverridesOverwriteRateRateTypeV2ContractListResponseDataOverridesOverwriteRateRateType
"PERCENTAGE"
V2ContractListResponseDataOverridesOverwriteRateRateTypeSubscriptionconst
V2ContractListResponseDataOverridesOverwriteRateRateTypeFlatV2ContractListResponseDataOverridesOverwriteRateRateTypeV2ContractListResponseDataOverridesOverwriteRateRateTypePercentageV2ContractListResponseDataOverridesOverwriteRateRateTypeV2ContractListResponseDataOverridesOverwriteRateRateTypeSubscriptionV2ContractListResponseDataOverridesOverwriteRateRateTypeV2ContractListResponseDataOverridesOverwriteRateRateTypeTieredV2ContractListResponseDataOverridesOverwriteRateRateTypeV2ContractListResponseDataOverridesOverwriteRateRateTypeCustomV2ContractListResponseDataOverridesOverwriteRateRateTypeV2ContractListResponseDataOverridesOverwriteRateRateType
"SUBSCRIPTION"
V2ContractListResponseDataOverridesOverwriteRateRateTypeTieredconst
V2ContractListResponseDataOverridesOverwriteRateRateTypeFlatV2ContractListResponseDataOverridesOverwriteRateRateTypeV2ContractListResponseDataOverridesOverwriteRateRateTypePercentageV2ContractListResponseDataOverridesOverwriteRateRateTypeV2ContractListResponseDataOverridesOverwriteRateRateTypeSubscriptionV2ContractListResponseDataOverridesOverwriteRateRateTypeV2ContractListResponseDataOverridesOverwriteRateRateTypeTieredV2ContractListResponseDataOverridesOverwriteRateRateTypeV2ContractListResponseDataOverridesOverwriteRateRateTypeCustomV2ContractListResponseDataOverridesOverwriteRateRateTypeV2ContractListResponseDataOverridesOverwriteRateRateType
"TIERED"
V2ContractListResponseDataOverridesOverwriteRateRateTypeCustomconst
V2ContractListResponseDataOverridesOverwriteRateRateTypeFlatV2ContractListResponseDataOverridesOverwriteRateRateTypeV2ContractListResponseDataOverridesOverwriteRateRateTypePercentageV2ContractListResponseDataOverridesOverwriteRateRateTypeV2ContractListResponseDataOverridesOverwriteRateRateTypeSubscriptionV2ContractListResponseDataOverridesOverwriteRateRateTypeV2ContractListResponseDataOverridesOverwriteRateRateTypeTieredV2ContractListResponseDataOverridesOverwriteRateRateTypeV2ContractListResponseDataOverridesOverwriteRateRateTypeCustomV2ContractListResponseDataOverridesOverwriteRateRateTypeV2ContractListResponseDataOverridesOverwriteRateRateType
"CUSTOM"
CreditTypeIDstringNamestringCreditTypeData
optional
CustomRatemap
optional
map[string, unknown]

Only set for CUSTOM rate_type. This field is interpreted by custom rate processors.

IsProratedbool
optional

Default proration configuration. Only valid for SUBSCRIPTION rate_type. Must be set to true.

Pricefloat64
optional

Default price. For FLAT rate_type, this must be >=0. For PERCENTAGE rate_type, this is a decimal fraction, e.g. use 0.1 for 10%; this must be >=0 and <=1.

Quantityfloat64
optional

Default quantity. For SUBSCRIPTION rate_type, this must be >=0.

Tiersarray
optional
[]Pricefloat64Sizefloat64Tier

Only set for TIERED rate_type.

Hide ParametersShow Parameters
Pricefloat64
Sizefloat64
optional
Priorityfloat64
optional
ProductIDstringNamestringV2ContractListResponseDataOverridesProduct
optional
Hide ParametersShow Parameters
IDstring
formatuuid
Namestring
TargetV2ContractListResponseDataOverridesTargetCommitRateV2ContractListResponseDataOverridesTargetV2ContractListResponseDataOverridesTargetListRateV2ContractListResponseDataOverridesTargetV2ContractListResponseDataOverridesTarget
optional
Hide ParametersShow Parameters
V2ContractListResponseDataOverridesTargetCommitRateconst
V2ContractListResponseDataOverridesTargetCommitRateV2ContractListResponseDataOverridesTargetV2ContractListResponseDataOverridesTargetListRateV2ContractListResponseDataOverridesTargetV2ContractListResponseDataOverridesTarget
"COMMIT_RATE"
V2ContractListResponseDataOverridesTargetListRateconst
V2ContractListResponseDataOverridesTargetCommitRateV2ContractListResponseDataOverridesTargetV2ContractListResponseDataOverridesTargetListRateV2ContractListResponseDataOverridesTargetV2ContractListResponseDataOverridesTarget
"LIST_RATE"
TypeV2ContractListResponseDataOverridesTypeOverwriteV2ContractListResponseDataOverridesTypeV2ContractListResponseDataOverridesTypeMultiplierV2ContractListResponseDataOverridesTypeV2ContractListResponseDataOverridesTypeTieredV2ContractListResponseDataOverridesTypeV2ContractListResponseDataOverridesType
optional
Hide ParametersShow Parameters
V2ContractListResponseDataOverridesTypeOverwriteconst
V2ContractListResponseDataOverridesTypeOverwriteV2ContractListResponseDataOverridesTypeV2ContractListResponseDataOverridesTypeMultiplierV2ContractListResponseDataOverridesTypeV2ContractListResponseDataOverridesTypeTieredV2ContractListResponseDataOverridesTypeV2ContractListResponseDataOverridesType
"OVERWRITE"
V2ContractListResponseDataOverridesTypeMultiplierconst
V2ContractListResponseDataOverridesTypeOverwriteV2ContractListResponseDataOverridesTypeV2ContractListResponseDataOverridesTypeMultiplierV2ContractListResponseDataOverridesTypeV2ContractListResponseDataOverridesTypeTieredV2ContractListResponseDataOverridesTypeV2ContractListResponseDataOverridesType
"MULTIPLIER"
V2ContractListResponseDataOverridesTypeTieredconst
V2ContractListResponseDataOverridesTypeOverwriteV2ContractListResponseDataOverridesTypeV2ContractListResponseDataOverridesTypeMultiplierV2ContractListResponseDataOverridesTypeV2ContractListResponseDataOverridesTypeTieredV2ContractListResponseDataOverridesTypeV2ContractListResponseDataOverridesType
"TIERED"
ScheduledChargesarray
[]IDstringProductScheduledChargeProductScheduleSchedulePointInTimeArchivedAtTimeCustomFieldsmapNamestringNetsuiteSalesOrderIDstringScheduledCharge
Hide ParametersShow Parameters
IDstring
formatuuid
ProductIDstringNamestringScheduledChargeProduct
Hide ParametersShow Parameters
IDstring
formatuuid
Namestring
ScheduleCreditTypeCreditTypeDataDoNotInvoiceboolScheduleItemsarraySchedulePointInTime
ArchivedAtTime
optional
formatdate-time
CustomFieldsmap
optional
map[string, string]
Namestring
optional

displayed on invoices

minLength1
NetsuiteSalesOrderIDstring
optional

This field's availability is dependent on your client's configuration.

StartingAtTime
formatdate-time
Hide ParametersShow Parameters
FromContractIDstring
formatuuid
ToContractIDstring
formatuuid
TypeV2ContractListResponseDataTransitionsTypeSupersedeV2ContractListResponseDataTransitionsTypeV2ContractListResponseDataTransitionsTypeRenewalV2ContractListResponseDataTransitionsTypeV2ContractListResponseDataTransitionsType
Hide ParametersShow Parameters
V2ContractListResponseDataTransitionsTypeSupersedeconst
V2ContractListResponseDataTransitionsTypeSupersedeV2ContractListResponseDataTransitionsTypeV2ContractListResponseDataTransitionsTypeRenewalV2ContractListResponseDataTransitionsTypeV2ContractListResponseDataTransitionsType
"SUPERSEDE"
V2ContractListResponseDataTransitionsTypeRenewalconst
V2ContractListResponseDataTransitionsTypeSupersedeV2ContractListResponseDataTransitionsTypeV2ContractListResponseDataTransitionsTypeRenewalV2ContractListResponseDataTransitionsTypeV2ContractListResponseDataTransitionsType
"RENEWAL"
Hide ParametersShow Parameters
GroupKeystring
GroupValuesarray
[]string
StartingAtTime

This will match contract starting_at value if usage filter is active from the beginning of the contract.

formatdate-time
EndingBeforeTime
optional

This will match contract ending_before value if usage filter is active until the end of the contract. It will be undefined if the contract is open-ended.

formatdate-time
Hide ParametersShow Parameters
BillingAnchorDateTime

Contract usage statements follow a selected cadence based on this date.

formatdate-time
FrequencyV2ContractListResponseDataUsageStatementScheduleFrequencyMonthlyV2ContractListResponseDataUsageStatementScheduleFrequencyV2ContractListResponseDataUsageStatementScheduleFrequencyQuarterlyV2ContractListResponseDataUsageStatementScheduleFrequencyV2ContractListResponseDataUsageStatementScheduleFrequencyAnnualV2ContractListResponseDataUsageStatementScheduleFrequencyV2ContractListResponseDataUsageStatementScheduleFrequencyWeeklyV2ContractListResponseDataUsageStatementScheduleFrequencyV2ContractListResponseDataUsageStatementScheduleFrequency
Hide ParametersShow Parameters
V2ContractListResponseDataUsageStatementScheduleFrequencyMonthlyconst
V2ContractListResponseDataUsageStatementScheduleFrequencyMonthlyV2ContractListResponseDataUsageStatementScheduleFrequencyV2ContractListResponseDataUsageStatementScheduleFrequencyQuarterlyV2ContractListResponseDataUsageStatementScheduleFrequencyV2ContractListResponseDataUsageStatementScheduleFrequencyAnnualV2ContractListResponseDataUsageStatementScheduleFrequencyV2ContractListResponseDataUsageStatementScheduleFrequencyWeeklyV2ContractListResponseDataUsageStatementScheduleFrequencyV2ContractListResponseDataUsageStatementScheduleFrequency
"MONTHLY"
V2ContractListResponseDataUsageStatementScheduleFrequencyQuarterlyconst
V2ContractListResponseDataUsageStatementScheduleFrequencyMonthlyV2ContractListResponseDataUsageStatementScheduleFrequencyV2ContractListResponseDataUsageStatementScheduleFrequencyQuarterlyV2ContractListResponseDataUsageStatementScheduleFrequencyV2ContractListResponseDataUsageStatementScheduleFrequencyAnnualV2ContractListResponseDataUsageStatementScheduleFrequencyV2ContractListResponseDataUsageStatementScheduleFrequencyWeeklyV2ContractListResponseDataUsageStatementScheduleFrequencyV2ContractListResponseDataUsageStatementScheduleFrequency
"QUARTERLY"
V2ContractListResponseDataUsageStatementScheduleFrequencyAnnualconst
V2ContractListResponseDataUsageStatementScheduleFrequencyMonthlyV2ContractListResponseDataUsageStatementScheduleFrequencyV2ContractListResponseDataUsageStatementScheduleFrequencyQuarterlyV2ContractListResponseDataUsageStatementScheduleFrequencyV2ContractListResponseDataUsageStatementScheduleFrequencyAnnualV2ContractListResponseDataUsageStatementScheduleFrequencyV2ContractListResponseDataUsageStatementScheduleFrequencyWeeklyV2ContractListResponseDataUsageStatementScheduleFrequencyV2ContractListResponseDataUsageStatementScheduleFrequency
"ANNUAL"
V2ContractListResponseDataUsageStatementScheduleFrequencyWeeklyconst
V2ContractListResponseDataUsageStatementScheduleFrequencyMonthlyV2ContractListResponseDataUsageStatementScheduleFrequencyV2ContractListResponseDataUsageStatementScheduleFrequencyQuarterlyV2ContractListResponseDataUsageStatementScheduleFrequencyV2ContractListResponseDataUsageStatementScheduleFrequencyAnnualV2ContractListResponseDataUsageStatementScheduleFrequencyV2ContractListResponseDataUsageStatementScheduleFrequencyWeeklyV2ContractListResponseDataUsageStatementScheduleFrequencyV2ContractListResponseDataUsageStatementScheduleFrequency
"WEEKLY"
ArchivedAtTime
optional
formatdate-time
Creditsarray
optional
Hide ParametersShow Parameters
IDstring
formatuuid
Hide ParametersShow Parameters
IDstring
formatuuid
Namestring
Hide ParametersShow Parameters
V2ContractListResponseDataCreditsTypeCreditconst
"CREDIT"
AccessScheduleScheduleItemsarrayCreditTypeCreditTypeDataScheduleDuration
optional

The schedule that the customer will gain access to the credits.

ApplicableContractIDsarray
optional
[]string
ApplicableProductIDsarray
optional
[]string
ApplicableProductTagsarray
optional
[]string
Balancefloat64
optional

The current balance of the credit or commit. This balance reflects the amount of credit or commit that the customer has access to use at this moment - thus, expired and upcoming credit or commit segments contribute 0 to the balance. The balance will match the sum of all ledger entries with the exception of the case where the sum of negative manual ledger entries exceeds the positive amount remaining on the credit or commit - in that case, the balance will be 0. All manual ledger entries associated with active credit or commit segments are included in the balance, including future-dated manual ledger entries.

Hide ParametersShow Parameters
IDstring
formatuuid
CustomFieldsmap
optional
map[string, string]
Descriptionstring
optional

Optional configuration for credit hierarchy access control

Hide ParametersShow Parameters
ChildAccessV2ContractListResponseDataCreditsHierarchyConfigurationChildAccessCommitHierarchyChildAccessAllstruct{…}V2ContractListResponseDataCreditsHierarchyConfigurationChildAccessCommitHierarchyChildAccessNonestruct{…}V2ContractListResponseDataCreditsHierarchyConfigurationChildAccessCommitHierarchyChildAccessContractIDsstruct{…}V2ContractListResponseDataCreditsHierarchyConfigurationChildAccess
Hide ParametersShow Parameters
V2ContractListResponseDataCreditsHierarchyConfigurationChildAccessCommitHierarchyChildAccessAllstruct
Hide ParametersShow Parameters
Hide ParametersShow Parameters
V2ContractListResponseDataCreditsHierarchyConfigurationChildAccessCommitHierarchyChildAccessAllTypeAllconst
"ALL"
V2ContractListResponseDataCreditsHierarchyConfigurationChildAccessCommitHierarchyChildAccessNonestruct
Hide ParametersShow Parameters
Hide ParametersShow Parameters
V2ContractListResponseDataCreditsHierarchyConfigurationChildAccessCommitHierarchyChildAccessNoneTypeNoneconst
"NONE"
V2ContractListResponseDataCreditsHierarchyConfigurationChildAccessCommitHierarchyChildAccessContractIDsstruct
Hide ParametersShow Parameters
ContractIDsarray
[]string
Hide ParametersShow Parameters
V2ContractListResponseDataCreditsHierarchyConfigurationChildAccessCommitHierarchyChildAccessContractIDsTypeContractIDsconst
"CONTRACT_IDS"
Ledgerarray
optional

A list of ordered events that impact the balance of a credit. For example, an invoice deduction or an expiration.

Hide ParametersShow Parameters
V2ContractListResponseDataCreditsLedgerCreditSegmentStartLedgerEntrystruct
Hide ParametersShow Parameters
Amountfloat64
SegmentIDstring
formatuuid
TimestampTime
formatdate-time
Hide ParametersShow Parameters
V2ContractListResponseDataCreditsLedgerCreditSegmentStartLedgerEntryTypeCreditSegmentStartconst
"CREDIT_SEGMENT_START"
V2ContractListResponseDataCreditsLedgerCreditAutomatedInvoiceDeductionLedgerEntrystruct
Hide ParametersShow Parameters
Amountfloat64
InvoiceIDstring
formatuuid
SegmentIDstring
formatuuid
TimestampTime
formatdate-time
TypeV2ContractListResponseDataCreditsLedgerCreditAutomatedInvoiceDeductionLedgerEntryTypeCreditAutomatedInvoiceDeductionV2ContractListResponseDataCreditsLedgerCreditAutomatedInvoiceDeductionLedgerEntryTypeV2ContractListResponseDataCreditsLedgerCreditAutomatedInvoiceDeductionLedgerEntryType
Hide ParametersShow Parameters
V2ContractListResponseDataCreditsLedgerCreditAutomatedInvoiceDeductionLedgerEntryTypeCreditAutomatedInvoiceDeductionconst
V2ContractListResponseDataCreditsLedgerCreditAutomatedInvoiceDeductionLedgerEntryTypeCreditAutomatedInvoiceDeductionV2ContractListResponseDataCreditsLedgerCreditAutomatedInvoiceDeductionLedgerEntryTypeV2ContractListResponseDataCreditsLedgerCreditAutomatedInvoiceDeductionLedgerEntryType
"CREDIT_AUTOMATED_INVOICE_DEDUCTION"
ContractIDstring
optional
formatuuid
V2ContractListResponseDataCreditsLedgerCreditExpirationLedgerEntrystruct
Hide ParametersShow Parameters
Amountfloat64
SegmentIDstring
formatuuid
TimestampTime
formatdate-time
Hide ParametersShow Parameters
V2ContractListResponseDataCreditsLedgerCreditExpirationLedgerEntryTypeCreditExpirationconst
"CREDIT_EXPIRATION"
V2ContractListResponseDataCreditsLedgerCreditCanceledLedgerEntrystruct
Hide ParametersShow Parameters
Amountfloat64
InvoiceIDstring
formatuuid
SegmentIDstring
formatuuid
TimestampTime
formatdate-time
Hide ParametersShow Parameters
V2ContractListResponseDataCreditsLedgerCreditCanceledLedgerEntryTypeCreditCanceledconst
"CREDIT_CANCELED"
ContractIDstring
optional
formatuuid
V2ContractListResponseDataCreditsLedgerCreditCreditedLedgerEntrystruct
Hide ParametersShow Parameters
Amountfloat64
InvoiceIDstring
formatuuid
SegmentIDstring
formatuuid
TimestampTime
formatdate-time
Hide ParametersShow Parameters
V2ContractListResponseDataCreditsLedgerCreditCreditedLedgerEntryTypeCreditCreditedconst
"CREDIT_CREDITED"
ContractIDstring
optional
formatuuid
V2ContractListResponseDataCreditsLedgerCreditManualLedgerEntrystruct
Hide ParametersShow Parameters
Amountfloat64
Reasonstring
TimestampTime
formatdate-time
Hide ParametersShow Parameters
V2ContractListResponseDataCreditsLedgerCreditManualLedgerEntryTypeCreditManualconst
"CREDIT_MANUAL"
V2ContractListResponseDataCreditsLedgerCreditSeatBasedAdjustmentLedgerEntrystruct
Hide ParametersShow Parameters
Amountfloat64
SegmentIDstring
formatuuid
TimestampTime
formatdate-time
TypeV2ContractListResponseDataCreditsLedgerCreditSeatBasedAdjustmentLedgerEntryTypeCreditSeatBasedAdjustmentV2ContractListResponseDataCreditsLedgerCreditSeatBasedAdjustmentLedgerEntryTypeV2ContractListResponseDataCreditsLedgerCreditSeatBasedAdjustmentLedgerEntryType
Hide ParametersShow Parameters
V2ContractListResponseDataCreditsLedgerCreditSeatBasedAdjustmentLedgerEntryTypeCreditSeatBasedAdjustmentconst
"CREDIT_SEAT_BASED_ADJUSTMENT"
Namestring
optional
NetsuiteSalesOrderIDstring
optional

This field's availability is dependent on your client's configuration.

Priorityfloat64
optional

If multiple credits or commits are applicable, the one with the lower priority will apply first.

SalesforceOpportunityIDstring
optional

This field's availability is dependent on your client's configuration.

Specifiersarray
optional

List of filters that determine what kind of customer usage draws down a commit or credit. A customer's usage needs to meet the condition of at least one of the specifiers to contribute to a commit's or credit's drawdown.

Hide ParametersShow Parameters
PresentationGroupValuesmap
optional
map[string, string]
PricingGroupValuesmap
optional
map[string, string]
ProductIDstring
optional

If provided, the specifier will only apply to the product with the specified ID.

formatuuid
ProductTagsarray
optional
[]string

If provided, the specifier will only apply to products with all the specified tags.

CustomFieldsmap
optional
map[string, string]

This field's availability is dependent on your client's configuration.

Hide ParametersShow Parameters
IDstring

ID of Customer's billing provider configuration.

formatuuid
BillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderAwsMarketplaceV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderStripeV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderNetsuiteV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderCustomV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderAzureMarketplaceV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderQuickbooksOnlineV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderWorkdayV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderGcpMarketplaceV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProvider
Hide ParametersShow Parameters
V2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderAwsMarketplaceconst
V2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderAwsMarketplaceV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderStripeV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderNetsuiteV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderCustomV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderAzureMarketplaceV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderQuickbooksOnlineV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderWorkdayV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderGcpMarketplaceV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProvider
"aws_marketplace"
V2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderStripeconst
V2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderAwsMarketplaceV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderStripeV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderNetsuiteV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderCustomV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderAzureMarketplaceV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderQuickbooksOnlineV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderWorkdayV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderGcpMarketplaceV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProvider
"stripe"
V2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderNetsuiteconst
V2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderAwsMarketplaceV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderStripeV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderNetsuiteV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderCustomV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderAzureMarketplaceV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderQuickbooksOnlineV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderWorkdayV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderGcpMarketplaceV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProvider
"netsuite"
V2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderCustomconst
V2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderAwsMarketplaceV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderStripeV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderNetsuiteV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderCustomV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderAzureMarketplaceV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderQuickbooksOnlineV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderWorkdayV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderGcpMarketplaceV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProvider
"custom"
V2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderAzureMarketplaceconst
V2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderAwsMarketplaceV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderStripeV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderNetsuiteV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderCustomV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderAzureMarketplaceV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderQuickbooksOnlineV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderWorkdayV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderGcpMarketplaceV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProvider
"azure_marketplace"
V2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderQuickbooksOnlineconst
V2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderAwsMarketplaceV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderStripeV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderNetsuiteV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderCustomV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderAzureMarketplaceV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderQuickbooksOnlineV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderWorkdayV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderGcpMarketplaceV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProvider
"quickbooks_online"
V2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderWorkdayconst
V2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderAwsMarketplaceV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderStripeV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderNetsuiteV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderCustomV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderAzureMarketplaceV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderQuickbooksOnlineV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderWorkdayV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderGcpMarketplaceV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProvider
"workday"
V2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderGcpMarketplaceconst
V2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderAwsMarketplaceV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderStripeV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderNetsuiteV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderCustomV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderAzureMarketplaceV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderQuickbooksOnlineV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderWorkdayV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderGcpMarketplaceV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationBillingProvider
"gcp_marketplace"
DeliveryMethodV2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethodDirectToBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethodV2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethodAwsSqsV2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethodV2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethodTackleV2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethodV2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethodAwsSnsV2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethodV2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethod
Hide ParametersShow Parameters
V2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethodDirectToBillingProviderconst
V2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethodDirectToBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethodV2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethodAwsSqsV2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethodV2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethodTackleV2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethodV2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethodAwsSnsV2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethodV2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethod
"direct_to_billing_provider"
V2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethodAwsSqsconst
V2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethodDirectToBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethodV2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethodAwsSqsV2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethodV2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethodTackleV2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethodV2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethodAwsSnsV2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethodV2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethod
"aws_sqs"
V2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethodTackleconst
V2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethodDirectToBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethodV2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethodAwsSqsV2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethodV2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethodTackleV2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethodV2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethodAwsSnsV2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethodV2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethod
"tackle"
V2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethodAwsSnsconst
V2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethodDirectToBillingProviderV2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethodV2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethodAwsSqsV2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethodV2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethodTackleV2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethodV2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethodAwsSnsV2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethodV2ContractListResponseDataCustomerBillingProviderConfigurationDeliveryMethod
"aws_sns"
Discountsarray
optional
[]IDstringProductDiscountProductScheduleSchedulePointInTimeCustomFieldsmapNamestringNetsuiteSalesOrderIDstringDiscount

This field's availability is dependent on your client's configuration.

Hide ParametersShow Parameters
IDstring
formatuuid
ProductIDstringNamestringDiscountProduct
Hide ParametersShow Parameters
IDstring
formatuuid
Namestring
ScheduleCreditTypeCreditTypeDataDoNotInvoiceboolScheduleItemsarraySchedulePointInTime
CustomFieldsmap
optional
map[string, string]
Namestring
optional
minLength1
NetsuiteSalesOrderIDstring
optional

This field's availability is dependent on your client's configuration.

EndingBeforeTime
optional
formatdate-time
HasMoreCommitsboolCreditsboolV2ContractListResponseDataHasMore
optional

Indicates whether there are more items than the limit for this endpoint. Use the respective list endpoints to get the full lists.

Hide ParametersShow Parameters
Commitsbool

Whether there are more commits on this contract than the limit for this endpoint. Use the /contracts/customerCommits/list endpoint to get the full list of commits.

Creditsbool

Whether there are more credits on this contract than the limit for this endpoint. Use the /contracts/customerCredits/list endpoint to get the full list of credits.

HierarchyConfigurationV2ContractListResponseDataHierarchyConfigurationParentHierarchyConfigurationstruct{…}V2ContractListResponseDataHierarchyConfigurationChildHierarchyConfigurationstruct{…}V2ContractListResponseDataHierarchyConfiguration
optional

Either a parent configuration with a list of children or a child configuration with a single parent.

Hide ParametersShow Parameters
V2ContractListResponseDataHierarchyConfigurationParentHierarchyConfigurationstruct
Hide ParametersShow Parameters
Childrenarray

List of contracts that belong to this parent.

Hide ParametersShow Parameters
ContractIDstring
formatuuid
CustomerIDstring
formatuuid
V2ContractListResponseDataHierarchyConfigurationChildHierarchyConfigurationstruct
Hide ParametersShow Parameters

The single parent contract/customer for this child.

Hide ParametersShow Parameters
ContractIDstring
formatuuid
CustomerIDstring
formatuuid
MultiplierOverridePrioritizationV2ContractListResponseDataMultiplierOverridePrioritizationLowestMultiplierV2ContractListResponseDataMultiplierOverridePrioritizationV2ContractListResponseDataMultiplierOverridePrioritizationExplicitV2ContractListResponseDataMultiplierOverridePrioritizationV2ContractListResponseDataMultiplierOverridePrioritization
optional

Defaults to LOWEST_MULTIPLIER, which applies the greatest discount to list prices automatically. EXPLICIT prioritization requires specifying priorities for each multiplier; the one with the lowest priority value will be prioritized first.

Hide ParametersShow Parameters
V2ContractListResponseDataMultiplierOverridePrioritizationLowestMultiplierconst
V2ContractListResponseDataMultiplierOverridePrioritizationLowestMultiplierV2ContractListResponseDataMultiplierOverridePrioritizationV2ContractListResponseDataMultiplierOverridePrioritizationExplicitV2ContractListResponseDataMultiplierOverridePrioritizationV2ContractListResponseDataMultiplierOverridePrioritization
"LOWEST_MULTIPLIER"
V2ContractListResponseDataMultiplierOverridePrioritizationExplicitconst
V2ContractListResponseDataMultiplierOverridePrioritizationLowestMultiplierV2ContractListResponseDataMultiplierOverridePrioritizationV2ContractListResponseDataMultiplierOverridePrioritizationExplicitV2ContractListResponseDataMultiplierOverridePrioritizationV2ContractListResponseDataMultiplierOverridePrioritization
"EXPLICIT"
Namestring
optional
NetPaymentTermsDaysfloat64
optional
NetsuiteSalesOrderIDstring
optional

This field's availability is dependent on your client's configuration.

PrepaidBalanceThresholdConfigurationCommitV2ContractListResponseDataPrepaidBalanceThresholdConfigurationCommitIsEnabledboolPaymentGateConfigV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigRechargeToAmountfloat64ThresholdAmountfloat64CustomCreditTypeIDstringV2ContractListResponseDataPrepaidBalanceThresholdConfiguration
optional
Hide ParametersShow Parameters
CommitProductIDstringApplicableProductIDsarrayApplicableProductTagsarrayDescriptionstringNamestringSpecifiersarrayV2ContractListResponseDataPrepaidBalanceThresholdConfigurationCommit
Hide ParametersShow Parameters
ProductIDstring

The commit product that will be used to generate the line item for commit payment.

ApplicableProductIDsarray
optional
[]string

Which products the threshold commit applies to. If applicable_product_ids, applicable_product_tags or specifiers are not provided, the commit applies to all products.

ApplicableProductTagsarray
optional
[]string

Which tags the threshold commit applies to. If applicable_product_ids, applicable_product_tags or specifiers are not provided, the commit applies to all products.

Descriptionstring
optional
Namestring
optional

Specify the name of the line item for the threshold charge. If left blank, it will default to the commit product name.

Specifiersarray
optional

List of filters that determine what kind of customer usage draws down a commit or credit. A customer's usage needs to meet the condition of at least one of the specifiers to contribute to a commit's or credit's drawdown. This field cannot be used together with applicable_product_ids or applicable_product_tags. Instead, to target usage by product or product tag, pass those values in the body of specifiers.

Hide ParametersShow Parameters
PresentationGroupValuesmap
optional
map[string, string]
PricingGroupValuesmap
optional
map[string, string]
ProductIDstring
optional

If provided, the specifier will only apply to the product with the specified ID.

formatuuid
ProductTagsarray
optional
[]string

If provided, the specifier will only apply to products with all the specified tags.

IsEnabledbool

When set to false, the contract will not be evaluated against the threshold_amount. Toggling to true will result an immediate evaluation, regardless of prior state.

Hide ParametersShow Parameters
PaymentGateTypeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigPaymentGateTypeNoneV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigPaymentGateTypeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigPaymentGateTypeStripeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigPaymentGateTypeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigPaymentGateTypeExternalV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigPaymentGateTypeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigPaymentGateType

Gate access to the commit balance based on successful collection of payment. Select STRIPE for Metronome to facilitate payment via Stripe. Select EXTERNAL to facilitate payment using your own payment integration. Select NONE if you do not wish to payment gate the commit balance.

Hide ParametersShow Parameters
V2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigPaymentGateTypeNoneconst
V2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigPaymentGateTypeNoneV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigPaymentGateTypeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigPaymentGateTypeStripeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigPaymentGateTypeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigPaymentGateTypeExternalV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigPaymentGateTypeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigPaymentGateType
"NONE"
V2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigPaymentGateTypeStripeconst
V2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigPaymentGateTypeNoneV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigPaymentGateTypeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigPaymentGateTypeStripeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigPaymentGateTypeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigPaymentGateTypeExternalV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigPaymentGateTypeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigPaymentGateType
"STRIPE"
V2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigPaymentGateTypeExternalconst
V2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigPaymentGateTypeNoneV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigPaymentGateTypeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigPaymentGateTypeStripeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigPaymentGateTypeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigPaymentGateTypeExternalV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigPaymentGateTypeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigPaymentGateType
"EXTERNAL"

Only applicable if using PRECALCULATED as your tax type.

Hide ParametersShow Parameters
TaxAmountfloat64

Amount of tax to be applied. This should be in the same currency and denomination as the commit's invoice schedule

TaxNamestring
optional

Name of the tax to be applied. This may be used in an invoice line item description.

Hide ParametersShow Parameters
PaymentTypeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigStripeConfigPaymentTypeInvoiceV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigStripeConfigPaymentTypeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigStripeConfigPaymentTypePaymentIntentV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigStripeConfigPaymentTypeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigStripeConfigPaymentType

If left blank, will default to INVOICE

Hide ParametersShow Parameters
V2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigStripeConfigPaymentTypeInvoiceconst
V2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigStripeConfigPaymentTypeInvoiceV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigStripeConfigPaymentTypeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigStripeConfigPaymentTypePaymentIntentV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigStripeConfigPaymentTypeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigStripeConfigPaymentType
"INVOICE"
V2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigStripeConfigPaymentTypePaymentIntentconst
V2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigStripeConfigPaymentTypeInvoiceV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigStripeConfigPaymentTypeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigStripeConfigPaymentTypePaymentIntentV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigStripeConfigPaymentTypeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigStripeConfigPaymentType
"PAYMENT_INTENT"
InvoiceMetadatamap
optional
map[string, string]

Metadata to be added to the Stripe invoice. Only applicable if using INVOICE as your payment type.

TaxTypeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxTypeNoneV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxTypeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxTypeStripeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxTypeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxTypeAnrokV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxTypeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxTypePrecalculatedV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxTypeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxType
optional

Stripe tax is only supported for Stripe payment gateway. Select NONE if you do not wish Metronome to calculate tax on your behalf. Leaving this field blank will default to NONE.

Hide ParametersShow Parameters
V2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxTypeNoneconst
V2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxTypeNoneV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxTypeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxTypeStripeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxTypeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxTypeAnrokV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxTypeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxTypePrecalculatedV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxTypeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxType
"NONE"
V2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxTypeStripeconst
V2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxTypeNoneV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxTypeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxTypeStripeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxTypeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxTypeAnrokV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxTypeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxTypePrecalculatedV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxTypeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxType
"STRIPE"
V2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxTypeAnrokconst
V2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxTypeNoneV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxTypeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxTypeStripeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxTypeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxTypeAnrokV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxTypeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxTypePrecalculatedV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxTypeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxType
"ANROK"
V2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxTypePrecalculatedconst
V2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxTypeNoneV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxTypeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxTypeStripeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxTypeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxTypeAnrokV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxTypeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxTypePrecalculatedV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxTypeV2ContractListResponseDataPrepaidBalanceThresholdConfigurationPaymentGateConfigTaxType
"PRECALCULATED"
RechargeToAmountfloat64

Specify the amount the balance should be recharged to.

ThresholdAmountfloat64

Specify the threshold amount for the contract. Each time the contract's balance lowers to this amount, a threshold charge will be initiated.

CustomCreditTypeIDstring
optional

If provided, the threshold, recharge-to amount, and the resulting threshold commit amount will be in terms of this credit type instead of the fiat currency.

formatuuid
Priorityfloat64
optional

Priority of the contract.

ProfessionalServicesarray
optional
[]IDstringMaxAmountfloat64ProductIDstringQuantityfloat64UnitPricefloat64CustomFieldsmapDescriptionstringNetsuiteSalesOrderIDstringProService

This field's availability is dependent on your client's configuration.

Hide ParametersShow Parameters
IDstring
formatuuid
MaxAmountfloat64

Maximum amount for the term.

ProductIDstring
formatuuid
Quantityfloat64

Quantity for the charge. Will be multiplied by unit_price to determine the amount.

UnitPricefloat64

Unit price for the charge. Will be multiplied by quantity to determine the amount and must be specified.

CustomFieldsmap
optional
map[string, string]
Descriptionstring
optional
NetsuiteSalesOrderIDstring
optional

This field's availability is dependent on your client's configuration.

RateCardIDstring
optional
formatuuid
RecurringCommitsarray
optional
Hide ParametersShow Parameters
IDstring
formatuuid
AccessAmountCreditTypeIDstringUnitPricefloat64Quantityfloat64V2ContractListResponseDataRecurringCommitsAccessAmount

The amount of commit to grant.

Hide ParametersShow Parameters
CreditTypeIDstring
formatuuid
UnitPricefloat64
Quantityfloat64
optional

The amount of time the created commits will be valid for

Hide ParametersShow Parameters
Valuefloat64
Hide ParametersShow Parameters
V2ContractListResponseDataRecurringCommitsCommitDurationUnitPeriodsconst
"PERIODS"
Priorityfloat64

Will be passed down to the individual commits

Hide ParametersShow Parameters
IDstring
formatuuid
Namestring
RateTypeV2ContractListResponseDataRecurringCommitsRateTypeCommitRateV2ContractListResponseDataRecurringCommitsRateTypeV2ContractListResponseDataRecurringCommitsRateTypeListRateV2ContractListResponseDataRecurringCommitsRateTypeV2ContractListResponseDataRecurringCommitsRateType

Whether the created commits will use the commit rate or list rate

Hide ParametersShow Parameters
V2ContractListResponseDataRecurringCommitsRateTypeCommitRateconst
V2ContractListResponseDataRecurringCommitsRateTypeCommitRateV2ContractListResponseDataRecurringCommitsRateTypeV2ContractListResponseDataRecurringCommitsRateTypeListRateV2ContractListResponseDataRecurringCommitsRateTypeV2ContractListResponseDataRecurringCommitsRateType
"COMMIT_RATE"
V2ContractListResponseDataRecurringCommitsRateTypeListRateconst
V2ContractListResponseDataRecurringCommitsRateTypeCommitRateV2ContractListResponseDataRecurringCommitsRateTypeV2ContractListResponseDataRecurringCommitsRateTypeListRateV2ContractListResponseDataRecurringCommitsRateTypeV2ContractListResponseDataRecurringCommitsRateType
"LIST_RATE"
StartingAtTime

Determines the start time for the first commit

formatdate-time
ApplicableProductIDsarray
optional
[]string

Will be passed down to the individual commits

ApplicableProductTagsarray
optional
[]string

Will be passed down to the individual commits

Hide ParametersShow Parameters
IDstring
formatuuid
Descriptionstring
optional

Will be passed down to the individual commits

EndingBeforeTime
optional

Determines when the contract will stop creating recurring commits. Optional

formatdate-time

Optional configuration for recurring credit hierarchy access control

Hide ParametersShow Parameters
ChildAccessV2ContractListResponseDataRecurringCommitsHierarchyConfigurationChildAccessCommitHierarchyChildAccessAllstruct{…}V2ContractListResponseDataRecurringCommitsHierarchyConfigurationChildAccessCommitHierarchyChildAccessNonestruct{…}V2ContractListResponseDataRecurringCommitsHierarchyConfigurationChildAccessCommitHierarchyChildAccessContractIDsstruct{…}V2ContractListResponseDataRecurringCommitsHierarchyConfigurationChildAccess
Hide ParametersShow Parameters
V2ContractListResponseDataRecurringCommitsHierarchyConfigurationChildAccessCommitHierarchyChildAccessAllstruct
Hide ParametersShow Parameters
Hide ParametersShow Parameters
V2ContractListResponseDataRecurringCommitsHierarchyConfigurationChildAccessCommitHierarchyChildAccessAllTypeAllconst
"ALL"
V2ContractListResponseDataRecurringCommitsHierarchyConfigurationChildAccessCommitHierarchyChildAccessNonestruct
Hide ParametersShow Parameters
Hide ParametersShow Parameters
V2ContractListResponseDataRecurringCommitsHierarchyConfigurationChildAccessCommitHierarchyChildAccessNoneTypeNoneconst
"NONE"
V2ContractListResponseDataRecurringCommitsHierarchyConfigurationChildAccessCommitHierarchyChildAccessContractIDsstruct
Hide ParametersShow Parameters
ContractIDsarray
[]string
Hide ParametersShow Parameters
V2ContractListResponseDataRecurringCommitsHierarchyConfigurationChildAccessCommitHierarchyChildAccessContractIDsTypeContractIDsconst
"CONTRACT_IDS"
InvoiceAmountCreditTypeIDstringQuantityfloat64UnitPricefloat64V2ContractListResponseDataRecurringCommitsInvoiceAmount
optional

The amount the customer should be billed for the commit. Not required.

Hide ParametersShow Parameters
CreditTypeIDstring
formatuuid
Quantityfloat64
UnitPricefloat64
Namestring
optional

Displayed on invoices. Will be passed through to the individual commits

NetsuiteSalesOrderIDstring
optional

Will be passed down to the individual commits

ProrationV2ContractListResponseDataRecurringCommitsProrationNoneV2ContractListResponseDataRecurringCommitsProrationV2ContractListResponseDataRecurringCommitsProrationFirstV2ContractListResponseDataRecurringCommitsProrationV2ContractListResponseDataRecurringCommitsProrationLastV2ContractListResponseDataRecurringCommitsProrationV2ContractListResponseDataRecurringCommitsProrationFirstAndLastV2ContractListResponseDataRecurringCommitsProrationV2ContractListResponseDataRecurringCommitsProration
optional

Determines whether the first and last commit will be prorated. If not provided, the default is FIRST_AND_LAST (i.e. prorate both the first and last commits).

Hide ParametersShow Parameters
V2ContractListResponseDataRecurringCommitsProrationNoneconst
V2ContractListResponseDataRecurringCommitsProrationNoneV2ContractListResponseDataRecurringCommitsProrationV2ContractListResponseDataRecurringCommitsProrationFirstV2ContractListResponseDataRecurringCommitsProrationV2ContractListResponseDataRecurringCommitsProrationLastV2ContractListResponseDataRecurringCommitsProrationV2ContractListResponseDataRecurringCommitsProrationFirstAndLastV2ContractListResponseDataRecurringCommitsProrationV2ContractListResponseDataRecurringCommitsProration
"NONE"
V2ContractListResponseDataRecurringCommitsProrationFirstconst
V2ContractListResponseDataRecurringCommitsProrationNoneV2ContractListResponseDataRecurringCommitsProrationV2ContractListResponseDataRecurringCommitsProrationFirstV2ContractListResponseDataRecurringCommitsProrationV2ContractListResponseDataRecurringCommitsProrationLastV2ContractListResponseDataRecurringCommitsProrationV2ContractListResponseDataRecurringCommitsProrationFirstAndLastV2ContractListResponseDataRecurringCommitsProrationV2ContractListResponseDataRecurringCommitsProration
"FIRST"
V2ContractListResponseDataRecurringCommitsProrationLastconst
V2ContractListResponseDataRecurringCommitsProrationNoneV2ContractListResponseDataRecurringCommitsProrationV2ContractListResponseDataRecurringCommitsProrationFirstV2ContractListResponseDataRecurringCommitsProrationV2ContractListResponseDataRecurringCommitsProrationLastV2ContractListResponseDataRecurringCommitsProrationV2ContractListResponseDataRecurringCommitsProrationFirstAndLastV2ContractListResponseDataRecurringCommitsProrationV2ContractListResponseDataRecurringCommitsProration
"LAST"
V2ContractListResponseDataRecurringCommitsProrationFirstAndLastconst
V2ContractListResponseDataRecurringCommitsProrationNoneV2ContractListResponseDataRecurringCommitsProrationV2ContractListResponseDataRecurringCommitsProrationFirstV2ContractListResponseDataRecurringCommitsProrationV2ContractListResponseDataRecurringCommitsProrationLastV2ContractListResponseDataRecurringCommitsProrationV2ContractListResponseDataRecurringCommitsProrationFirstAndLastV2ContractListResponseDataRecurringCommitsProrationV2ContractListResponseDataRecurringCommitsProration
"FIRST_AND_LAST"
RecurrenceFrequencyV2ContractListResponseDataRecurringCommitsRecurrenceFrequencyMonthlyV2ContractListResponseDataRecurringCommitsRecurrenceFrequencyV2ContractListResponseDataRecurringCommitsRecurrenceFrequencyQuarterlyV2ContractListResponseDataRecurringCommitsRecurrenceFrequencyV2ContractListResponseDataRecurringCommitsRecurrenceFrequencyAnnualV2ContractListResponseDataRecurringCommitsRecurrenceFrequencyV2ContractListResponseDataRecurringCommitsRecurrenceFrequencyWeeklyV2ContractListResponseDataRecurringCommitsRecurrenceFrequencyV2ContractListResponseDataRecurringCommitsRecurrenceFrequency
optional

The frequency at which the recurring commits will be created. If not provided: - The commits will be created on the usage invoice frequency. If provided: - The period defined in the duration will correspond to this frequency. - Commits will be created aligned with the recurring commit's starting_at rather than the usage invoice dates.

Hide ParametersShow Parameters
V2ContractListResponseDataRecurringCommitsRecurrenceFrequencyMonthlyconst
V2ContractListResponseDataRecurringCommitsRecurrenceFrequencyMonthlyV2ContractListResponseDataRecurringCommitsRecurrenceFrequencyV2ContractListResponseDataRecurringCommitsRecurrenceFrequencyQuarterlyV2ContractListResponseDataRecurringCommitsRecurrenceFrequencyV2ContractListResponseDataRecurringCommitsRecurrenceFrequencyAnnualV2ContractListResponseDataRecurringCommitsRecurrenceFrequencyV2ContractListResponseDataRecurringCommitsRecurrenceFrequencyWeeklyV2ContractListResponseDataRecurringCommitsRecurrenceFrequencyV2ContractListResponseDataRecurringCommitsRecurrenceFrequency
"MONTHLY"
V2ContractListResponseDataRecurringCommitsRecurrenceFrequencyQuarterlyconst
V2ContractListResponseDataRecurringCommitsRecurrenceFrequencyMonthlyV2ContractListResponseDataRecurringCommitsRecurrenceFrequencyV2ContractListResponseDataRecurringCommitsRecurrenceFrequencyQuarterlyV2ContractListResponseDataRecurringCommitsRecurrenceFrequencyV2ContractListResponseDataRecurringCommitsRecurrenceFrequencyAnnualV2ContractListResponseDataRecurringCommitsRecurrenceFrequencyV2ContractListResponseDataRecurringCommitsRecurrenceFrequencyWeeklyV2ContractListResponseDataRecurringCommitsRecurrenceFrequencyV2ContractListResponseDataRecurringCommitsRecurrenceFrequency
"QUARTERLY"
V2ContractListResponseDataRecurringCommitsRecurrenceFrequencyAnnualconst
V2ContractListResponseDataRecurringCommitsRecurrenceFrequencyMonthlyV2ContractListResponseDataRecurringCommitsRecurrenceFrequencyV2ContractListResponseDataRecurringCommitsRecurrenceFrequencyQuarterlyV2ContractListResponseDataRecurringCommitsRecurrenceFrequencyV2ContractListResponseDataRecurringCommitsRecurrenceFrequencyAnnualV2ContractListResponseDataRecurringCommitsRecurrenceFrequencyV2ContractListResponseDataRecurringCommitsRecurrenceFrequencyWeeklyV2ContractListResponseDataRecurringCommitsRecurrenceFrequencyV2ContractListResponseDataRecurringCommitsRecurrenceFrequency
"ANNUAL"
V2ContractListResponseDataRecurringCommitsRecurrenceFrequencyWeeklyconst
V2ContractListResponseDataRecurringCommitsRecurrenceFrequencyMonthlyV2ContractListResponseDataRecurringCommitsRecurrenceFrequencyV2ContractListResponseDataRecurringCommitsRecurrenceFrequencyQuarterlyV2ContractListResponseDataRecurringCommitsRecurrenceFrequencyV2ContractListResponseDataRecurringCommitsRecurrenceFrequencyAnnualV2ContractListResponseDataRecurringCommitsRecurrenceFrequencyV2ContractListResponseDataRecurringCommitsRecurrenceFrequencyWeeklyV2ContractListResponseDataRecurringCommitsRecurrenceFrequencyV2ContractListResponseDataRecurringCommitsRecurrenceFrequency
"WEEKLY"
RolloverFractionfloat64
optional

Will be passed down to the individual commits. This controls how much of an individual unexpired commit will roll over upon contract transition. Must be between 0 and 1.

Specifiersarray
optional

List of filters that determine what kind of customer usage draws down a commit or credit. A customer's usage needs to meet the condition of at least one of the specifiers to contribute to a commit's or credit's drawdown.

Hide ParametersShow Parameters
PresentationGroupValuesmap
optional
map[string, string]
PricingGroupValuesmap
optional
map[string, string]
ProductIDstring
optional

If provided, the specifier will only apply to the product with the specified ID.

formatuuid
ProductTagsarray
optional
[]string

If provided, the specifier will only apply to products with all the specified tags.

Hide ParametersShow Parameters
AllocationV2ContractListResponseDataRecurringCommitsSubscriptionConfigAllocationIndividualV2ContractListResponseDataRecurringCommitsSubscriptionConfigAllocationV2ContractListResponseDataRecurringCommitsSubscriptionConfigAllocationPooledV2ContractListResponseDataRecurringCommitsSubscriptionConfigAllocationV2ContractListResponseDataRecurringCommitsSubscriptionConfigAllocation
Hide ParametersShow Parameters
V2ContractListResponseDataRecurringCommitsSubscriptionConfigAllocationIndividualconst
V2ContractListResponseDataRecurringCommitsSubscriptionConfigAllocationIndividualV2ContractListResponseDataRecurringCommitsSubscriptionConfigAllocationV2ContractListResponseDataRecurringCommitsSubscriptionConfigAllocationPooledV2ContractListResponseDataRecurringCommitsSubscriptionConfigAllocationV2ContractListResponseDataRecurringCommitsSubscriptionConfigAllocation
"INDIVIDUAL"
V2ContractListResponseDataRecurringCommitsSubscriptionConfigAllocationPooledconst
V2ContractListResponseDataRecurringCommitsSubscriptionConfigAllocationIndividualV2ContractListResponseDataRecurringCommitsSubscriptionConfigAllocationV2ContractListResponseDataRecurringCommitsSubscriptionConfigAllocationPooledV2ContractListResponseDataRecurringCommitsSubscriptionConfigAllocationV2ContractListResponseDataRecurringCommitsSubscriptionConfigAllocation
"POOLED"
Hide ParametersShow Parameters
IsProratedbool

Indicates whether a mid-period seat increase should be prorated.

SubscriptionIDstring
formatuuid
RecurringCreditsarray
optional
Hide ParametersShow Parameters
IDstring
formatuuid
AccessAmountCreditTypeIDstringUnitPricefloat64Quantityfloat64V2ContractListResponseDataRecurringCreditsAccessAmount

The amount of commit to grant.

Hide ParametersShow Parameters
CreditTypeIDstring
formatuuid
UnitPricefloat64
Quantityfloat64
optional

The amount of time the created commits will be valid for

Hide ParametersShow Parameters
Valuefloat64
Hide ParametersShow Parameters
V2ContractListResponseDataRecurringCreditsCommitDurationUnitPeriodsconst
"PERIODS"
Priorityfloat64

Will be passed down to the individual commits

Hide ParametersShow Parameters
IDstring
formatuuid
Namestring
RateTypeV2ContractListResponseDataRecurringCreditsRateTypeCommitRateV2ContractListResponseDataRecurringCreditsRateTypeV2ContractListResponseDataRecurringCreditsRateTypeListRateV2ContractListResponseDataRecurringCreditsRateTypeV2ContractListResponseDataRecurringCreditsRateType

Whether the created commits will use the commit rate or list rate

Hide ParametersShow Parameters
V2ContractListResponseDataRecurringCreditsRateTypeCommitRateconst
V2ContractListResponseDataRecurringCreditsRateTypeCommitRateV2ContractListResponseDataRecurringCreditsRateTypeV2ContractListResponseDataRecurringCreditsRateTypeListRateV2ContractListResponseDataRecurringCreditsRateTypeV2ContractListResponseDataRecurringCreditsRateType
"COMMIT_RATE"
V2ContractListResponseDataRecurringCreditsRateTypeListRateconst
V2ContractListResponseDataRecurringCreditsRateTypeCommitRateV2ContractListResponseDataRecurringCreditsRateTypeV2ContractListResponseDataRecurringCreditsRateTypeListRateV2ContractListResponseDataRecurringCreditsRateTypeV2ContractListResponseDataRecurringCreditsRateType
"LIST_RATE"
StartingAtTime

Determines the start time for the first commit

formatdate-time
ApplicableProductIDsarray
optional
[]string

Will be passed down to the individual commits

ApplicableProductTagsarray
optional
[]string

Will be passed down to the individual commits

Hide ParametersShow Parameters
IDstring
formatuuid
Descriptionstring
optional

Will be passed down to the individual commits

EndingBeforeTime
optional

Determines when the contract will stop creating recurring commits. Optional

formatdate-time

Optional configuration for recurring credit hierarchy access control

Hide ParametersShow Parameters
ChildAccessV2ContractListResponseDataRecurringCreditsHierarchyConfigurationChildAccessCommitHierarchyChildAccessAllstruct{…}V2ContractListResponseDataRecurringCreditsHierarchyConfigurationChildAccessCommitHierarchyChildAccessNonestruct{…}V2ContractListResponseDataRecurringCreditsHierarchyConfigurationChildAccessCommitHierarchyChildAccessContractIDsstruct{…}V2ContractListResponseDataRecurringCreditsHierarchyConfigurationChildAccess
Hide ParametersShow Parameters
V2ContractListResponseDataRecurringCreditsHierarchyConfigurationChildAccessCommitHierarchyChildAccessAllstruct
Hide ParametersShow Parameters
Hide ParametersShow Parameters
V2ContractListResponseDataRecurringCreditsHierarchyConfigurationChildAccessCommitHierarchyChildAccessAllTypeAllconst
"ALL"
V2ContractListResponseDataRecurringCreditsHierarchyConfigurationChildAccessCommitHierarchyChildAccessNonestruct
Hide ParametersShow Parameters
Hide ParametersShow Parameters
V2ContractListResponseDataRecurringCreditsHierarchyConfigurationChildAccessCommitHierarchyChildAccessNoneTypeNoneconst
"NONE"
V2ContractListResponseDataRecurringCreditsHierarchyConfigurationChildAccessCommitHierarchyChildAccessContractIDsstruct
Hide ParametersShow Parameters
ContractIDsarray
[]string
Hide ParametersShow Parameters
V2ContractListResponseDataRecurringCreditsHierarchyConfigurationChildAccessCommitHierarchyChildAccessContractIDsTypeContractIDsconst
"CONTRACT_IDS"
Namestring
optional

Displayed on invoices. Will be passed through to the individual commits

NetsuiteSalesOrderIDstring
optional

Will be passed down to the individual commits

ProrationV2ContractListResponseDataRecurringCreditsProrationNoneV2ContractListResponseDataRecurringCreditsProrationV2ContractListResponseDataRecurringCreditsProrationFirstV2ContractListResponseDataRecurringCreditsProrationV2ContractListResponseDataRecurringCreditsProrationLastV2ContractListResponseDataRecurringCreditsProrationV2ContractListResponseDataRecurringCreditsProrationFirstAndLastV2ContractListResponseDataRecurringCreditsProrationV2ContractListResponseDataRecurringCreditsProration
optional

Determines whether the first and last commit will be prorated. If not provided, the default is FIRST_AND_LAST (i.e. prorate both the first and last commits).

Hide ParametersShow Parameters
V2ContractListResponseDataRecurringCreditsProrationNoneconst
V2ContractListResponseDataRecurringCreditsProrationNoneV2ContractListResponseDataRecurringCreditsProrationV2ContractListResponseDataRecurringCreditsProrationFirstV2ContractListResponseDataRecurringCreditsProrationV2ContractListResponseDataRecurringCreditsProrationLastV2ContractListResponseDataRecurringCreditsProrationV2ContractListResponseDataRecurringCreditsProrationFirstAndLastV2ContractListResponseDataRecurringCreditsProrationV2ContractListResponseDataRecurringCreditsProration
"NONE"
V2ContractListResponseDataRecurringCreditsProrationFirstconst
V2ContractListResponseDataRecurringCreditsProrationNoneV2ContractListResponseDataRecurringCreditsProrationV2ContractListResponseDataRecurringCreditsProrationFirstV2ContractListResponseDataRecurringCreditsProrationV2ContractListResponseDataRecurringCreditsProrationLastV2ContractListResponseDataRecurringCreditsProrationV2ContractListResponseDataRecurringCreditsProrationFirstAndLastV2ContractListResponseDataRecurringCreditsProrationV2ContractListResponseDataRecurringCreditsProration
"FIRST"
V2ContractListResponseDataRecurringCreditsProrationLastconst
V2ContractListResponseDataRecurringCreditsProrationNoneV2ContractListResponseDataRecurringCreditsProrationV2ContractListResponseDataRecurringCreditsProrationFirstV2ContractListResponseDataRecurringCreditsProrationV2ContractListResponseDataRecurringCreditsProrationLastV2ContractListResponseDataRecurringCreditsProrationV2ContractListResponseDataRecurringCreditsProrationFirstAndLastV2ContractListResponseDataRecurringCreditsProrationV2ContractListResponseDataRecurringCreditsProration
"LAST"
V2ContractListResponseDataRecurringCreditsProrationFirstAndLastconst
V2ContractListResponseDataRecurringCreditsProrationNoneV2ContractListResponseDataRecurringCreditsProrationV2ContractListResponseDataRecurringCreditsProrationFirstV2ContractListResponseDataRecurringCreditsProrationV2ContractListResponseDataRecurringCreditsProrationLastV2ContractListResponseDataRecurringCreditsProrationV2ContractListResponseDataRecurringCreditsProrationFirstAndLastV2ContractListResponseDataRecurringCreditsProrationV2ContractListResponseDataRecurringCreditsProration
"FIRST_AND_LAST"
RecurrenceFrequencyV2ContractListResponseDataRecurringCreditsRecurrenceFrequencyMonthlyV2ContractListResponseDataRecurringCreditsRecurrenceFrequencyV2ContractListResponseDataRecurringCreditsRecurrenceFrequencyQuarterlyV2ContractListResponseDataRecurringCreditsRecurrenceFrequencyV2ContractListResponseDataRecurringCreditsRecurrenceFrequencyAnnualV2ContractListResponseDataRecurringCreditsRecurrenceFrequencyV2ContractListResponseDataRecurringCreditsRecurrenceFrequencyWeeklyV2ContractListResponseDataRecurringCreditsRecurrenceFrequencyV2ContractListResponseDataRecurringCreditsRecurrenceFrequency
optional

The frequency at which the recurring commits will be created. If not provided: - The commits will be created on the usage invoice frequency. If provided: - The period defined in the duration will correspond to this frequency. - Commits will be created aligned with the recurring commit's starting_at rather than the usage invoice dates.

Hide ParametersShow Parameters
V2ContractListResponseDataRecurringCreditsRecurrenceFrequencyMonthlyconst
V2ContractListResponseDataRecurringCreditsRecurrenceFrequencyMonthlyV2ContractListResponseDataRecurringCreditsRecurrenceFrequencyV2ContractListResponseDataRecurringCreditsRecurrenceFrequencyQuarterlyV2ContractListResponseDataRecurringCreditsRecurrenceFrequencyV2ContractListResponseDataRecurringCreditsRecurrenceFrequencyAnnualV2ContractListResponseDataRecurringCreditsRecurrenceFrequencyV2ContractListResponseDataRecurringCreditsRecurrenceFrequencyWeeklyV2ContractListResponseDataRecurringCreditsRecurrenceFrequencyV2ContractListResponseDataRecurringCreditsRecurrenceFrequency
"MONTHLY"
V2ContractListResponseDataRecurringCreditsRecurrenceFrequencyQuarterlyconst
V2ContractListResponseDataRecurringCreditsRecurrenceFrequencyMonthlyV2ContractListResponseDataRecurringCreditsRecurrenceFrequencyV2ContractListResponseDataRecurringCreditsRecurrenceFrequencyQuarterlyV2ContractListResponseDataRecurringCreditsRecurrenceFrequencyV2ContractListResponseDataRecurringCreditsRecurrenceFrequencyAnnualV2ContractListResponseDataRecurringCreditsRecurrenceFrequencyV2ContractListResponseDataRecurringCreditsRecurrenceFrequencyWeeklyV2ContractListResponseDataRecurringCreditsRecurrenceFrequencyV2ContractListResponseDataRecurringCreditsRecurrenceFrequency
"QUARTERLY"
V2ContractListResponseDataRecurringCreditsRecurrenceFrequencyAnnualconst
V2ContractListResponseDataRecurringCreditsRecurrenceFrequencyMonthlyV2ContractListResponseDataRecurringCreditsRecurrenceFrequencyV2ContractListResponseDataRecurringCreditsRecurrenceFrequencyQuarterlyV2ContractListResponseDataRecurringCreditsRecurrenceFrequencyV2ContractListResponseDataRecurringCreditsRecurrenceFrequencyAnnualV2ContractListResponseDataRecurringCreditsRecurrenceFrequencyV2ContractListResponseDataRecurringCreditsRecurrenceFrequencyWeeklyV2ContractListResponseDataRecurringCreditsRecurrenceFrequencyV2ContractListResponseDataRecurringCreditsRecurrenceFrequency
"ANNUAL"
V2ContractListResponseDataRecurringCreditsRecurrenceFrequencyWeeklyconst
V2ContractListResponseDataRecurringCreditsRecurrenceFrequencyMonthlyV2ContractListResponseDataRecurringCreditsRecurrenceFrequencyV2ContractListResponseDataRecurringCreditsRecurrenceFrequencyQuarterlyV2ContractListResponseDataRecurringCreditsRecurrenceFrequencyV2ContractListResponseDataRecurringCreditsRecurrenceFrequencyAnnualV2ContractListResponseDataRecurringCreditsRecurrenceFrequencyV2ContractListResponseDataRecurringCreditsRecurrenceFrequencyWeeklyV2ContractListResponseDataRecurringCreditsRecurrenceFrequencyV2ContractListResponseDataRecurringCreditsRecurrenceFrequency
"WEEKLY"
RolloverFractionfloat64
optional

Will be passed down to the individual commits. This controls how much of an individual unexpired commit will roll over upon contract transition. Must be between 0 and 1.

Specifiersarray
optional

List of filters that determine what kind of customer usage draws down a commit or credit. A customer's usage needs to meet the condition of at least one of the specifiers to contribute to a commit's or credit's drawdown.

Hide ParametersShow Parameters
PresentationGroupValuesmap
optional
map[string, string]
PricingGroupValuesmap
optional
map[string, string]
ProductIDstring
optional

If provided, the specifier will only apply to the product with the specified ID.

formatuuid
ProductTagsarray
optional
[]string

If provided, the specifier will only apply to products with all the specified tags.

Hide ParametersShow Parameters
AllocationV2ContractListResponseDataRecurringCreditsSubscriptionConfigAllocationIndividualV2ContractListResponseDataRecurringCreditsSubscriptionConfigAllocationV2ContractListResponseDataRecurringCreditsSubscriptionConfigAllocationPooledV2ContractListResponseDataRecurringCreditsSubscriptionConfigAllocationV2ContractListResponseDataRecurringCreditsSubscriptionConfigAllocation
Hide ParametersShow Parameters
V2ContractListResponseDataRecurringCreditsSubscriptionConfigAllocationIndividualconst
V2ContractListResponseDataRecurringCreditsSubscriptionConfigAllocationIndividualV2ContractListResponseDataRecurringCreditsSubscriptionConfigAllocationV2ContractListResponseDataRecurringCreditsSubscriptionConfigAllocationPooledV2ContractListResponseDataRecurringCreditsSubscriptionConfigAllocationV2ContractListResponseDataRecurringCreditsSubscriptionConfigAllocation
"INDIVIDUAL"
V2ContractListResponseDataRecurringCreditsSubscriptionConfigAllocationPooledconst
V2ContractListResponseDataRecurringCreditsSubscriptionConfigAllocationIndividualV2ContractListResponseDataRecurringCreditsSubscriptionConfigAllocationV2ContractListResponseDataRecurringCreditsSubscriptionConfigAllocationPooledV2ContractListResponseDataRecurringCreditsSubscriptionConfigAllocationV2ContractListResponseDataRecurringCreditsSubscriptionConfigAllocation
"POOLED"
Hide ParametersShow Parameters
IsProratedbool

Indicates whether a mid-period seat increase should be prorated.

SubscriptionIDstring
formatuuid
ResellerRoyaltiesarray
optional

This field's availability is dependent on your client's configuration.

Hide ParametersShow Parameters
ResellerTypeV2ContractListResponseDataResellerRoyaltiesResellerTypeAwsV2ContractListResponseDataResellerRoyaltiesResellerTypeV2ContractListResponseDataResellerRoyaltiesResellerTypeAwsProServiceV2ContractListResponseDataResellerRoyaltiesResellerTypeV2ContractListResponseDataResellerRoyaltiesResellerTypeGcpV2ContractListResponseDataResellerRoyaltiesResellerTypeV2ContractListResponseDataResellerRoyaltiesResellerTypeGcpProServiceV2ContractListResponseDataResellerRoyaltiesResellerTypeV2ContractListResponseDataResellerRoyaltiesResellerType
Hide ParametersShow Parameters
V2ContractListResponseDataResellerRoyaltiesResellerTypeAwsconst
V2ContractListResponseDataResellerRoyaltiesResellerTypeAwsV2ContractListResponseDataResellerRoyaltiesResellerTypeV2ContractListResponseDataResellerRoyaltiesResellerTypeAwsProServiceV2ContractListResponseDataResellerRoyaltiesResellerTypeV2ContractListResponseDataResellerRoyaltiesResellerTypeGcpV2ContractListResponseDataResellerRoyaltiesResellerTypeV2ContractListResponseDataResellerRoyaltiesResellerTypeGcpProServiceV2ContractListResponseDataResellerRoyaltiesResellerTypeV2ContractListResponseDataResellerRoyaltiesResellerType
"AWS"
V2ContractListResponseDataResellerRoyaltiesResellerTypeAwsProServiceconst
V2ContractListResponseDataResellerRoyaltiesResellerTypeAwsV2ContractListResponseDataResellerRoyaltiesResellerTypeV2ContractListResponseDataResellerRoyaltiesResellerTypeAwsProServiceV2ContractListResponseDataResellerRoyaltiesResellerTypeV2ContractListResponseDataResellerRoyaltiesResellerTypeGcpV2ContractListResponseDataResellerRoyaltiesResellerTypeV2ContractListResponseDataResellerRoyaltiesResellerTypeGcpProServiceV2ContractListResponseDataResellerRoyaltiesResellerTypeV2ContractListResponseDataResellerRoyaltiesResellerType
"AWS_PRO_SERVICE"
V2ContractListResponseDataResellerRoyaltiesResellerTypeGcpconst
V2ContractListResponseDataResellerRoyaltiesResellerTypeAwsV2ContractListResponseDataResellerRoyaltiesResellerTypeV2ContractListResponseDataResellerRoyaltiesResellerTypeAwsProServiceV2ContractListResponseDataResellerRoyaltiesResellerTypeV2ContractListResponseDataResellerRoyaltiesResellerTypeGcpV2ContractListResponseDataResellerRoyaltiesResellerTypeV2ContractListResponseDataResellerRoyaltiesResellerTypeGcpProServiceV2ContractListResponseDataResellerRoyaltiesResellerTypeV2ContractListResponseDataResellerRoyaltiesResellerType
"GCP"
V2ContractListResponseDataResellerRoyaltiesResellerTypeGcpProServiceconst
V2ContractListResponseDataResellerRoyaltiesResellerTypeAwsV2ContractListResponseDataResellerRoyaltiesResellerTypeV2ContractListResponseDataResellerRoyaltiesResellerTypeAwsProServiceV2ContractListResponseDataResellerRoyaltiesResellerTypeV2ContractListResponseDataResellerRoyaltiesResellerTypeGcpV2ContractListResponseDataResellerRoyaltiesResellerTypeV2ContractListResponseDataResellerRoyaltiesResellerTypeGcpProServiceV2ContractListResponseDataResellerRoyaltiesResellerTypeV2ContractListResponseDataResellerRoyaltiesResellerType
"GCP_PRO_SERVICE"
Hide ParametersShow Parameters
Fractionfloat64
NetsuiteResellerIDstring
ResellerTypeV2ContractListResponseDataResellerRoyaltiesSegmentsResellerTypeAwsV2ContractListResponseDataResellerRoyaltiesSegmentsResellerTypeV2ContractListResponseDataResellerRoyaltiesSegmentsResellerTypeAwsProServiceV2ContractListResponseDataResellerRoyaltiesSegmentsResellerTypeV2ContractListResponseDataResellerRoyaltiesSegmentsResellerTypeGcpV2ContractListResponseDataResellerRoyaltiesSegmentsResellerTypeV2ContractListResponseDataResellerRoyaltiesSegmentsResellerTypeGcpProServiceV2ContractListResponseDataResellerRoyaltiesSegmentsResellerTypeV2ContractListResponseDataResellerRoyaltiesSegmentsResellerType
Hide ParametersShow Parameters
V2ContractListResponseDataResellerRoyaltiesSegmentsResellerTypeAwsconst
V2ContractListResponseDataResellerRoyaltiesSegmentsResellerTypeAwsV2ContractListResponseDataResellerRoyaltiesSegmentsResellerTypeV2ContractListResponseDataResellerRoyaltiesSegmentsResellerTypeAwsProServiceV2ContractListResponseDataResellerRoyaltiesSegmentsResellerTypeV2ContractListResponseDataResellerRoyaltiesSegmentsResellerTypeGcpV2ContractListResponseDataResellerRoyaltiesSegmentsResellerTypeV2ContractListResponseDataResellerRoyaltiesSegmentsResellerTypeGcpProServiceV2ContractListResponseDataResellerRoyaltiesSegmentsResellerTypeV2ContractListResponseDataResellerRoyaltiesSegmentsResellerType
"AWS"
V2ContractListResponseDataResellerRoyaltiesSegmentsResellerTypeAwsProServiceconst
V2ContractListResponseDataResellerRoyaltiesSegmentsResellerTypeAwsV2ContractListResponseDataResellerRoyaltiesSegmentsResellerTypeV2ContractListResponseDataResellerRoyaltiesSegmentsResellerTypeAwsProServiceV2ContractListResponseDataResellerRoyaltiesSegmentsResellerTypeV2ContractListResponseDataResellerRoyaltiesSegmentsResellerTypeGcpV2ContractListResponseDataResellerRoyaltiesSegmentsResellerTypeV2ContractListResponseDataResellerRoyaltiesSegmentsResellerTypeGcpProServiceV2ContractListResponseDataResellerRoyaltiesSegmentsResellerTypeV2ContractListResponseDataResellerRoyaltiesSegmentsResellerType
"AWS_PRO_SERVICE"
V2ContractListResponseDataResellerRoyaltiesSegmentsResellerTypeGcpconst
V2ContractListResponseDataResellerRoyaltiesSegmentsResellerTypeAwsV2ContractListResponseDataResellerRoyaltiesSegmentsResellerTypeV2ContractListResponseDataResellerRoyaltiesSegmentsResellerTypeAwsProServiceV2ContractListResponseDataResellerRoyaltiesSegmentsResellerTypeV2ContractListResponseDataResellerRoyaltiesSegmentsResellerTypeGcpV2ContractListResponseDataResellerRoyaltiesSegmentsResellerTypeV2ContractListResponseDataResellerRoyaltiesSegmentsResellerTypeGcpProServiceV2ContractListResponseDataResellerRoyaltiesSegmentsResellerTypeV2ContractListResponseDataResellerRoyaltiesSegmentsResellerType
"GCP"
V2ContractListResponseDataResellerRoyaltiesSegmentsResellerTypeGcpProServiceconst
V2ContractListResponseDataResellerRoyaltiesSegmentsResellerTypeAwsV2ContractListResponseDataResellerRoyaltiesSegmentsResellerTypeV2ContractListResponseDataResellerRoyaltiesSegmentsResellerTypeAwsProServiceV2ContractListResponseDataResellerRoyaltiesSegmentsResellerTypeV2ContractListResponseDataResellerRoyaltiesSegmentsResellerTypeGcpV2ContractListResponseDataResellerRoyaltiesSegmentsResellerTypeV2ContractListResponseDataResellerRoyaltiesSegmentsResellerTypeGcpProServiceV2ContractListResponseDataResellerRoyaltiesSegmentsResellerTypeV2ContractListResponseDataResellerRoyaltiesSegmentsResellerType
"GCP_PRO_SERVICE"
StartingAtTime
formatdate-time
ApplicableProductIDsarray
optional
[]string
ApplicableProductTagsarray
optional
[]string
AwsAccountNumberstring
optional
AwsOfferIDstring
optional
AwsPayerReferenceIDstring
optional
EndingBeforeTime
optional
formatdate-time
GcpAccountIDstring
optional
GcpOfferIDstring
optional
ResellerContractValuefloat64
optional
SalesforceOpportunityIDstring
optional

This field's availability is dependent on your client's configuration.

ScheduledChargesOnUsageInvoicesV2ContractListResponseDataScheduledChargesOnUsageInvoicesAllV2ContractListResponseDataScheduledChargesOnUsageInvoicesV2ContractListResponseDataScheduledChargesOnUsageInvoices
optional

Determines which scheduled and commit charges to consolidate onto the Contract's usage invoice. The charge's timestamp must match the usage invoice's ending_before date for consolidation to occur. This field cannot be modified after a Contract has been created. If this field is omitted, charges will appear on a separate invoice from usage charges.

Hide ParametersShow Parameters
V2ContractListResponseDataScheduledChargesOnUsageInvoicesAllconst
"ALL"
Hide ParametersShow Parameters
CommitProductIDstringDescriptionstringNamestringV2ContractListResponseDataSpendThresholdConfigurationCommit
Hide ParametersShow Parameters
ProductIDstring

The commit product that will be used to generate the line item for commit payment.

Descriptionstring
optional
Namestring
optional

Specify the name of the line item for the threshold charge. If left blank, it will default to the commit product name.

IsEnabledbool

When set to false, the contract will not be evaluated against the threshold_amount. Toggling to true will result an immediate evaluation, regardless of prior state.

Hide ParametersShow Parameters
PaymentGateTypeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigPaymentGateTypeNoneV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigPaymentGateTypeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigPaymentGateTypeStripeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigPaymentGateTypeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigPaymentGateTypeExternalV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigPaymentGateTypeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigPaymentGateType

Gate access to the commit balance based on successful collection of payment. Select STRIPE for Metronome to facilitate payment via Stripe. Select EXTERNAL to facilitate payment using your own payment integration. Select NONE if you do not wish to payment gate the commit balance.

Hide ParametersShow Parameters
V2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigPaymentGateTypeNoneconst
V2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigPaymentGateTypeNoneV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigPaymentGateTypeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigPaymentGateTypeStripeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigPaymentGateTypeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigPaymentGateTypeExternalV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigPaymentGateTypeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigPaymentGateType
"NONE"
V2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigPaymentGateTypeStripeconst
V2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigPaymentGateTypeNoneV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigPaymentGateTypeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigPaymentGateTypeStripeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigPaymentGateTypeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigPaymentGateTypeExternalV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigPaymentGateTypeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigPaymentGateType
"STRIPE"
V2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigPaymentGateTypeExternalconst
V2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigPaymentGateTypeNoneV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigPaymentGateTypeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigPaymentGateTypeStripeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigPaymentGateTypeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigPaymentGateTypeExternalV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigPaymentGateTypeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigPaymentGateType
"EXTERNAL"

Only applicable if using PRECALCULATED as your tax type.

Hide ParametersShow Parameters
TaxAmountfloat64

Amount of tax to be applied. This should be in the same currency and denomination as the commit's invoice schedule

TaxNamestring
optional

Name of the tax to be applied. This may be used in an invoice line item description.

Hide ParametersShow Parameters
PaymentTypeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigStripeConfigPaymentTypeInvoiceV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigStripeConfigPaymentTypeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigStripeConfigPaymentTypePaymentIntentV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigStripeConfigPaymentTypeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigStripeConfigPaymentType

If left blank, will default to INVOICE

Hide ParametersShow Parameters
V2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigStripeConfigPaymentTypeInvoiceconst
V2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigStripeConfigPaymentTypeInvoiceV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigStripeConfigPaymentTypeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigStripeConfigPaymentTypePaymentIntentV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigStripeConfigPaymentTypeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigStripeConfigPaymentType
"INVOICE"
V2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigStripeConfigPaymentTypePaymentIntentconst
V2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigStripeConfigPaymentTypeInvoiceV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigStripeConfigPaymentTypeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigStripeConfigPaymentTypePaymentIntentV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigStripeConfigPaymentTypeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigStripeConfigPaymentType
"PAYMENT_INTENT"
InvoiceMetadatamap
optional
map[string, string]

Metadata to be added to the Stripe invoice. Only applicable if using INVOICE as your payment type.

TaxTypeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxTypeNoneV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxTypeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxTypeStripeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxTypeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxTypeAnrokV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxTypeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxTypePrecalculatedV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxTypeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxType
optional

Stripe tax is only supported for Stripe payment gateway. Select NONE if you do not wish Metronome to calculate tax on your behalf. Leaving this field blank will default to NONE.

Hide ParametersShow Parameters
V2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxTypeNoneconst
V2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxTypeNoneV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxTypeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxTypeStripeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxTypeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxTypeAnrokV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxTypeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxTypePrecalculatedV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxTypeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxType
"NONE"
V2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxTypeStripeconst
V2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxTypeNoneV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxTypeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxTypeStripeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxTypeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxTypeAnrokV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxTypeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxTypePrecalculatedV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxTypeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxType
"STRIPE"
V2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxTypeAnrokconst
V2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxTypeNoneV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxTypeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxTypeStripeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxTypeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxTypeAnrokV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxTypeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxTypePrecalculatedV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxTypeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxType
"ANROK"
V2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxTypePrecalculatedconst
V2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxTypeNoneV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxTypeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxTypeStripeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxTypeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxTypeAnrokV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxTypeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxTypePrecalculatedV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxTypeV2ContractListResponseDataSpendThresholdConfigurationPaymentGateConfigTaxType
"PRECALCULATED"
ThresholdAmountfloat64

Specify the threshold amount for the contract. Each time the contract's usage hits this amount, a threshold charge will be initiated.

Subscriptionsarray
optional

List of subscriptions on the contract.

Hide ParametersShow Parameters
CollectionScheduleV2ContractListResponseDataSubscriptionsCollectionScheduleAdvanceV2ContractListResponseDataSubscriptionsCollectionScheduleV2ContractListResponseDataSubscriptionsCollectionScheduleArrearsV2ContractListResponseDataSubscriptionsCollectionScheduleV2ContractListResponseDataSubscriptionsCollectionSchedule
Hide ParametersShow Parameters
V2ContractListResponseDataSubscriptionsCollectionScheduleAdvanceconst
V2ContractListResponseDataSubscriptionsCollectionScheduleAdvanceV2ContractListResponseDataSubscriptionsCollectionScheduleV2ContractListResponseDataSubscriptionsCollectionScheduleArrearsV2ContractListResponseDataSubscriptionsCollectionScheduleV2ContractListResponseDataSubscriptionsCollectionSchedule
"ADVANCE"
V2ContractListResponseDataSubscriptionsCollectionScheduleArrearsconst
V2ContractListResponseDataSubscriptionsCollectionScheduleAdvanceV2ContractListResponseDataSubscriptionsCollectionScheduleV2ContractListResponseDataSubscriptionsCollectionScheduleArrearsV2ContractListResponseDataSubscriptionsCollectionScheduleV2ContractListResponseDataSubscriptionsCollectionSchedule
"ARREARS"
Hide ParametersShow Parameters
InvoiceBehaviorV2ContractListResponseDataSubscriptionsProrationInvoiceBehaviorBillImmediatelyV2ContractListResponseDataSubscriptionsProrationInvoiceBehaviorV2ContractListResponseDataSubscriptionsProrationInvoiceBehaviorBillOnNextCollectionDateV2ContractListResponseDataSubscriptionsProrationInvoiceBehaviorV2ContractListResponseDataSubscriptionsProrationInvoiceBehavior
Hide ParametersShow Parameters
V2ContractListResponseDataSubscriptionsProrationInvoiceBehaviorBillImmediatelyconst
V2ContractListResponseDataSubscriptionsProrationInvoiceBehaviorBillImmediatelyV2ContractListResponseDataSubscriptionsProrationInvoiceBehaviorV2ContractListResponseDataSubscriptionsProrationInvoiceBehaviorBillOnNextCollectionDateV2ContractListResponseDataSubscriptionsProrationInvoiceBehaviorV2ContractListResponseDataSubscriptionsProrationInvoiceBehavior
"BILL_IMMEDIATELY"
V2ContractListResponseDataSubscriptionsProrationInvoiceBehaviorBillOnNextCollectionDateconst
V2ContractListResponseDataSubscriptionsProrationInvoiceBehaviorBillImmediatelyV2ContractListResponseDataSubscriptionsProrationInvoiceBehaviorV2ContractListResponseDataSubscriptionsProrationInvoiceBehaviorBillOnNextCollectionDateV2ContractListResponseDataSubscriptionsProrationInvoiceBehaviorV2ContractListResponseDataSubscriptionsProrationInvoiceBehavior
"BILL_ON_NEXT_COLLECTION_DATE"
IsProratedbool
QuantitySchedulearray

List of quantity schedule items for the subscription. Only includes the current quantity and future quantity changes.

Hide ParametersShow Parameters
Quantityfloat64
StartingAtTime
formatdate-time
EndingBeforeTime
optional
formatdate-time
StartingAtTime
formatdate-time
Hide ParametersShow Parameters
BillingFrequencyV2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequencyMonthlyV2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequencyV2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequencyQuarterlyV2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequencyV2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequencyAnnualV2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequencyV2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequencyWeeklyV2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequencyV2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequency
Hide ParametersShow Parameters
V2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequencyMonthlyconst
V2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequencyMonthlyV2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequencyV2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequencyQuarterlyV2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequencyV2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequencyAnnualV2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequencyV2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequencyWeeklyV2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequencyV2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequency
"MONTHLY"
V2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequencyQuarterlyconst
V2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequencyMonthlyV2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequencyV2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequencyQuarterlyV2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequencyV2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequencyAnnualV2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequencyV2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequencyWeeklyV2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequencyV2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequency
"QUARTERLY"
V2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequencyAnnualconst
V2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequencyMonthlyV2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequencyV2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequencyQuarterlyV2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequencyV2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequencyAnnualV2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequencyV2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequencyWeeklyV2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequencyV2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequency
"ANNUAL"
V2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequencyWeeklyconst
V2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequencyMonthlyV2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequencyV2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequencyQuarterlyV2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequencyV2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequencyAnnualV2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequencyV2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequencyWeeklyV2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequencyV2ContractListResponseDataSubscriptionsSubscriptionRateBillingFrequency
"WEEKLY"
Hide ParametersShow Parameters
IDstring
formatuuid
Namestring
IDstring
optional
formatuuid
CustomFieldsmap
optional
map[string, string]
Descriptionstring
optional
EndingBeforeTime
optional
formatdate-time
FiatCreditTypeIDstring
optional
formatuuid
Namestring
optional
TotalContractValuefloat64
optional
UniquenessKeystring
optional

Prevents the creation of duplicates. If a request to create a record is made with a previously used uniqueness key, a new record will not be created and the request will fail with a 409 error.

minLength1
maxLength128
package main

import (
  "context"
  "fmt"

  "github.com/Metronome-Industries/metronome-go"
  "github.com/Metronome-Industries/metronome-go/option"
)

func main() {
  client := metronome.NewClient(
    option.WithBearerToken("My Bearer Token"),
  )
  contracts, err := client.V2.Contracts.List(context.TODO(), metronome.V2ContractListParams{
    CustomerID: metronome.F("13117714-3f05-48e5-a6e9-a66093f13b4d"),
  })
  if err != nil {
    panic(err.Error())
  }
  fmt.Printf("%+v\n", contracts.Data)
}
200 Example
{
  "data": [
    {
      "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
      "commits": [
        {
          "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
          "product": {
            "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
            "name": "name"
          },
          "type": "PREPAID",
          "access_schedule": {
            "schedule_items": [
              {
                "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
                "amount": 0,
                "ending_before": "2019-12-27T18:11:19.117Z",
                "starting_at": "2019-12-27T18:11:19.117Z"
              }
            ],
            "credit_type": {
              "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
              "name": "name"
            }
          },
          "applicable_contract_ids": [
            "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"
          ],
          "applicable_product_ids": [
            "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"
          ],
          "applicable_product_tags": [
            "string"
          ],
          "archived_at": "2019-12-27T18:11:19.117Z",
          "balance": 0,
          "contract": {
            "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"
          },
          "custom_fields": {
            "foo": "string"
          },
          "description": "description",
          "hierarchy_configuration": {
            "child_access": {
              "type": "ALL"
            }
          },
          "invoice_contract": {
            "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"
          },
          "invoice_schedule": {
            "credit_type": {
              "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
              "name": "name"
            },
            "do_not_invoice": true,
            "schedule_items": [
              {
                "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
                "amount": 0,
                "quantity": 0,
                "timestamp": "2019-12-27T18:11:19.117Z",
                "unit_price": 0,
                "invoice_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"
              }
            ]
          },
          "ledger": [
            {
              "amount": 0,
              "segment_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
              "timestamp": "2019-12-27T18:11:19.117Z",
              "type": "PREPAID_COMMIT_SEGMENT_START"
            }
          ],
          "name": "name",
          "netsuite_sales_order_id": "netsuite_sales_order_id",
          "priority": 0,
          "rate_type": "COMMIT_RATE",
          "rolled_over_from": {
            "commit_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
            "contract_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"
          },
          "rollover_fraction": 0,
          "salesforce_opportunity_id": "salesforce_opportunity_id",
          "specifiers": [
            {
              "presentation_group_values": {
                "foo": "string"
              },
              "pricing_group_values": {
                "foo": "string"
              },
              "product_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
              "product_tags": [
                "string"
              ]
            }
          ]
        }
      ],
      "created_at": "2019-12-27T18:11:19.117Z",
      "created_by": "created_by",
      "customer_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
      "overrides": [
        {
          "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
          "starting_at": "2019-12-27T18:11:19.117Z",
          "applicable_product_tags": [
            "string"
          ],
          "ending_before": "2019-12-27T18:11:19.117Z",
          "entitled": true,
          "is_commit_specific": true,
          "multiplier": 0,
          "override_specifiers": [
            {
              "billing_frequency": "MONTHLY",
              "commit_ids": [
                "string"
              ],
              "presentation_group_values": {
                "foo": "string"
              },
              "pricing_group_values": {
                "foo": "string"
              },
              "product_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
              "product_tags": [
                "string"
              ],
              "recurring_commit_ids": [
                "string"
              ],
              "recurring_credit_ids": [
                "string"
              ]
            }
          ],
          "override_tiers": [
            {
              "multiplier": 0,
              "size": 0
            }
          ],
          "overwrite_rate": {
            "rate_type": "FLAT",
            "credit_type": {
              "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
              "name": "name"
            },
            "custom_rate": {
              "foo": "bar"
            },
            "is_prorated": true,
            "price": 0,
            "quantity": 0,
            "tiers": [
              {
                "price": 0,
                "size": 0
              }
            ]
          },
          "priority": 0,
          "product": {
            "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
            "name": "name"
          },
          "target": "COMMIT_RATE",
          "type": "OVERWRITE"
        }
      ],
      "scheduled_charges": [
        {
          "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
          "product": {
            "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
            "name": "name"
          },
          "schedule": {
            "credit_type": {
              "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
              "name": "name"
            },
            "do_not_invoice": true,
            "schedule_items": [
              {
                "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
                "amount": 0,
                "quantity": 0,
                "timestamp": "2019-12-27T18:11:19.117Z",
                "unit_price": 0,
                "invoice_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"
              }
            ]
          },
          "archived_at": "2019-12-27T18:11:19.117Z",
          "custom_fields": {
            "foo": "string"
          },
          "name": "x",
          "netsuite_sales_order_id": "netsuite_sales_order_id"
        }
      ],
      "starting_at": "2019-12-27T18:11:19.117Z",
      "transitions": [
        {
          "from_contract_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
          "to_contract_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
          "type": "SUPERSEDE"
        }
      ],
      "usage_filter": [
        {
          "group_key": "group_key",
          "group_values": [
            "string"
          ],
          "starting_at": "2019-12-27T18:11:19.117Z",
          "ending_before": "2019-12-27T18:11:19.117Z"
        }
      ],
      "usage_statement_schedule": {
        "billing_anchor_date": "2019-12-27T18:11:19.117Z",
        "frequency": "MONTHLY"
      },
      "archived_at": "2019-12-27T18:11:19.117Z",
      "credits": [
        {
          "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
          "product": {
            "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
            "name": "name"
          },
          "type": "CREDIT",
          "access_schedule": {
            "schedule_items": [
              {
                "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
                "amount": 0,
                "ending_before": "2019-12-27T18:11:19.117Z",
                "starting_at": "2019-12-27T18:11:19.117Z"
              }
            ],
            "credit_type": {
              "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
              "name": "name"
            }
          },
          "applicable_contract_ids": [
            "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"
          ],
          "applicable_product_ids": [
            "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"
          ],
          "applicable_product_tags": [
            "string"
          ],
          "balance": 0,
          "contract": {
            "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"
          },
          "custom_fields": {
            "foo": "string"
          },
          "description": "description",
          "hierarchy_configuration": {
            "child_access": {
              "type": "ALL"
            }
          },
          "ledger": [
            {
              "amount": 0,
              "segment_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
              "timestamp": "2019-12-27T18:11:19.117Z",
              "type": "CREDIT_SEGMENT_START"
            }
          ],
          "name": "name",
          "netsuite_sales_order_id": "netsuite_sales_order_id",
          "priority": 0,
          "salesforce_opportunity_id": "salesforce_opportunity_id",
          "specifiers": [
            {
              "presentation_group_values": {
                "foo": "string"
              },
              "pricing_group_values": {
                "foo": "string"
              },
              "product_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
              "product_tags": [
                "string"
              ]
            }
          ]
        }
      ],
      "custom_fields": {
        "foo": "string"
      },
      "customer_billing_provider_configuration": {
        "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
        "billing_provider": "aws_marketplace",
        "delivery_method": "direct_to_billing_provider"
      },
      "discounts": [
        {
          "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
          "product": {
            "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
            "name": "name"
          },
          "schedule": {
            "credit_type": {
              "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
              "name": "name"
            },
            "do_not_invoice": true,
            "schedule_items": [
              {
                "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
                "amount": 0,
                "quantity": 0,
                "timestamp": "2019-12-27T18:11:19.117Z",
                "unit_price": 0,
                "invoice_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"
              }
            ]
          },
          "custom_fields": {
            "foo": "string"
          },
          "name": "x",
          "netsuite_sales_order_id": "netsuite_sales_order_id"
        }
      ],
      "ending_before": "2019-12-27T18:11:19.117Z",
      "has_more": {
        "commits": true,
        "credits": true
      },
      "hierarchy_configuration": {
        "children": [
          {
            "contract_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
            "customer_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"
          }
        ]
      },
      "multiplier_override_prioritization": "LOWEST_MULTIPLIER",
      "name": "name",
      "net_payment_terms_days": 0,
      "netsuite_sales_order_id": "netsuite_sales_order_id",
      "prepaid_balance_threshold_configuration": {
        "commit": {
          "product_id": "product_id",
          "applicable_product_ids": [
            "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"
          ],
          "applicable_product_tags": [
            "string"
          ],
          "description": "description",
          "name": "name",
          "specifiers": [
            {
              "presentation_group_values": {
                "foo": "string"
              },
              "pricing_group_values": {
                "foo": "string"
              },
              "product_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
              "product_tags": [
                "string"
              ]
            }
          ]
        },
        "is_enabled": true,
        "payment_gate_config": {
          "payment_gate_type": "NONE",
          "precalculated_tax_config": {
            "tax_amount": 0,
            "tax_name": "tax_name"
          },
          "stripe_config": {
            "payment_type": "INVOICE",
            "invoice_metadata": {
              "foo": "string"
            }
          },
          "tax_type": "NONE"
        },
        "recharge_to_amount": 0,
        "threshold_amount": 0,
        "custom_credit_type_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"
      },
      "priority": 0,
      "professional_services": [
        {
          "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
          "max_amount": 0,
          "product_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
          "quantity": 0,
          "unit_price": 0,
          "custom_fields": {
            "foo": "string"
          },
          "description": "description",
          "netsuite_sales_order_id": "netsuite_sales_order_id"
        }
      ],
      "rate_card_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
      "recurring_commits": [
        {
          "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
          "access_amount": {
            "credit_type_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
            "unit_price": 0,
            "quantity": 0
          },
          "commit_duration": {
            "value": 0,
            "unit": "PERIODS"
          },
          "priority": 0,
          "product": {
            "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
            "name": "name"
          },
          "rate_type": "COMMIT_RATE",
          "starting_at": "2019-12-27T18:11:19.117Z",
          "applicable_product_ids": [
            "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"
          ],
          "applicable_product_tags": [
            "string"
          ],
          "contract": {
            "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"
          },
          "description": "description",
          "ending_before": "2019-12-27T18:11:19.117Z",
          "hierarchy_configuration": {
            "child_access": {
              "type": "ALL"
            }
          },
          "invoice_amount": {
            "credit_type_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
            "quantity": 0,
            "unit_price": 0
          },
          "name": "name",
          "netsuite_sales_order_id": "netsuite_sales_order_id",
          "proration": "NONE",
          "recurrence_frequency": "MONTHLY",
          "rollover_fraction": 0,
          "specifiers": [
            {
              "presentation_group_values": {
                "foo": "string"
              },
              "pricing_group_values": {
                "foo": "string"
              },
              "product_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
              "product_tags": [
                "string"
              ]
            }
          ],
          "subscription_config": {
            "allocation": "INDIVIDUAL",
            "apply_seat_increase_config": {
              "is_prorated": true
            },
            "subscription_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"
          }
        }
      ],
      "recurring_credits": [
        {
          "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
          "access_amount": {
            "credit_type_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
            "unit_price": 0,
            "quantity": 0
          },
          "commit_duration": {
            "value": 0,
            "unit": "PERIODS"
          },
          "priority": 0,
          "product": {
            "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
            "name": "name"
          },
          "rate_type": "COMMIT_RATE",
          "starting_at": "2019-12-27T18:11:19.117Z",
          "applicable_product_ids": [
            "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"
          ],
          "applicable_product_tags": [
            "string"
          ],
          "contract": {
            "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"
          },
          "description": "description",
          "ending_before": "2019-12-27T18:11:19.117Z",
          "hierarchy_configuration": {
            "child_access": {
              "type": "ALL"
            }
          },
          "name": "name",
          "netsuite_sales_order_id": "netsuite_sales_order_id",
          "proration": "NONE",
          "recurrence_frequency": "MONTHLY",
          "rollover_fraction": 0,
          "specifiers": [
            {
              "presentation_group_values": {
                "foo": "string"
              },
              "pricing_group_values": {
                "foo": "string"
              },
              "product_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
              "product_tags": [
                "string"
              ]
            }
          ],
          "subscription_config": {
            "allocation": "INDIVIDUAL",
            "apply_seat_increase_config": {
              "is_prorated": true
            },
            "subscription_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"
          }
        }
      ],
      "reseller_royalties": [
        {
          "reseller_type": "AWS",
          "segments": [
            {
              "fraction": 0,
              "netsuite_reseller_id": "netsuite_reseller_id",
              "reseller_type": "AWS",
              "starting_at": "2019-12-27T18:11:19.117Z",
              "applicable_product_ids": [
                "string"
              ],
              "applicable_product_tags": [
                "string"
              ],
              "aws_account_number": "aws_account_number",
              "aws_offer_id": "aws_offer_id",
              "aws_payer_reference_id": "aws_payer_reference_id",
              "ending_before": "2019-12-27T18:11:19.117Z",
              "gcp_account_id": "gcp_account_id",
              "gcp_offer_id": "gcp_offer_id",
              "reseller_contract_value": 0
            }
          ]
        }
      ],
      "salesforce_opportunity_id": "salesforce_opportunity_id",
      "scheduled_charges_on_usage_invoices": "ALL",
      "spend_threshold_configuration": {
        "commit": {
          "product_id": "product_id",
          "description": "description",
          "name": "name"
        },
        "is_enabled": true,
        "payment_gate_config": {
          "payment_gate_type": "NONE",
          "precalculated_tax_config": {
            "tax_amount": 0,
            "tax_name": "tax_name"
          },
          "stripe_config": {
            "payment_type": "INVOICE",
            "invoice_metadata": {
              "foo": "string"
            }
          },
          "tax_type": "NONE"
        },
        "threshold_amount": 0
      },
      "subscriptions": [
        {
          "collection_schedule": "ADVANCE",
          "proration": {
            "invoice_behavior": "BILL_IMMEDIATELY",
            "is_prorated": true
          },
          "quantity_schedule": [
            {
              "quantity": 0,
              "starting_at": "2019-12-27T18:11:19.117Z",
              "ending_before": "2019-12-27T18:11:19.117Z"
            }
          ],
          "starting_at": "2019-12-27T18:11:19.117Z",
          "subscription_rate": {
            "billing_frequency": "MONTHLY",
            "product": {
              "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
              "name": "name"
            }
          },
          "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
          "custom_fields": {
            "foo": "string"
          },
          "description": "description",
          "ending_before": "2019-12-27T18:11:19.117Z",
          "fiat_credit_type_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
          "name": "name"
        }
      ],
      "total_contract_value": 0,
      "uniqueness_key": "x"
    }
  ]
}