Read the customer data behind a checkout link
GET/api/v1/public_checkout/prefill
Swaps the opaque token from a checkout link for the customer data the landing page sent when it built the link. The checkout calls this itself; a landing page has no reason to.
No API key: the token is the credential, which is why it is long, random and short-lived.
A bad token is not an error. Expired, already dropped or invented, the answer is an empty object with a 200 — the checkout has to open either way, and a prefill that failed must not cost the sale.
Request
Responses
- 200
The stored data, or an empty object when the token means nothing