quoteId. The quote holds the price for 60 seconds, so execute sends no body.
Both routes require an Admin API key (
stytch_admin). See Authentication.How it works
POST /execution/v3/sell/quotesprices your items and returns aquoteId.POST /execution/v3/sell/quotes/{quoteId}/executeplaces the sale at the quoted payout or better.- A quote executes once. After it executes, fails, or expires, create a new quote.
Quote
payout is what you are paid. issues lists what blocks execute or what the quote left out. Field details: Sell.
Execute
orderId is a purchase order, because Pure is buying from you. Fetch it at GET /orders/get-purchase-order/v1?id={orderId}.
Retries
Execute is idempotent by quote id. A repeated execute returns the first response, so retrying never places a second order. A quote places at most one order. Executing it again, even with a newIdempotency-Key, returns that order. Details: Errors and retries.