How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

commercetools Payments API

Track payment transactions and PSP interactions associated with orders.

commercetools Payments API is one of 19 APIs that commercetools publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

Tagged areas include Payments. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an AsyncAPI specification.

This API exposes 4 operations across 2 paths, and defines 10 schemas. It is described by OpenAPI 3.2.0, at version 1.0.

Requests are made against a single base URL, https://api.{region}.commercetools.com.

4 operations 2 paths 10 schemas 2 GET2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0
Base URL
https://api.{region}.commercetools.com
Authentication
HTTP Bearer
Terms of Service
Resource Areas
1

Authentication & Security 1

commercetools Payments API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (bearerAuth). By default, every request must be authenticated.

  • bearerAuth — OAuth 2.0 Bearer token obtained from the commercetools authentication service at https://auth.{region}.commercetools.com/oauth/token using client credentials f…

Paths & Operations 4

Across 2 paths, the API surfaces 4 operations — 2 GET, 2 POST. Each is listed below with its method, path, parameters, and response codes.

Payments 4

Track payment transactions and PSP interactions associated with orders.

GET
/{projectKey}/payments
List payments
listPayments 5 params → 200401
POST
/{projectKey}/payments
Create a payment
createPayment 1 param body → 201400
GET
/{projectKey}/payments/{id}
Get a payment by ID
getPaymentById 3 params → 200404
POST
/{projectKey}/payments/{id}
Update a payment by ID
updatePaymentById 2 params body → 200

Schemas 10

The contract defines 10 schemas that model the data the API accepts and returns. The most detailed are Payment (11 properties), PaymentDraft (6 properties), Transaction (6 properties), PaymentPagedQueryResponse (5 properties). Each schema is shown below with its type and property counts.

PaymentStatus
object
The current status of a payment including PSP-specific state information.
3 properties
Reference
object
A reference to another resource by its typeId and id.
2 properties 2 required
Transaction
object
A single financial transaction within a payment (authorization, charge, refund, etc.).
6 properties 4 required
PaymentUpdate
object
Request body for updating a payment.
2 properties 2 required
LocalizedString
object
A map of locale keys to string values used for multilingual content. Keys follow IETF language tag format (e.g., 'en', 'de', 'en-US').
Money
object
A monetary value with currency code and amount in the smallest currency unit.
3 properties 2 required
Payment
object
A payment resource tracking financial transactions and PSP interactions for an order.
11 properties 5 required
PaymentPagedQueryResponse
object
Paginated response containing a list of payments.
5 properties 5 required
PaymentDraft
object
Request body for creating a new payment.
6 properties 1 required
PaymentMethodInfo
object
Information about the payment method and PSP used for a payment.
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

commercetools-payments-api-openapi.yml Raw ↑

Other APIs commercetools publishes across the network.

Commercetools GraphQL API
Commercetools TypeScript SDK
Commercetools Java SDK
Commercetools Checkout API
Commercetools Merchant Center Customizations API
commercetools Carts API
commercetools Categories API
commercetools ChangeHistory API
commercetools Customers API
commercetools ImportContainers API
commercetools ImportOperations API
commercetools Inventory API
Where this information came from

This is an independent, third-party profile of commercetools Payments API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.