commercetools icon

commercetools

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

Actions671

Payment → Check if Payment exists by Key

AI-generated

Summary

Check if a Payment exists in commercetools by its unique Payment Key.

Inputs

  • Payment Key (required) — The unique key identifier of the Payment to check.

Output shape

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

Returns { exists: true, statusCode: 200, url } if the Payment exists; returns { exists: false, statusCode: 404, url } if not found. Throws an error for other HTTP errors.

Links

Discussion