Create a payment setting adyen
How to create a payment setting adyen via API
To create a new payment setting adyen, send a POST request to the /api/2026-05/payment_setting_adyens endpoint, passing the resource arguments in the request body.
Request
POST https://yourdomain.commercelayer.io/api/2026-05/payment_setting_adyens
Arguments
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.merchant_account
string
Required
attributes.api_key
string
Required
attributes.public_key
string
Optional
attributes.live_url_prefix
string
Optional, required for production
attributes.webhook_endpoint_secret
string
Optional, the payment setting stays pending until set
attributes.token_webhook_endpoint_secret
string
Optional
Example
The following request creates a new payment setting adyen:
On success, the API responds with a 201 Created status code, returning the created resource object:
Last updated