/settings

/adyen/settings

Target audience: Developers

1
Release version: 4.2.0

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/v1/adyen/settings
Production https://backend.worldoftulo.com/external/api/v1/adyen/settings

Requirements

Identity Scope
No /external/adyen/r

Curl example

1
2
3
4
curl --request GET \
  --url https://payway-api.stage.adeprimo.se/external/api/v1/adyen/settings?product_code=adeprimo_digital&origin=https://purchase.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) String

Response

1
2
3
4
5
6
7
HTTP 200
{
  "item": {
    "origin_key": "pub.key123123",
    "locale": "sv-SE"
  }
}

Errors

The error response is sent as application/JSON and will have an HTTP status code ranging between 400-500.

An error message will contain these properties in every response.

Error example

1
2
3
4
5
{
  "code": "error_code",
  "field": "field",
  "message": "error message"
}