Skip to main content
Execution v3 sells into offers in two calls: create a quote, then execute it by its 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.
Build against sandbox first: https://sandbox.api.collectpure.com with a sandbox API key. Sandbox orders are not real.

How it works

  1. POST /execution/v3/sell/quotes prices your items and returns a quoteId.
  2. POST /execution/v3/sell/quotes/{quoteId}/execute places the sale at the quoted payout or better.
  3. A quote executes once. After it executes, fails, or expires, create a new quote.

Quote

Amounts are in cents. 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 new Idempotency-Key, returns that order. Details: Errors and retries.

Changes from v2

Endpoints