Skip to content

feat: add device-api endpoints to ClientConfig#1796

Open
gourabsingha1 wants to merge 2 commits into
Adyen:mainfrom
gourabsingha1:feat/add-device-api-endpoints-to-client-config
Open

feat: add device-api endpoints to ClientConfig#1796
gourabsingha1 wants to merge 2 commits into
Adyen:mainfrom
gourabsingha1:feat/add-device-api-endpoints-to-client-config

Conversation

@gourabsingha1

Copy link
Copy Markdown

Resolves #1787. Added device-api test and live endpoints (including regional live endpoints) to ClientConfig, as well as a DEVICE_API_ENDPOINTS_MAPPING dictionary to RegionMapping in Region.cs, matching the Terminal API endpoints mapping structure. Added unit tests verifying these additions.

@gourabsingha1 gourabsingha1 requested a review from a team as a code owner June 22, 2026 18:35

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces Device API endpoint constants and region mappings, along with corresponding unit tests. The feedback suggests exposing the region mapping dictionary as an IReadOnlyDictionary to prevent external modification and simplifying the unit test by removing an unnecessary dictionary copy.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread Adyen/TerminalApi/Constants/Region.cs Outdated
Comment thread Adyen.Test/TerminalApi/RegionTest.cs Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: device-api url´s missing in ClientConfig

1 participant