commercetools icon

commercetools

Interact with the commercetools API. Operations are auto-generated from the official Postman collection.

Actions671

Payment → Check if Payment exists by ID

AI-generated

Summary

Check the existence of a Payment in commercetools by its Payment ID using a HEAD request.

Inputs

  • Payment ID (required) — The unique identifier of the Payment to check for existence.

Output shape

a JSON object indicating existence with properties: 'exists' (boolean), 'statusCode' (number), and 'url' (string).

The operation returns an object with 'exists' set to true if the Payment exists (HTTP 200), or false if not found (HTTP 404). Other HTTP errors throw exceptions.

Links

Discussion