post https://withpaper.com/api/2022-08-12/checkout-sdk-intent
This API generates a sdkClientSecret to use with π§© Checkout Elements.
Most fields are optional so you can get started quickly and customize as your needs change!
Next steps: Render the SDK component in your app
import { CheckoutWithCard } from "@paperxyz/react-client-sdk"; <CheckoutWithCard sdkClientSecret='eyJh...' onPaymentSuccess={...} />