commercetools icon

commercetools

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

Actions671

Payment → Create Payment

AI-generated

Summary

Create a new Payment object in commercetools with specified key, interface ID, planned amount, payment method info, and transactions.

Inputs

  • Key (required) — Unique identifier for the payment.
  • Interface Id (required) — ID of the external interface for the payment.
  • Amount Planned › Currency Code — Currency code for the planned amount (e.g., USD).
  • Amount Planned › Cent Amount — Amount planned for the payment in cents.
  • Payment Method Info › Payment Interface — Name of the payment interface.
  • Payment Method Info › Method — Method of the payment.
  • Payment Method Info › Name — Localized name of the payment method as JSON, e.g., { "en": "" }.
  • Transactions (required) — List of payment transactions in JSON format.

Output shape

a single JSON object representing the created Payment resource

The output contains the full Payment object as returned by the commercetools API upon successful creation. Errors are reported according to n8n standard error handling.

Links

Discussion