Edit in GitHubLog an issue

Payment API reference

The checkout module provides REST and GraphQL APIs to configure out-of-process payment methods.

REST

For more information on the available endpoints, refer to payment API usage.

The raw Payment REST API schema is available here.

Route URLMethodDescription
/V1/oope_payment_method
POST
Create or update an out-of-process payment method.
/V1/oope_payment_method/:code
GET
Retrieve an out-of-process payment method by its code.
/V1/oope_payment_method
GET
List all available out-of-process payment methods.

Create or update a payment method

The POST /V1/oope_payment_method/ creates or updates an out-of-process payment method in the Adobe Commerce instance. The code parameter is used to identify the payment method. If a payment method with the same code already exists, it will be updated; otherwise, a new payment method will be created.

Payload parameters:

ParameterTypeRequiredDescription
code
String
Yes
Unique identifier for the payment method.
title
String
No
Display name of the payment method.
active
Boolean
Yes
Status indicating if the method is active.
backend_integration_url
String
No
URL for backend integration, which is an App Builder URL.
stores
Array
No
List of store codes that payment method is available for.
order_status
String
No
Initial order status. Default is pending.
countries
Array
No
List of countries where the method is available.
currencies
Array
No
Currencies supported by the payment method.
custom_config
Array
No
Custom configuration settings for payment methods.
Copied to your clipboard
curl --request POST \
--url <ADOBE_COMMERCE_API_URL>/V1/oope_payment_method \
--header 'Authorization: Bearer <TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
"payment_method": {
"code": "method-1",
"title": "Method 1",
"active": true,
"backend_integration_url": "http://example.com",
"stores": ["store-1", "store-2"],
"order_status": "processing",
"countries": ["ES", "US"],
"currencies": ["EUR", "USD"],
"custom_config": [
{
"key1": "value1"
}
]
}
}'

Get an OOPE payment method by code

The GET /V1/oope_payment_method/:code endpoint retrieves one out-of-process payment method by code from the Adobe Commerce instance.

Payload parameters:

ParameterTypeDescription
code
String
Unique identifier for the payment method.
Copied to your clipboard
curl --request GET \
--url <ADOBE_COMMERCE_API_URL>/V1/oope_payment_method/method-1 \
--header 'Authorization: Bearer <TOKEN>' \
--header 'Content-Type: application/json'

List all payment methods

The GET /V1/oope_payment_method retrieves a list of all out-of-process payment methods from the Adobe Commerce instance.

Copied to your clipboard
curl --request GET \
--url <ADOBE_COMMERCE_API_URL>/V1/oope_payment_method \
--header 'Authorization: Bearer <TOKEN>' \
--header 'Content-Type: application/json'

GraphQL

The Payment module's GraphQL schema for this is defined in etc/schema.graphqls. You can access details about out-of-process payment types by specifying the oope_payment_method_config field within the available_payment_methods or selected_payment_method field of the cart API.

The raw Payment GraphQL schema is available here.

For more information on extending the out-of-process GraphQL schema, refer to the EDS Integration Guide.

Copied to your clipboard
query getCart($cartId: String!) {
cart(cart_id: $cartId) {
...CHECKOUT_DATA_FRAGMENT
}
}
fragment CHECKOUT_DATA_FRAGMENT on Cart {
id
available_payment_methods {
code
title
oope_payment_method_config {
backend_integration_url
custom_config {
... on CustomConfigKeyValue {
key
value
}
}
}
}
selected_payment_method {
code
title
oope_payment_method_config {
backend_integration_url
custom_config {
... on CustomConfigKeyValue {
key
value
}
}
}
}
}
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2025 Adobe. All rights reserved.