adyen_gateways
Update an adyen gateway
Changed onUpdate an adyen gateway
patch/adyen_gateways/{adyenGatewayId}
Request
- Base URLhttps://{your_organization_slug}.commercelayer.io/api
- URLhttps://{your_organization_slug}.commercelayer.io/api/adyen_gateways/{adyenGatewayId}
- AuthHTTP bearer
Path parameters
adyenGatewayIdstring required
The resource's id
Request body
Example request
{
"data": {
"id": "XAyRWNUzyN",
"attributes": {
"name": "US payment gateway",
"force_payments": true,
"idempotency_window_mins": 60,
"_disable": true,
"_enable": true,
"reference": "ANY-EXTERNAL-REFEFERNCE",
"reference_origin": "ANY-EXTERNAL-REFEFERNCE-ORIGIN",
"metadata": {
"foo": "bar"
},
"_check": true,
"merchant_account": "xxxx-yyyy-zzzz",
"api_key": "xxxx-yyyy-zzzz",
"public_key": "xxxx-yyyy-zzzz",
"live_url_prefix": "1797a841fbb37ca7-AdyenDemo",
"api_version": 71,
"async_api": true,
"order_expiration_mins": 30,
"native_customer_payment_sources": true,
"webhook_endpoint_secret": "xxxx-yyyy-zzzz",
"token_webhook_endpoint_secret": "xxxx-yyyy-zzzz",
"_update_webhooks": true,
"_refresh_webhook_secrets": true
},
"relationships": {
"adyen_payments": {
"data": {
"id": "XAyRWNUzyN"
}
}
}
}
}Response
The updated adyen gateway object
Changes
- info
added the new optional request property
// - info
added the new optional request property
// - info
added the new optional request property
// - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- info
added the new optional request property
// - info
added the optional property
//to the response with the status
- info