Skip to content

HubSpot: Payment links schemas

26 HubSpot schemas with complete fields and constraints.

← Payment links operations · All schemas

Create a payment link — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
acceptedPaymentMethodsarrayRequired within parentAn array of accepted payment methods for the payment link. Valid values include 'CREDIT_OR_DEBIT_CARD', 'ACH', 'SEPA', 'BACS', and 'PADS'.
acceptedPaymentMethods[]stringEach itemOne of: CREDIT_OR_DEBIT_CARD, ACH, SEPA, BACS, PADS, AFFIRM, KLARNA
additionalFormFieldsarrayRequired within parentAn array of PaymentLinkFormField objects representing additional form fields to be included in the payment link.
additionalFormFields[]ModelEach itemExpand Create a payment link — request body — body additional Form Fields item
automatedSalesTaxEnabledbooleanOptionalA boolean indicating whether automated sales tax is enabled.
businessUnitIdstringOptionalA string representing the business unit ID associated with the payment link.
collectFullBillingAddressbooleanOptionalA boolean indicating whether to collect the full billing address during checkout.
collectShippingAddressbooleanOptionalA boolean indicating whether the shipping address should be collected during checkout.
createContractOnPurchasebooleanOptionalA boolean indicating whether to create a contract upon purchase.
currencyCodestringRequired within parentThe currency code for the payment, represented as a string.
dealConfigurationsModelOptionalExpand Create a payment link — response body — deal Configurations
descriptionHtmlstringOptionalA string containing the HTML description of the payment link.
discountModelOptionalExpand Create a payment link — request body — body discount
discountCodeEnabledbooleanOptionalA boolean indicating whether discount codes are enabled for the payment link.
discountObjectIdstringOptionalA string representing the object ID of a discount associated with the payment link.
domainIdstringOptionalThe domain ID associated with the payment link, represented as a string.
enableDefaultCheckoutFeesbooleanRequired within parentA boolean indicating whether default checkout fees are enabled.
expirationSettingsModelOptionalExpand Create a payment link — request body — body expiration Settings
feeObjectIdsarrayRequired within parentAn array of strings representing the IDs of fee objects associated with the payment link.
feeObjectIds[]stringEach item
feesarrayRequired within parentAn array of FeeRequest objects, representing the fees to be applied to the payment link.
fees[]ModelEach itemExpand Create a payment link — request body — body fees item
includeEmailInSuccessRedirectbooleanRequired within parentA boolean indicating whether to include the email in the success redirect URL.
isOneTimeUseEnabledbooleanRequired within parentA boolean indicating whether the payment link is enabled for one-time use.
lineItemObjectIdsarrayRequired within parentAn array of line item object IDs associated with the payment link, each represented as a string.
lineItemObjectIds[]stringEach item
lineItemsarrayRequired within parentAn array of line items, which can be custom, from a product, or cloned, as defined by their respective schemas.
lineItems[]JSONEach item
lineItems[] (oneOf 1)ModelAlternativeExpand Create a payment link — request body — body / lineItems / item / mode: CUSTOM
lineItems[] (oneOf 2)ModelAlternativeExpand Create a payment link — request body — body / lineItems / item / mode: FROM PRODUCT
lineItems[] (oneOf 3)ModelAlternativeExpand Create a payment link — request body — body / lineItems / item / mode: CLONE
paymentLinkNamestringRequired within parentThe name of the payment link. It is a string value.
statestringRequired within parentThe state of the payment link, represented as a string. Valid values are 'ON' and 'OFF'.
One of: OFF, ON
storePaymentMethodAtCheckoutbooleanOptionalA boolean indicating whether to store the payment method at checkout.
successUrlstringOptionalA string that defines the URL to redirect to upon successful payment.
taxObjectIdsarrayRequired within parentAn array of string IDs representing tax objects associated with the payment link.
taxObjectIds[]stringEach item
taxesarrayRequired within parentAn array of TaxRequest objects, each representing a tax associated with the payment link.
taxes[]ModelEach itemExpand Create a payment link — request body — body taxes item

Referenced models: Create a payment link — response body — deal Configurations, Create a payment link — request body — body discount, Create a payment link — request body — body expiration Settings, Create a payment link — request body — body fees item, Create a payment link — request body — body / lineItems / item / mode: CLONE, Create a payment link — request body — body / lineItems / item / mode: CUSTOM, Create a payment link — request body — body / lineItems / item / mode: FROM PRODUCT, Create a payment link — request body — body additional Form Fields item, Create a payment link — request body — body taxes item

Create a payment link — request body — body / lineItems / item / mode: CLONE

FieldTypePresenceDescription and constraints
$objectRoot
allowBuyerSelectedQuantityobjectRequired within parentAn object indicating whether the buyer can select the quantity of the line item.
billingCycleAnchorDateobjectRequired within parentAn object representing the anchor date for the billing cycle of the line item.
billingStartDelayDaysobjectRequired within parentAn object representing the number of days to delay the start of billing for the line item.
billingStartDelayMonthsobjectRequired within parentAn object representing the number of months to delay the start of billing for the line item.
buyerSelectedQuantityMaxobjectRequired within parentAn object representing the maximum quantity the buyer can select for the line item.
buyerSelectedQuantityMinobjectRequired within parentAn object representing the minimum quantity the buyer can select for the line item.
descriptionobjectRequired within parentAn object representing the description of the line item.
discountobjectRequired within parentAn object representing the discount applied to the line item.
discountPercentageobjectRequired within parentAn object representing the discount percentage applied to the line item.
externalIdobjectRequired within parentAn object representing an external identifier for the line item.
imagesobjectRequired within parentAn object representing the images associated with the line item.
isEditablePriceobjectRequired within parentAn object indicating whether the price of the line item is editable.
isOptionalobjectRequired within parentAn object indicating whether the line item is optional.
lineItemCurrencyCodeobjectRequired within parentAn object representing the currency code for the line item.
modestringRequired within parentA string indicating the mode of the line item creation, which is 'CLONE' for this component.
Default: CLONE
One of: CLONE
nameobjectRequired within parentAn object representing the name of the line item.
positionOnQuoteobjectRequired within parentAn object representing the position of the line item on the quote.
priceBookIdobjectRequired within parentAn object representing the price book ID associated with the line item.
pricingobjectRequired within parentAn object representing the pricing details of the line item.
productTypeobjectRequired within parentAn object representing the type of product for the line item.
quantityobjectRequired within parentAn object representing the quantity of the line item.
recurringBillingEndDateobjectRequired within parentAn object representing the end date for recurring billing of the line item.
recurringBillingFrequencyobjectRequired within parentAn object representing the frequency of recurring billing for the line item.
recurringBillingPeriodobjectRequired within parentAn object representing the billing period for recurring billing of the line item.
recurringBillingStartDateobjectRequired within parentAn object representing the start date for recurring billing of the line item.
richTextDescriptionobjectRequired within parentAn object representing the rich text description of the line item.
skuobjectRequired within parentAn object representing the stock keeping unit (SKU) of the line item.
sourceLineItemIdstringRequired within parentA string representing the ID of the source line item being cloned.
taxCategoryobjectRequired within parentAn object representing the tax category of the line item.
taxRateGroupIdobjectRequired within parentAn object representing the tax rate group ID for the line item.
variantIdobjectRequired within parentAn object representing the variant ID of the line item.

Create a payment link — request body — body / lineItems / item / mode: CUSTOM

FieldTypePresenceDescription and constraints
$objectRoot
allowBuyerSelectedQuantitybooleanOptionalA boolean specifying if the buyer can select the quantity of the line item.
billingCycleAnchorDatestringOptionalA string in date format representing the anchor date for the billing cycle.
Format: date
billingStartDelayDaysintegerOptionalAn integer indicating the number of days to delay the start of billing.
Format: int32
billingStartDelayMonthsintegerOptionalAn integer indicating the number of months to delay the start of billing.
Format: int32
buyerSelectedQuantityMaxnumberOptionalA number indicating the maximum quantity the buyer can select.
buyerSelectedQuantityMinnumberOptionalA number indicating the minimum quantity the buyer can select.
descriptionstringOptionalA string providing a description of the line item.
discountnumberOptionalA number representing the discount applied to the line item.
discountPercentagenumberOptionalA number indicating the discount percentage applied to the line item.
externalIdstringOptionalA string representing an external identifier for the line item.
imagesstringOptionalA string containing URLs or identifiers for images associated with the line item.
isEditablePricebooleanOptionalA boolean indicating whether the price of the line item is editable.
isOptionalbooleanOptionalA boolean indicating whether the line item is optional.
lineItemCurrencyCodestringOptionalA string representing the currency code for the line item.
modestringRequired within parentA string that indicates the mode of the line item, which is set to 'CUSTOM'.
Default: CUSTOM
One of: CUSTOM
namestringRequired within parentA string representing the name of the line item.
positionOnQuoteintegerOptionalAn integer indicating the position of the line item on a quote.
Format: int32
priceBookIdstringOptionalA string that identifies the price book associated with the line item.
pricingModelRequired within parentExpand Create a payment link — request body — body / lineItems / item / mode: CUSTOM pricing
productIdstringOptionalA string that identifies the product associated with the line item.
productTypestringOptionalA string indicating the type of product for the line item.
quantitynumberRequired within parentA number indicating the quantity of the line item.
recurringBillingEndDatestringOptionalA string in date format indicating the end date of recurring billing.
Format: date
recurringBillingFrequencystringOptionalA string specifying the frequency of recurring billing. Valid values include 'ANNUALLY', 'BIWEEKLY', 'MONTHLY', 'PER_FIVE_YEARS', 'PER_FOUR_YEARS', 'PER_SIX_MONTHS', 'PER_THREE_YEARS', 'PER_TWO_YEARS', 'QUARTERLY', and 'WEEKLY'.
One of: ANNUALLY, BIWEEKLY, MONTHLY, PER_FIVE_YEARS, PER_FOUR_YEARS, PER_SIX_MONTHS, PER_THREE_YEARS, PER_TWO_YEARS, QUARTERLY, WEEKLY
recurringBillingPeriodstringOptionalA string representing the period of recurring billing.
recurringBillingStartDatestringOptionalA string in date format indicating the start date of recurring billing.
Format: date
richTextDescriptionstringOptionalA string containing a rich text description of the line item.
skustringOptionalA string representing the stock keeping unit (SKU) of the line item.
taxCategorystringOptionalA string representing the tax category of the line item.
taxRateGroupIdstringOptionalThe tax rate group ID associated with the line item as a string.
variantIdstringOptionalA string representing the variant identifier of the product.

Referenced models: Create a payment link — request body — body / lineItems / item / mode: CUSTOM pricing

Create a payment link — request body — body / lineItems / item / mode: CUSTOM pricing

FieldTypePresenceDescription and constraints
$objectRoot
pricesarrayRequired within parentAn array of PriceUpdateEntry objects, each specifying the price details such as currency code and price amount for different quantities.
prices[]ModelEach itemExpand Create a payment link — request body — body / lineItems / item / mode: CUSTOM pricing prices item
pricingModelstringRequired within parentThe pricing model applied to the line item. Valid values include 'FLAT', 'GRADUATED', 'STAIRSTEP', and 'VOLUME'.
One of: FLAT, GRADUATED, STAIRSTEP, VOLUME

Referenced models: Create a payment link — request body — body / lineItems / item / mode: CUSTOM pricing prices item

Create a payment link — request body — body / lineItems / item / mode: CUSTOM pricing prices item

FieldTypePresenceDescription and constraints
$objectRoot
currencyCodestringRequired within parentThe currency code in which the price is specified, represented as a string.
maxQuantityintegerOptionalThe maximum quantity for which this price is applicable, represented as a string.
Format: int32
priceobjectRequired within parentAn object representing the price details. The specific structure of this object is not detailed in the specification.

Create a payment link — request body — body / lineItems / item / mode: FROM PRODUCT

FieldTypePresenceDescription and constraints
$objectRoot
allowBuyerSelectedQuantityobjectRequired within parentAn object indicating whether the buyer can select the quantity of the product.
billingCycleAnchorDateobjectRequired within parentAn object representing the anchor date for the billing cycle.
billingStartDelayDaysobjectRequired within parentAn object representing the number of days to delay the start of billing.
billingStartDelayMonthsobjectRequired within parentAn object representing the number of months to delay the start of billing.
buyerSelectedQuantityMaxobjectRequired within parentAn object representing the maximum quantity the buyer can select.
buyerSelectedQuantityMinobjectRequired within parentAn object representing the minimum quantity the buyer can select.
descriptionobjectRequired within parentAn object representing the description of the product associated with the line item.
discountobjectRequired within parentAn object representing any discount applied to the line item.
discountPercentageobjectRequired within parentAn object representing the percentage discount applied to the line item.
externalIdobjectRequired within parentAn object representing an external identifier for the line item.
imagesobjectRequired within parentAn object representing images associated with the product.
isEditablePriceobjectRequired within parentAn object indicating whether the price of the line item is editable.
isOptionalobjectRequired within parentAn object indicating whether the line item is optional.
lineItemCurrencyCodeobjectRequired within parentAn object representing the currency code for the line item.
modestringRequired within parentA string indicating the mode of the line item creation. The default and only valid value is 'FROM_PRODUCT'.
Default: FROM_PRODUCT
One of: FROM_PRODUCT
nameobjectRequired within parentAn object representing the name of the product associated with the line item.
positionOnQuoteobjectRequired within parentAn object representing the position of the line item on a quote.
priceBookIdobjectRequired within parentAn object representing the ID of the price book associated with the product.
pricingobjectRequired within parentAn object representing the pricing details of the line item.
productIdstringRequired within parentA string representing the unique identifier of the product.
productTypeobjectRequired within parentAn object representing the type of product.
quantityobjectRequired within parentAn object representing the quantity of the product to be included in the line item.
recurringBillingEndDateobjectRequired within parentAn object representing the end date of the recurring billing cycle.
recurringBillingFrequencyobjectRequired within parentAn object representing the frequency of recurring billing for the line item.
recurringBillingPeriodobjectRequired within parentAn object representing the period of the recurring billing cycle.
recurringBillingStartDateobjectRequired within parentAn object representing the start date of the recurring billing cycle.
richTextDescriptionobjectRequired within parentAn object representing a rich text description of the product associated with the line item.
skuobjectRequired within parentAn object representing the stock keeping unit (SKU) of the product.
taxCategoryobjectRequired within parentAn object representing the tax category of the product.
taxRateGroupIdobjectRequired within parentAn object representing the tax rate group ID for the product.
variantIdobjectRequired within parentAn object representing the variant ID of the product.

Create a payment link — request body — body additional Form Fields item

FieldTypePresenceDescription and constraints
$objectRoot
descriptionstringOptionalA description of the form field, providing additional context or instructions, represented as a string.
isRequiredbooleanRequired within parentA boolean indicating whether this form field is required to be filled out.
labelstringRequired within parentThe label for the form field, which is displayed to users, represented as a string.
objectTypestringRequired within parentThe type of object this form field is associated with, represented as a string. Valid values include 'CONTACT' and 'COMPANY'.
One of: COMPANY, CONTACT
optionsarrayRequired within parentAn array of options available for this form field, each represented as a FormFieldOption object.
options[]ModelEach itemExpand Create a payment link — response body — additional Form Fields item options item
propertyNamestringRequired within parentThe name of the property associated with this form field, represented as a string.

Referenced models: Create a payment link — response body — additional Form Fields item options item

Create a payment link — request body — body discount

FieldTypePresenceDescription and constraints
$objectRoot
labelstringRequired within parentA descriptive label for the discount. This is a string.
valuenumberRequired within parentThe numerical value of the discount to be applied. This is a number.
valueTypestringRequired within parentThe type of discount value, which can either be 'FIXED' or 'PERCENT'.
One of: FIXED, PERCENT

Create a payment link — request body — body expiration Settings

FieldTypePresenceDescription and constraints
$objectRoot
expirationDatestringOptionalThe date and time when the payment link will expire, in ISO 8601 format.
Format: date-time
maxPurchasesintegerOptionalThe maximum number of purchases allowed for this payment link. It is an integer value.
Format: int32

Create a payment link — request body — body fees item

FieldTypePresenceDescription and constraints
$objectRoot
labelstringRequired within parentA descriptive label for the fee, represented as a string.
valuenumberRequired within parentThe numerical value of the fee. This is a number representing either a fixed amount or a percentage, depending on the valueType.
valueTypestringRequired within parentThe type of the fee value, indicating whether it is a fixed amount or a percentage. Valid values include 'FIXED' and 'PERCENT'.
One of: FIXED, PERCENT

Create a payment link — request body — body taxes item

FieldTypePresenceDescription and constraints
$objectRoot
labelstringRequired within parentA string that provides a label or description for the tax, used for identification or display purposes.
valuenumberRequired within parentThe numeric value of the tax. It represents the amount or percentage, depending on the valueType.
valueTypestringRequired within parentA string indicating the type of tax value. Valid values are 'FIXED' for a fixed amount and 'PERCENT' for a percentage-based tax.
One of: FIXED, PERCENT

Create a payment link — response body

FieldTypePresenceDescription and constraints
$objectRoot
acceptedPaymentMethodsarrayRequired within parentAn array of accepted payment methods for the payment link. Valid values include 'CREDIT_OR_DEBIT_CARD', 'ACH', 'SEPA', 'BACS', and 'PADS'.
acceptedPaymentMethods[]stringEach itemKnown values: CREDIT_OR_DEBIT_CARD, ACH, SEPA, BACS, PADS, AFFIRM, KLARNA
additionalFormFieldsarrayRequired within parentAn array of additional form fields included in the payment link.
additionalFormFields[]ModelEach itemExpand Create a payment link — response body — additional Form Fields item
archivedbooleanRequired within parentA boolean indicating whether the payment link is archived.
archivedAtstringOptionalThe date and time when the payment link was archived, in ISO 8601 format.
Format: date-time
automatedSalesTaxEnabledbooleanRequired within parentA boolean indicating whether automated sales tax is enabled for the payment link.
businessUnitIdstringOptionalThe business unit ID associated with the payment link, represented as a string.
checkoutFeeIdsarrayRequired within parentAn array of checkout fee IDs associated with the payment link.
checkoutFeeIds[]stringEach item
collectFullBillingAddressbooleanRequired within parentA boolean indicating whether to collect the full billing address during checkout.
collectShippingAddressbooleanRequired within parentA boolean indicating whether to collect the shipping address during checkout.
completedPurchaseCountJSONRequired within parent
completedPurchaseCount (anyOf 1)integerAlternativeThe number of completed purchases made through this payment link.
Format: int32
completedPurchaseCount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
createContractOnPurchasebooleanRequired within parentA boolean indicating whether a contract should be created upon purchase.
createdAtstringOptionalThe date and time when the payment link was created, in ISO 8601 format.
Format: date-time
currencyCodestringRequired within parentThe currency code for the payment link, represented as a string.
dealConfigurationsModelOptionalExpand Create a payment link — response body — deal Configurations
descriptionHtmlstringOptionalThe HTML description of the payment link, represented as a string.
discountCodeEnabledbooleanRequired within parentA boolean indicating whether discount codes are enabled for the payment link.
discountsarrayRequired within parentAn array of discount objects associated with the payment link.
discounts[]ModelEach itemExpand Create a payment link — response body — discounts item
domainIdstringOptionalThe domain ID associated with the payment link, represented as a string.
expirationSettingsModelOptionalExpand Create a payment link — response body — expiration Settings
feesarrayRequired within parentAn array of fee objects associated with the payment link.
fees[]ModelEach itemExpand Create a payment link — response body — fees item
formGuidstringRequired within parentThe form GUID associated with the payment link, represented as a string.
idstringRequired within parentThe unique identifier for the payment link, represented as a string.
includeEmailInSuccessRedirectbooleanRequired within parentA boolean indicating whether to include the email in the success redirect URL.
isOneTimeUseEnabledbooleanRequired within parentA boolean indicating whether the payment link is enabled for one-time use.
lineItemsarrayRequired within parentAn array of line items associated with the payment link.
lineItems[]ModelEach itemExpand Create a payment link — response body — line Items item
paymentLinkNamestringRequired within parentThe name of the payment link, represented as a string.
paymentLinkUrlstringRequired within parentThe URL of the payment link, represented as a string.
statestringRequired within parentThe current state of the payment link, represented as a string. Valid values include 'ON' and 'OFF'.
Known values: OFF, ON
storePaymentMethodAtCheckoutbooleanRequired within parentA boolean indicating whether to store the payment method at checkout.
successUrlstringOptionalThe URL to redirect to upon successful payment, represented as a string.
taxesarrayRequired within parentAn array of tax objects associated with the payment link.
taxes[]ModelEach itemExpand Create a payment link — response body — taxes item
updatedAtstringOptionalThe date and time when the payment link was last updated, in ISO 8601 format.
Format: date-time

Referenced models: Create a payment link — response body — deal Configurations, Create a payment link — response body — discounts item, Create a payment link — response body — expiration Settings, Create a payment link — response body — fees item, Create a payment link — response body — line Items item, Create a payment link — response body — additional Form Fields item, Create a payment link — response body — taxes item

Create a payment link — response body — additional Form Fields item

FieldTypePresenceDescription and constraints
$objectRoot
descriptionstringOptionalA description of the form field, providing additional context or instructions, represented as a string.
isRequiredbooleanRequired within parentA boolean indicating whether this form field is required to be filled out.
labelstringRequired within parentThe label for the form field, which is displayed to users, represented as a string.
objectTypestringRequired within parentThe type of object this form field is associated with, represented as a string. Valid values include 'CONTACT' and 'COMPANY'.
Known values: COMPANY, CONTACT
optionsarrayRequired within parentAn array of options available for this form field, each represented as a FormFieldOption object.
options[]ModelEach itemExpand Create a payment link — response body — additional Form Fields item options item
propertyNamestringRequired within parentThe name of the property associated with this form field, represented as a string.

Referenced models: Create a payment link — response body — additional Form Fields item options item

Create a payment link — response body — additional Form Fields item options item

FieldTypePresenceDescription and constraints
$objectRoot
descriptionstringOptionalA string providing additional information or context about the form field option.
labelstringRequired within parentA string representing the display name of the form field option.
valuestringRequired within parentA string representing the underlying value associated with the form field option.

Create a payment link — response body — deal Configurations

FieldTypePresenceDescription and constraints
$objectRoot
createNewDealOnPurchasebooleanRequired within parentA boolean indicating whether a new deal should be created in HubSpot upon a purchase. Required field.
pipelineStageIdstringOptionalThe identifier for the pipeline stage where the new deal will be placed. This is a string value.

Create a payment link — response body — discounts item

FieldTypePresenceDescription and constraints
$objectRoot
archivedbooleanOptionalIndicates whether this discount has been archived. A boolean value.
archivedAtstringOptionalThe date and time when this discount was archived, in ISO 8601 format.
Format: date-time
createdAtstringOptionalThe date and time when this discount was created, in ISO 8601 format.
Format: date-time
idstringRequired within parentThe unique identifier for this discount.
labelstringOptionalA descriptive label for the discount.
updatedAtstringOptionalThe date and time when this discount was last updated, in ISO 8601 format.
Format: date-time
valueJSONOptional
value (anyOf 1)numberAlternativeThe numerical value of the discount.
value (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
valueTypestringOptionalThe type of discount value, which can be either 'FIXED' or 'PERCENT'.
Known values: FIXED, PERCENT

Create a payment link — response body — expiration Settings

FieldTypePresenceDescription and constraints
$objectRoot
expirationDatestringOptionalThe date and time when the payment link will expire, in ISO 8601 format.
Format: date-time
maxPurchasesJSONOptional
maxPurchases (anyOf 1)integerAlternativeThe maximum number of purchases allowed for this payment link. It is an integer value.
Format: int32
maxPurchases (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Create a payment link — response body — fees item

FieldTypePresenceDescription and constraints
$objectRoot
archivedbooleanOptionalIndicates whether this fee has been archived. A boolean value.
archivedAtstringOptionalThe date and time when this fee was archived, in ISO 8601 format.
Format: date-time
createdAtstringOptionalThe date and time when this fee was created, in ISO 8601 format.
Format: date-time
idstringRequired within parentThe unique identifier for this fee.
labelstringOptionalA descriptive label for the fee.
updatedAtstringOptionalThe date and time when this fee was last updated, in ISO 8601 format.
Format: date-time
valueJSONOptional
value (anyOf 1)numberAlternativeThe monetary value of the fee. A number representing the fee amount.
value (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
valueTypestringOptionalThe type of value for the fee, which can be either 'FIXED' or 'PERCENT'.
Known values: FIXED, PERCENT

Create a payment link — response body — line Items item

FieldTypePresenceDescription and constraints
$objectRoot
acvJSONOptional
acv (anyOf 1)numberAlternativeThe annual contract value for the line item.
acv (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
allowBuyerSelectedQuantitybooleanOptionalIndicates whether the buyer can select the quantity of the line item.
amountJSONOptional
amount (anyOf 1)numberAlternativeThe total amount for the line item, calculated as price multiplied by quantity.
amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
archivedbooleanOptionalIndicates whether the line item is archived.
archivedAtstringOptionalThe date and time when the line item was archived, in ISO 8601 format.
Format: date-time
arrJSONOptional
arr (anyOf 1)numberAlternativeThe annual recurring revenue for the line item.
arr (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
billingCycleAnchorDatestringOptionalThe anchor date for the billing cycle, in ISO 8601 date format.
Format: date
billingPeriodEndDatestringOptionalThe end date of the billing period, in ISO 8601 date format.
Format: date
billingPeriodStartDatestringOptionalThe start date of the billing period, in ISO 8601 date format.
Format: date
billingStartDelayDaysJSONOptional
billingStartDelayDays (anyOf 1)integerAlternativeThe number of days to delay the start of billing.
Format: int32
billingStartDelayDays (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
billingStartDelayMonthsJSONOptional
billingStartDelayMonths (anyOf 1)integerAlternativeThe number of months to delay the start of billing.
Format: int32
billingStartDelayMonths (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
billingStartDelayTypestringOptionalThe type of delay for the start of billing. Valid values include 'HS_BILLING_START_DELAY_DAYS', 'HS_BILLING_START_DELAY_MONTHS', and 'HS_RECURRING_BILLING_START_DATE'.
Known values: HS_BILLING_START_DELAY_DAYS, HS_BILLING_START_DELAY_MONTHS, HS_RECURRING_BILLING_START_DATE
buyerSelectedQuantityMaxJSONOptional
buyerSelectedQuantityMax (anyOf 1)numberAlternativeThe maximum quantity the buyer can select for the line item.
buyerSelectedQuantityMax (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
buyerSelectedQuantityMinJSONOptional
buyerSelectedQuantityMin (anyOf 1)numberAlternativeThe minimum quantity the buyer can select for the line item.
buyerSelectedQuantityMin (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
createdAtstringOptionalThe date and time when the line item was created, in ISO 8601 format.
Format: date-time
descriptionstringOptionalA text description of the line item.
discountJSONOptional
discount (anyOf 1)numberAlternativeThe discount applied to the line item.
discount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
discountPercentageJSONOptional
discountPercentage (anyOf 1)numberAlternativeThe percentage discount applied to the line item.
discountPercentage (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
effectiveUnitPriceJSONOptional
effectiveUnitPrice (anyOf 1)numberAlternativeThe effective price per unit after discounts.
effectiveUnitPrice (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
externalIdstringOptionalAn external identifier for the line item, used for integration purposes.
idstringRequired within parentThe unique identifier for the line item.
imagesstringOptionalA URL or identifier for images associated with the line item.
isEditablePricebooleanOptionalIndicates whether the price of the line item is editable.
isOptionalbooleanOptionalIndicates whether the line item is optional.
isParentbooleanOptionalIndicates whether this line item is a parent line item.
lineItemCurrencyCodestringOptionalThe currency code for the line item, following ISO 4217 format.
mrrJSONOptional
mrr (anyOf 1)numberAlternativeThe monthly recurring revenue for the line item.
mrr (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
namestringRequired within parentThe name of the line item.
parentLineItemIdstringOptionalThe unique identifier for the parent line item.
positionOnQuoteJSONOptional
positionOnQuote (anyOf 1)integerAlternativeThe position of the line item on a quote, represented as an integer.
Format: int32
positionOnQuote (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
postTaxAmountJSONOptional
postTaxAmount (anyOf 1)numberAlternativeThe amount after taxes are applied.
postTaxAmount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
preDiscountAmountJSONOptional
preDiscountAmount (anyOf 1)numberAlternativeThe amount before any discounts are applied.
preDiscountAmount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
priceJSONOptional
price (anyOf 1)numberAlternativeThe price of a single unit of the line item.
price (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
priceBookIdstringOptionalThe identifier for the price book associated with the line item.
pricingModelRequired within parentExpand Create a payment link — response body — line Items item pricing
pricingModelstringOptionalThe pricing model used for the line item. Valid values include 'FLAT', 'GRADUATED', 'STAIRSTEP', and 'VOLUME'.
Known values: FLAT, GRADUATED, STAIRSTEP, VOLUME
productIdstringOptionalThe identifier for the product associated with the line item.
productTypestringOptionalThe type of product for the line item.
quantityJSONRequired within parent
quantity (anyOf 1)numberAlternativeThe quantity of the line item, represented as a number.
quantity (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
rampKeystringOptionalA key used to identify the ramp schedule for the line item.
recurringBillingDayOfMonthJSONOptional
recurringBillingDayOfMonth (anyOf 1)integerAlternativeThe day of the month when recurring billing occurs.
Format: int32
recurringBillingDayOfMonth (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
recurringBillingEndDatestringOptionalThe end date for recurring billing, in ISO 8601 date format.
Format: date
recurringBillingFrequencystringOptionalThe frequency of recurring billing for the line item. Valid values include 'ANNUALLY', 'BIWEEKLY', 'MONTHLY', 'PER_FIVE_YEARS', 'PER_FOUR_YEARS', 'PER_SIX_MONTHS', 'PER_THREE_YEARS', 'PER_TWO_YEARS', 'QUARTERLY', and 'WEEKLY'.
Known values: ANNUALLY, BIWEEKLY, MONTHLY, PER_FIVE_YEARS, PER_FOUR_YEARS, PER_SIX_MONTHS, PER_THREE_YEARS, PER_TWO_YEARS, QUARTERLY, WEEKLY
recurringBillingNumberOfPaymentsJSONOptional
recurringBillingNumberOfPayments (anyOf 1)integerAlternativeThe number of payments for the recurring billing cycle.
Format: int32
recurringBillingNumberOfPayments (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
recurringBillingPeriodstringOptionalThe period for recurring billing.
recurringBillingStartDatestringOptionalThe start date for recurring billing, in ISO 8601 date format.
Format: date
recurringBillingTermsstringOptionalThe terms of recurring billing. Valid values include 'AUTOMATICALLY_RENEW' and 'FIXED'.
Known values: AUTOMATICALLY_RENEW, FIXED
richTextDescriptionstringOptionalA rich text formatted description of the line item.
skustringOptionalThe stock keeping unit (SKU) identifier for the line item.
taxJSONOptional
tax (anyOf 1)numberAlternativeThe tax amount applied to the line item.
tax (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
taxAmountJSONOptional
taxAmount (anyOf 1)numberAlternativeThe total tax amount for this line item.
taxAmount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
taxCategorystringOptionalThe tax category applicable to this line item.
taxRateGroupIdstringOptionalThe unique identifier for the tax rate group.
tcvJSONOptional
tcv (anyOf 1)numberAlternativeThe total contract value for the line item.
tcv (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
termInMonthsJSONOptional
termInMonths (anyOf 1)integerAlternativeThe term length for the line item in months.
Format: int32
termInMonths (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
tierAmountJSONOptional
tierAmount (anyOf 1)numberAlternativeThe tiered amount applicable to the line item.
tierAmount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
totalDiscountJSONOptional
totalDiscount (anyOf 1)numberAlternativeThe total discount amount applied to the line item.
totalDiscount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
updatedAtstringOptionalThe date and time when the line item was last updated, in ISO 8601 format.
Format: date-time
variantIdstringOptionalThe identifier for the product variant associated with the line item.

Referenced models: Create a payment link — response body — line Items item pricing

Create a payment link — response body — line Items item pricing

FieldTypePresenceDescription and constraints
$objectRoot
pricesarrayRequired within parentAn array of price entries, each detailing a specific price point within the pricing model.
prices[]ModelEach itemExpand Create a payment link — response body — line Items item pricing prices item
pricingModelstringRequired within parentThe type of pricing model applied. Valid values include 'FLAT', 'GRADUATED', 'STAIRSTEP', and 'VOLUME'.
Known values: FLAT, GRADUATED, STAIRSTEP, VOLUME

Referenced models: Create a payment link — response body — line Items item pricing prices item

Create a payment link — response body — line Items item pricing prices item

FieldTypePresenceDescription and constraints
$objectRoot
currencyCodestringRequired within parentThe currency code for the price, represented as a string.
maxQuantityJSONOptional
maxQuantity (anyOf 1)integerAlternativeThe maximum quantity for which this price is applicable, represented as a string.
Format: int32
maxQuantity (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
priceJSONRequired within parent
price (anyOf 1)numberAlternativeThe price of the item, represented as a number.
price (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Create a payment link — response body — taxes item

FieldTypePresenceDescription and constraints
$objectRoot
archivedbooleanOptionalIndicates whether this tax entry is archived. A boolean value.
archivedAtstringOptionalThe date and time when this tax entry was archived, in ISO 8601 format.
Format: date-time
createdAtstringOptionalThe date and time when this tax entry was created, in ISO 8601 format.
Format: date-time
idstringRequired within parentThe unique identifier for this tax entry.
labelstringOptionalA descriptive label for this tax entry.
updatedAtstringOptionalThe date and time when this tax entry was last updated, in ISO 8601 format.
Format: date-time
valueJSONOptional
value (anyOf 1)numberAlternativeThe numerical value of the tax.
value (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
valueTypestringOptionalThe type of value for the tax, which can be either 'FIXED' or 'PERCENT'.
Known values: FIXED, PERCENT

Retrieve all payment links — response body

FieldTypePresenceDescription and constraints
$objectRoot
pagingModelOptionalExpand Retrieve all payment links — response body — paging
resultsarrayRequired within parentAn array of PaymentLinkResponse objects, each representing a payment link with its associated details.
results[]ModelEach itemExpand Create a payment link — response body

Referenced models: Create a payment link — response body, Retrieve all payment links — response body — paging

Retrieve all payment links — response body — paging

FieldTypePresenceDescription and constraints
$objectRootPaging information for forward-only pagination. Contains the next page reference when more results are available; omitted or empty on the last page.
nextModelOptionalExpand Retrieve all payment links — response body — paging next

Referenced models: Retrieve all payment links — response body — paging next

Retrieve all payment links — response body — paging next

FieldTypePresenceDescription and constraints
$objectRootSpecifies the paging information needed to retrieve the next set of results in a paginated API response
afterstringRequired within parentA string token that indicates the position after the last item in the current page, used to fetch the next page of results.
linkstringOptionalA string URL that provides a direct link to the next page of results.

Update a payment link — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
acceptedPaymentMethodsarrayOptionalAn array of strings indicating the accepted payment methods. Valid values include 'CREDIT_OR_DEBIT_CARD', 'ACH', 'SEPA', 'BACS', and 'PADS'.
acceptedPaymentMethods[]stringEach itemOne of: CREDIT_OR_DEBIT_CARD, ACH, SEPA, BACS, PADS, AFFIRM, KLARNA
additionalFormFieldsarrayOptionalAn array of PaymentLinkFormField objects representing additional form fields for the payment link.
additionalFormFields[]ModelEach itemExpand Create a payment link — request body — body additional Form Fields item
automatedSalesTaxEnabledbooleanOptionalA boolean indicating whether automated sales tax is enabled.
businessUnitIdobjectRequired within parentAn object representing the business unit ID associated with the payment link.
collectFullBillingAddressbooleanOptionalA boolean indicating whether to collect the full billing address during checkout.
collectShippingAddressbooleanOptionalA boolean indicating whether to collect the shipping address during checkout.
createContractOnPurchasebooleanOptionalA boolean indicating whether a contract should be created upon purchase.
currencyCodestringOptionalThe currency code for the payment link, represented as a string.
dealConfigurationsobjectRequired within parentAn object containing deal configuration settings.
descriptionHtmlobjectRequired within parentAn object containing the HTML description of the payment link.
discountModelOptionalExpand Create a payment link — request body — body discount
discountCodeEnabledbooleanOptionalA boolean indicating whether discount codes are enabled for the payment link.
discountObjectIdobjectRequired within parentAn object representing the discount object ID associated with the payment link.
domainIdobjectRequired within parentAn object representing the domain ID associated with the payment link.
enableDefaultCheckoutFeesbooleanOptionalA boolean indicating whether default checkout fees are enabled.
expirationSettingsobjectRequired within parentAn object representing the expiration settings for the payment link.
feeObjectIdsarrayOptionalAn array of strings representing the IDs of fee objects associated with the payment link.
feeObjectIds[]stringEach item
feesarrayOptionalAn array of FeeRequest objects representing the fees associated with the payment link.
fees[]ModelEach itemExpand Create a payment link — request body — body fees item
includeEmailInSuccessRedirectbooleanOptionalA boolean indicating whether to include the email in the success redirect.
isOneTimeUseEnabledbooleanOptionalA boolean indicating whether the payment link is enabled for one-time use.
lineItemObjectIdsarrayOptionalAn array of strings representing the IDs of line item objects associated with the payment link.
lineItemObjectIds[]stringEach item
lineItemsarrayOptionalAn array of line item objects, which can be of types LineItemCustomCreateRequest, LineItemFromProductCreateRequest, or LineItemCloneCreateRequest.
lineItems[]JSONEach item
lineItems[] (oneOf 1)ModelAlternativeExpand Create a payment link — request body — body / lineItems / item / mode: CUSTOM
lineItems[] (oneOf 2)ModelAlternativeExpand Create a payment link — request body — body / lineItems / item / mode: FROM PRODUCT
lineItems[] (oneOf 3)ModelAlternativeExpand Create a payment link — request body — body / lineItems / item / mode: CLONE
paymentLinkNamestringOptionalThe name of the payment link, represented as a string.
statestringOptionalThe state of the payment link, represented as a string. Valid values are 'ON' and 'OFF'.
One of: OFF, ON
storePaymentMethodAtCheckoutbooleanOptionalA boolean indicating whether the payment method should be stored at checkout.
successUrlobjectRequired within parentAn object representing the success URL where the user is redirected after a successful transaction.
taxObjectIdsarrayOptionalAn array of strings representing the IDs of tax objects associated with the payment link.
taxObjectIds[]stringEach item
taxesarrayOptionalAn array of TaxRequest objects representing the taxes associated with the payment link.
taxes[]ModelEach itemExpand Create a payment link — request body — body taxes item

Referenced models: Create a payment link — request body — body discount, Create a payment link — request body — body fees item, Create a payment link — request body — body / lineItems / item / mode: CLONE, Create a payment link — request body — body / lineItems / item / mode: CUSTOM, Create a payment link — request body — body / lineItems / item / mode: FROM PRODUCT, Create a payment link — request body — body additional Form Fields item, Create a payment link — request body — body taxes item

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.