price_id line items.
Use this page for the model. Use the generated endpoint pages for request fields, required badges, examples, and response schemas.
A typical setup creates catalog records with Create product and Create price, then publishes a reusable link with Create payment link. Buyers enter through the public link and create buyer-scoped checkout sessions from there.
Endpoints
Notes
name,line_items,currency, andamount_totalare required on create.line_itemsusesprice_id; payment links do not accept inlinenameandamountitems.- When updating
line_items, include the newcurrencyandamount_total. collect_configcontrols buyer fields on hosted checkout.custom_fieldsis for merchant-defined checkout fields such as PO number or account ID.

