commercetools icon

commercetools

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

Actions671

Payment → Get Payment by Key

AI-generated

Summary

Retrieve a payment resource from the commercetools platform using its unique payment key.

Inputs

  • Payment Key (required) — The unique key of the payment to retrieve.
  • Expand — Optional query parameter to expand referenced objects in the payment response.

Output shape

a single payment object as JSON

The operation returns the full payment object matching the provided key. If the payment does not exist, an error is thrown unless the workflow is set to continue on failure.

Links

Discussion