You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Using the Cloud Terminal API Integration (async)
519
+
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 asyncronous:
520
+
* 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/)
521
+
* a request that fails will return `200` status code and the `TerminalApiResponse` as response body
522
+
```javascript
523
+
// Step 1: Require the parts of the module you want to use
524
+
const {Client, TerminalCloudAPI} from "@adyen/api-library";
We value your input! Help us enhance our API Libraries and improve the integration experience by providing your feedback. Please take a moment to fill out [our feedback form](https://forms.gle/A4EERrR6CWgKWe5r9) to share your thoughts, suggestions or ideas.
0 commit comments