post https://withpaper.com/api/2022-08-12/checkout-link-intent
This API creates a 🔐 One-Time Checkout Link.
Most fields are optional so you can get started quickly and customize as your needs change!
Tip: Render your checkout link in a drawer
Open your new checkout in a drawer on your page in just one function call:
import { renderPaperCheckoutLink } from "@paperxyz/js-client-sdk" const openCheckout = () => renderPaperCheckoutLink({ checkoutLinkUrl: "https://withpaper.com/checkout-link-intent/eyJh...", }); <button onClick={openCheckout}>Buy with Paper</button>