Load a proposal checkout context
GET
/p/{token}
const url = 'https://quikstik-core.fly.dev/p/example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://quikstik-core.fly.dev/p/exampleToken-based auth: the emailed token IS the authorization (capability-token design, as
/g/{token}); no session. Paid and expired states still return 200 so the page can
render “already paid” / “This link is no longer valid”. A proposal an operator CANCELLED
is 410 proposal_cancelled (JSON) or the same “This link is no longer valid” page with
status 410. With Accept: text/html the gateway serves the hosted checkout page instead
of JSON.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”token
required
string
Responses
Section titled “Responses”Checkout context (frozen amounts, add-on lines, discount, status).
object
amount_minor
required
integer format: int64
tax_minor
required
integer format: int64
currency
required
string
notify_name
string
notify_email
string
expires_at_ms
required
integer format: int64
status
required
string
add_ons
required
Array<object>
object
display_name
required
string
quantity
required
integer
unit_price_minor
required
integer format: int64
line_minor
required
integer format: int64
discount_minor
required
integer format: int64
discount_reason
string
fulfillment_mode
string
fulfillment_address
string
fulfillment_window
string
return_window
string
Example
{ "fulfillment_mode": "meet"}string
Unknown or expired token.
Proposal_cancelled — an operator withdrew this link.
Backend unavailable.