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

The payment setting external object

A comprehensive list of the payment setting external resource's attributes and relationships

A payment setting external object is returned as part of the response body of each successful list, retrieve, create or update API call to the /api/2026-05/payment_setting_externals endpoint.

Fields

Field
Type
Description

type

string

payment_setting_externals

id

string

The payment setting external unique identifier

links.self

string

The payment setting external endpoint URL

attributes.gateway_version

string

The gateway version of the payment setting (external API version).

attributes.idempotency_window_mins

integer

The minutes within which a repeated payment operation is deduplicated by the gateway idempotency key. Later attempts get a fresh key.

attributes.internal_versions

object

The internal versions of the payment setting for payload changes.

attributes.internal_versionable

boolean

Indicates whether this payment setting's gateway supports internal payload versioning (see internal_versions).

attributes.auto_capture

boolean

Send this attribute if you want the payment to be automatically captured when authorized.

attributes.auto_place

boolean

Send this attribute if you want the order to be automatically placed when a payment session using this payment setting is authorized.

attributes.status

string

The payment setting status. It is pending until the gateway webhook is configured, either automatically or by providing its secret.

attributes.name

string

The name of the payment setting.

attributes._disable

boolean

Send this attribute if you want to mark this resource as disabled.

attributes._enable

boolean

Send this attribute if you want to mark this resource as enabled.

attributes.disabled_at

string

Time at which this resource was disabled.

attributes.created_at

string

Time at which the resource was created.

attributes.updated_at

string

Time at which the resource was last updated.

attributes.reference

string

A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever.

attributes.reference_origin

string

Any identifier of the third party system that defines the reference code.

attributes.metadata

object

Set of key-value pairs that you can attach to the resource. This can be useful for storing additional information about the resource in a structured format.

attributes.circuit_state

string

The circuit breaker state, by default it is 'closed'. It can become 'open' once the number of consecutive failures overlaps the specified threshold, in such case no further calls to the failing callback are made.

attributes.circuit_failure_count

integer

The number of consecutive failures recorded by the circuit breaker associated to this resource, will be reset on first successful call to callback.

attributes._reset_circuit

boolean

Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count. Cannot be passed by sales channels.

attributes.shared_secret

string

The shared secret used to sign the external request payload.

attributes.external_includes

array

List of related resources that will be included in the request to the external callback. Please do consult the documentation to check on which resource the includes are related (i.e. the order) and the defaults in case no list is provided.

attributes.session_url

string

The endpoint used by the external gateway to create a payment session.

attributes.authorization_url

string

The endpoint used by the external gateway to authorize payments. The response data can include a payment_instrument object (issuer, issuer_type, card_type, card_last_digits, card_expiry_month, card_expiry_year, card_holder_name, card_fingerprint, account_id, account_email, account_status) to populate the payment session's payment instrument; other keys are ignored.

attributes.capture_url

string

The endpoint used by the external gateway to capture payments.

attributes.void_url

string

The endpoint used by the external gateway to void payments.

attributes.refund_url

string

The endpoint used by the external gateway to refund payments.

attributes.token_url

string

The endpoint used by the external gateway to create a customer payment token.

attributes.webhook_endpoint_url

string

The gateway webhook URL, generated automatically.

relationships.payment_links

array

The associated payment links.

relationships.payment_sessions

array

The associated payment sessions.

relationships.payment_transactions

array

The payment transactions associated to available sessions.

relationships.payment_wallets

array

The associated payment wallets.

relationships.order_subscriptions

array

The associated order subscriptions.

relationships.events

array

The associated events.

relationships.event_stores

array

The associated event stores.

Last updated