Renew Payment Link
Opens a new payment link for an order whose link has run out, so the shopper can pay. The items are checked first: if any are no longer in stock, it returns 422 and the merchant has to complete the order. While the current link is still open, the order comes back with that link unchanged. Identify the order with a shopper-token, the email entered at checkout, or the key from the order email. An order can be renewed 5 times in 15 minutes.
Keys: public key or secret key.
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Headers
Request
The email entered at checkout. Not needed with a shopper-token or a key.
The key from the link in the order email, sent instead of email. When you pass order_url at checkout, the email links there with reference and key in the query string.
Where the shopper goes when they press Back to store after paying, usually your order or thank-you page. Must be https (http only for localhost). With a publishable key it must be on the same site that calls the Store API. When left out, the shopper returns to the workspace’s hosted store.
Response
Always true on success.
Human-readable outcome.

