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
For APIS that require your [Live URL Prefix](https://docs.adyen.com/development-resources/live-endpoints#live-url-prefix) (Binlookup, BalanceControl, Checkout, Payout and Recurring) the client is set up as follows in order to start processing live payments:
Alternatively, you can use the `Types` included in this module for Typescript and `async` syntax.
214
214
@@ -244,8 +244,19 @@ Alternatively, you can use the `Types` included in this module for Typescript an
244
244
245
245
makePaymentsRequest();
246
246
```
247
+
248
+
#### Deserializing JSON Strings
249
+
In some setups you might need to deserialize JSON strings to request objects. For example, when using the libraries in combination with [Dropin/Components](https://github.com/Adyen/adyen-web). Please use the built-in deserialization functions:
250
+
```typescript
251
+
// Import the required model class
252
+
import { checkout } from"../typings";
253
+
254
+
// Deserialize using built-in ObjectSerializer class
By default, [Node.js https](https://nodejs.org/api/https.html) is used to make API requests. Alternatively, you can set a custom `HttpClient` for your `Client` object.
251
262
@@ -277,7 +288,7 @@ const client = new Client({
277
288
// ... more code
278
289
```
279
290
280
-
## Parsing and Authenticating Banking Webhooks
291
+
###Parsing and Authenticating Banking Webhooks
281
292
Parse an AccountHolderNotificationRequest webhook;
282
293
```typescript
283
294
let bankingWebhookHandler =newBankingWebhookHandler(YOUR_BANKING_WEBHOOK);
@@ -293,14 +304,14 @@ Verify the authenticity (where you retrieve the hmac key from the CA and the sig
In order to submit In-Person requests with [Terminal API over Cloud](https://docs.adyen.com/point-of-sale/design-your-integration/choose-your-architecture/cloud/) you need to initialize the client in a similar way as the steps listed above for Ecommerce transactions, but make sure to include `TerminalCloudAPI`:
325
336
```javascript
326
337
// Step 1: Require the parts of the module you want to use
To perform a [status request](https://docs.adyen.com/point-of-sale/basic-tapi-integration/verify-transaction-status/) you can use the following example:
The procedure to send In-Person requests using [Terminal API over Local Connection](https://docs.adyen.com/point-of-sale/design-your-integration/choose-your-architecture/local/) is similar to the Cloud Terminal API one, however, additional encryption details are required to perform the requests. Make sure to [install the certificate as described here](https://docs.adyen.com/point-of-sale/design-your-integration/choose-your-architecture/local/#protect-communications)
441
452
```javascript
442
453
// Step 1: Require the parts of the module you want to use
0 commit comments