Validations

  • Payment links have a variety of validation constraints to be aware of. Validations will be performed at request time and are derived from both your request parameters as well as any referenced resources within Stripe.
  • An example validation is for sum total price. The sum total for a payment link must be greater than zero, and a validation error will occur if the sum total of all prices and discounts is equal to zero.
Have any questions?
Validations
Currency conflictAll prices must be in the same currency.
Interval conflictAll prices which are not one time charges, must have the same billing interval
Zero quantityAll prices must have a minimum quantity of 1.
Zero totalThe total amount must be greater than zero.
Coupon currency conflictAll fixed amount coupon must be in the same currency as prices.
Payment method interval conflictOnly the "Card" payment method is allowed for recurring prices.
Payment method currency conflictSome currencies are not compatible with certain payment methods. e.g. USD and iDEAL.
Payment method - capture method conflictOnly the "Card" payment method is allowed to be used for payment authorization.
Shipping rate currency conflictAll shipping rates must be in the same currency as selected prices.
Shipping rate interval conflictShipping rates are only supported for one time charges.
Tax behavior conflictAll price and shipping rates must have the same tax behavior when automatic tax collection is enabled.
Tax behavior missingPrices and shipping rates must have a specified tax behavior to be used with automatic taxes
Shipping requiredThe Afterpay / Clearpay payment method requires that you collect shipping information.
Min max totalSome payment method types have total value limits. e.g Afterpay / Clearpay has an allowed total value maximum of A$2,000.
Show docs menu

Validations

  • Payment links have a variety of validation constraints to be aware of. Validations will be performed at request time and are derived from both your request parameters as well as any referenced resources within Stripe.
  • An example validation is for sum total price. The sum total for a payment link must be greater than zero, and a validation error will occur if the sum total of all prices and discounts is equal to zero.
Have any questions?
Validations
Currency conflictAll prices must be in the same currency.
Interval conflictAll prices which are not one time charges, must have the same billing interval
Zero quantityAll prices must have a minimum quantity of 1.
Zero totalThe total amount must be greater than zero.
Coupon currency conflictAll fixed amount coupon must be in the same currency as prices.
Payment method interval conflictOnly the "Card" payment method is allowed for recurring prices.
Payment method currency conflictSome currencies are not compatible with certain payment methods. e.g. USD and iDEAL.
Payment method - capture method conflictOnly the "Card" payment method is allowed to be used for payment authorization.
Shipping rate currency conflictAll shipping rates must be in the same currency as selected prices.
Shipping rate interval conflictShipping rates are only supported for one time charges.
Tax behavior conflictAll price and shipping rates must have the same tax behavior when automatic tax collection is enabled.
Tax behavior missingPrices and shipping rates must have a specified tax behavior to be used with automatic taxes
Shipping requiredThe Afterpay / Clearpay payment method requires that you collect shipping information.
Min max totalSome payment method types have total value limits. e.g Afterpay / Clearpay has an allowed total value maximum of A$2,000.