Refresh a storefront payment

Refreshes one booking deposit or order payment from the payment provider's current state, for example when the buyer returns from checkout. Returns the payment `status`, with `bookingStatus` for a deposit or `orderStatus` for an order. The caller must be the signed-in customer who owns the booking or order, or send the payment capability issued with checkout in the `X-Lynkow-Payment-Capability` header. A payment id alone is not enough. An unknown id or a missing or invalid capability returns 403 `PAYMENT_CAPABILITY_REQUIRED`. > **Note:** Available only on sites with e-commerce enabled.

Required access
Send
  • Publishable keyX-Lynkow-Pk
Optional: customer session tokenSite access
POST/payments/{id}/refresh
Base URLhttps://api.lynkow.com/storefront/{siteId}

Path parameters

id
string
required

Unique identifier

Feedback

Was this page helpful?