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

Update a payment setting external

How to update an existing payment setting external via API

To update an existing payment setting external, send a PATCH request to the /api/2026-05/payment_setting_externals/: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_externals/:id

Arguments

Body Parameter
Type
Required

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._reset_circuit

boolean

Optional

attributes.external_includes

array

Optional

attributes.session_url

string

Optional

attributes.authorization_url

string

Optional

attributes.capture_url

string

Optional

attributes.void_url

string

Optional

attributes.refund_url

string

Optional

attributes.token_url

string

Optional

Example

The following request updates the payment setting external identified by the ID "XAyRWNUzyN":

On success, the API responds with a 200 OK status code, returning the updated resource object:

Last updated