Skip to content

Commit 2464713

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

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
@@ -511,7 +511,7 @@ const terminalApiResponse: terminal.TerminalApiResponse = await terminalLocalAPI
511511
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:
512512
* 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/)
513513
* a request that fails will return `200` status code and the `TerminalApiResponse` as response body
514-
``` javascript
514+
``` typescript
515515
// Step 1: Require the parts of the module you want to use
516516
const {Client, TerminalCloudAPI} from "@adyen/api-library";
517517

0 commit comments

Comments
 (0)