checkout

Cancel Checkout

Cancel an active checkout link. Sets status to 'cancelled'.

F5 security fix: requires cancel_secret in the request body. The secret is generated at link-creation time and returned to the merchant only — it is never embedded in the public checkout page. This prevents an attacker who merely knows the checkout URL from cancelling the link.

Only active links can be cancelled. Paid/expired/already-cancelled links return 409/410. Returns redirect_url so callers can redirect customers.

post/checkout/{token}/cancel

Request

  • Base URL: https://api.algovoi.co.uk (the document declares no server; this is the origin it was published from)
  • URL: https://api.algovoi.co.uk/checkout/{token}/cancel
  • Auth: none declared

Path parameters

tokenstring required

Request body

cancel_secretstring required

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.