For the complete documentation index, see llms.txt. This page is also available as Markdown.

Create a payment setting checkout com

How to create a payment setting checkout com via API

To create a new payment setting checkout com, send a POST request to the /api/2026-05/payment_setting_checkout_coms endpoint, passing the resource arguments in the request body.

Request

POST https://yourdomain.commercelayer.io/api/2026-05/payment_setting_checkout_coms

Arguments

Body Parameter
Type
Required

type

string

Required

attributes.gateway_version

string

Optional, default to the last available version

attributes.idempotency_window_mins

integer

Optional, default is one hour (60 minutes)

attributes.auto_capture

boolean

Optional

attributes.auto_place

boolean

Optional

attributes.name

string

Optional

attributes._disable

boolean

Optional

attributes._enable

boolean

Optional

attributes.reference

string

Optional

attributes.reference_origin

string

Optional

attributes.metadata

object

Optional

attributes._check

boolean

Optional

attributes.secret_key

string

Required

attributes.public_key

string

Required

attributes.entity_id

string

Optional

attributes.processing_channel_id

string

Optional

Example

The following request creates a new payment setting checkout com:

On success, the API responds with a 201 Created status code, returning the created resource object:

Last updated