Reissue a hosted checkout link
Returns a new link for a hosted checkout that can still be paid and has not expired, and revokes the previous link at once: PENDING, REQUIRES_ACTION (a verification to resume), or DECLINED with a retry left (an issuer decline under the attempt limit). Use it when the link was lost (it is shown only once) or may have leaked; a payment already in progress on the old page (a wallet confirmation, for example) can still complete. The expiry does not change. Not idempotent: every call issues a new link, and an Idempotency-Key header is ignored.
Authorization
basic Basic HTTP authentication
In: header
Path Parameters
Payment id (UUID v7) of the hosted checkout
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/payments/string/checkout-session/link"{ "paymentId": "01928e3e-7b6c-7c8e-9b3a-5b9f8b9b9b9b", "checkoutUrl": "https://checkout.highwirepayments.com/01928e3e-7b6c-7c8e-9b3a-5b9f8b9b9b9b#hw_hc_…", "expiresAt": "2026-09-30T12:00:00.000Z"}{ "statusCode": 400, "message": "Some fields are invalid, please check the errors", "fieldErrors": { "amount": [ "amount must not be less than 1", "amount must be an integer number" ], "cardNumber": [ "cardNumber must be 12-19 digits with no spaces or separators" ] }}{ "statusCode": 401, "error": "Unauthorized", "message": "Invalid credentials"}{ "statusCode": 403, "error": "Forbidden", "message": "Merchant account can only process refunds and voids"}{ "statusCode": 404, "error": "Not Found", "message": "Payment not found: 01928e1c-2a4d-7c8e-8b1a-1234567890ab"}{ "statusCode": 409, "error": "Conflict", "message": "The checkout can no longer be paid (payment CAPTURED); create a new one"}Refund a captured payment POST
Refunds a successfully captured payment. Provide an amount for a partial refund, or omit it to refund the entire remaining refundable balance; cumulative refunds cannot exceed the captured amount.
Void an authorized payment POST
Cancels an in-flight or authorized, uncaptured payment for its full amount. Captured payments cannot be voided and must be refunded instead.