Create a Stripe Payment Link with dynamic pricing and collect tax-inclusive pricing

domain: stripe.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

In-depth guide

Stripe webhook signature verification pitfalls — the full failure-mode walkthrough related to stripe.com, checked against official docs, with linked verified routes.

Steps

  1. Create a Price object in Stripe with the unit amount in the smallest currency unit and set tax_behavior to 'inclusive' if the displayed price should include tax, or 'exclusive' to add tax on top.
  2. Attach the Price to a Payment Link via the API, setting the quantity and any adjustable_quantity limits if you want customers to change the quantity.
  3. Enable automatic tax on the Payment Link by setting automatic_tax.enabled to true; Stripe Tax will calculate tax based on the buyer's address collected at checkout.
  4. Configure the after_completion field to either show a hosted confirmation page or redirect to a URL with the session ID for order fulfillment.
  5. Retrieve the completed Checkout Session via webhook on checkout.session.completed; the session contains the amount_total, amount_subtotal, and total_details.amount_tax fields.
  6. For B2B buyers, enable the customer tax ID collection field so buyers can enter their VAT or GST number to trigger reverse-charge or exemption rules.

Known gotchas

Related routes

Implement a Stripe Connect platform payout with dynamic descriptor routing and cross-account balance transfer with fee withholding
payment-rails/Stripe · 6 steps · unrated
Create a Stripe customer and attach a payment method via API
stripe.com · 4 steps · 57% success
Apply Stripe Tax to a one-time payment and handle tax-exempt customers via customer tax IDs
stripe.com/docs · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans