Update a payment setting checkout com
How to update an existing payment setting checkout com via API
To update an existing payment setting checkout com, send a PATCH request to the /api/2026-05/payment_setting_checkout_coms/:id endpoint, where id is the ID of the resource that you want to update.
Here below the list of all the possible arguments that you can pass with the request body.
Request
PATCH https://yourdomain.commercelayer.io/api/2026-05/payment_setting_checkout_coms/:id
Arguments
type
string
Required
id
string
Required
attributes.gateway_version
string
Optional
attributes.idempotency_window_mins
integer
Optional
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._provision_webhook
boolean
Optional
attributes.secret_key
string
Optional
attributes.public_key
string
Optional
attributes.entity_id
string
Optional
attributes.processing_channel_id
string
Optional
Example
The following request updates the payment setting checkout com identified by the ID "XAyRWNUzyN":
On success, the API responds with a 200 OK status code, returning the updated resource object:
Last updated