Skip to content

Commit 9dc707c

Browse files
Update README.md
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 0fd7c6c commit 9dc707c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ const terminalApiResponse: terminal.TerminalApiResponse = await terminalLocalAPI
519519
If you choose to integrate [Terminal API over Cloud](https://docs.adyen.com/point-of-sale/design-your-integration/choose-your-architecture/cloud/) **asynchronously**, you need to follow similar steps to initialize the client and prepare the request object. However the response will be asynchronous:
520520
* a successful request will return `200` status code and `ok` as response body. Make sure to setup the [event notifications](https://docs.adyen.com/point-of-sale/design-your-integration/notifications/event-notifications/)
521521
* a request that fails will return `200` status code and the `TerminalApiResponse` as response body
522-
``` javascript
522+
``` typescript
523523
// Step 1: Require the parts of the module you want to use
524524
const {Client, TerminalCloudAPI} from "@adyen/api-library";
525525

0 commit comments

Comments
 (0)