commercetools icon

commercetools

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

Actions671

Payment-method → Get PaymentMethod by ID

AI-generated

Summary

Retrieve a Payment-method in commercetools by its unique Payment-method ID, optionally applying expansion filters.

Inputs

  • Payment-method ID (required) — The unique identifier of the Payment-method to retrieve.
  • Filters — Optional filters for the request, such as the 'expand' parameter to expand references in the response.

Output shape

a single JSON object representing the Payment-method resource matching the given ID

Returns the raw JSON response from the commercetools API. The operation throws an error if the Payment-method ID does not exist or the API request fails.

Links

Discussion