Checkout Storybook Print
Create the payment for a printed book.
Called after the customer authorizes in the Apple Pay sheet (or picks a card): re-prices with the now-complete address, verifies the total against what they were shown, records the order, and creates the PaymentIntent.
PRICING INVARIANT — the customer is charged EXACTLY displayed_total, the amount they approved, or nothing at all. The re-quote (with the full street address Apple withholds until after Face ID) must satisfy
displayed_total == round_up_to_99(book_cost * markup)
+ shipping + fulfillment + tax
to the cent, where the left-hand side is the grand total the Apple Pay sheet displayed above Face ID. The markup and the .99 rounding apply to the BOOK only; shipping, fulfillment and tax are passed through at exactly Lulu's cost. There is NO tolerance — any difference means something genuinely moved, so nothing is charged and a PRICE_MOVE_ERROR diagnostic row is written. No path charges a recomputed amount.
NOTE: no entitlement gate here — someone paying for a physical product must never be told to buy a subscription first.
Request
- Base URL: https://api.pixleyai.com (the document declares no server; this is the origin it was published from)
- URL: https://api.pixleyai.com/print-orders/storybook/{audiobook_id}/checkout
- Auth: HTTP bearer
Path parameters
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.