Skip to content

Get settings

/adyen/settings

Target audience: Developers

Get settings

Release version: 4.7.5

Introduction

This endpoint returns configuration settings for an Adyen purchase.

Attention

This API is not required for implementing the redirect purchase flow.

URI

Environment URI
Stage https://payway-api.stage.adeprimo.se/external/api/v2/adyen/settings
Production https://backend.worldoftulo.com/external/api/v2/adyen/settings

Requirements

Identity Scope
No /external/adyen/r

Curl example

curl --request GET \
  --url https://payway-api.stage.adeprimo.se/external/api/v2/adyen/settings?product_code=adeprimo_digital&origin=https%3A%2F%2Fpurchase.example.org \
  --header 'accept: application/json' \
  --header 'authorization: Bearer <token>'
Parameter Description Required Format Type
product_code The product code for a package/campaign. Yes Size range: 1..50 Allowed values: "/^[a-zA-Z-_0-9]+$/" String
origin URI where purchase is performed (E.g. https://purchase.example.org). Must be URL-encoded String

Response

HTTP 200
{
  "item": {
    "origin_key": "pub.key123123",
    "client_key": "client_key",
    "locale": "sv-SE",
    "javascript_uri": "adyen-javascript-v4.4.0.js",
    "javascript_uri_integrity": "sha-123abc",
    "css_uri": "adyen-css-v4.4.0.css",
    "css_uri_integrity": "sha-123abc"
  }
}

Errors

This API uses the common error conventions of the Payway API

See common error responses