Skip to content

Commit bbcdf2e

Browse files
committed
Moved README files to doc folder
1 parent 8d23e23 commit bbcdf2e

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -353,10 +353,10 @@ Check the [Cloud Device API README](CloudDeviceApi.md).
353353
With the [Terminal API](https://docs.adyen.com/api-explorer/terminal-api/1/overview) you can send and receive Terminal API messages in the following ways:
354354

355355
* Local communications: using your local network, your POS system sends the request directly to the IP address of the terminal, and receives the result synchronously.
356-
* Cloud communications: using the internet to access the cloud `/sync` and `/async` endpoints. You should consider adopting the [Cloud Device API](CloudDeviceApi.md) instead.
356+
* Cloud communications: using the internet to access the cloud `/sync` and `/async` endpoints. You should consider adopting the [Cloud Device API](doc/CloudDeviceApi.md) instead.
357357

358358

359-
Check the [Terminal API README](TerminalApi.md).
359+
Check the [Terminal API README](doc/TerminalApi.md).
360360

361361

362362
## Feedback

CloudDeviceApi.md renamed to doc/CloudDeviceApi.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,10 @@ console.log("response:", response);
185185
In case of asynchronous integration, you can decrypt the payload of the event notifications using `decryptNotification()` method.
186186
187187
```javascript
188+
// JSON with encrypted SaleToPOIResponse (for async responses) or SaleToPOIRequest (for event notifications)
189+
const payload = "...";
188190

189-
const response: string = await cloudDeviceAPI.decryptNotification("", encryptionCredentialDetails);
191+
const response: string = await cloudDeviceAPI.decryptNotification(payload, encryptionCredentialDetails);
190192
console.log("response:", response);
191193

192194
```
File renamed without changes.

0 commit comments

Comments
 (0)