adyen_gateways

Create an adyen gateway

Changed on

Create an adyen gateway

post/adyen_gateways

Request

  • Base URL
    https://{your_organization_slug}.commercelayer.io/api
  • URL
    https://{your_organization_slug}.commercelayer.io/api/adyen_gateways
  • Auth
    HTTP bearer

Request body

Example request

{
  "data": {
    "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"
    },
    "relationships": {
      "adyen_payments": {
        "data": {
          "id": "XAyRWNUzyN"
        }
      }
    }
  }
}

Response

The created adyen gateway object

Changes

    • 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

      added the new optional request property //

    • info

      added the optional property // to the response with the status