From f2272117b85474046ed2abd0b1e6f0000178f277 Mon Sep 17 00:00:00 2001 From: Djoyke Reijans <115019123+DjoykeAbyah@users.noreply.github.com> Date: Fri, 19 Apr 2024 13:02:19 +0200 Subject: [PATCH] updated readme for Document API (#1277) --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 00facf7ac..c30c41b7d 100644 --- a/README.md +++ b/README.md @@ -476,6 +476,10 @@ TerminalLocalAPI terminalLocalAPI = new TerminalLocalAPI(client, securityKey); TerminalAPIResponse terminalAPIResponse = terminalLocalAPI.request(terminalAPIRequest); ~~~~ +## Using Attachments in Document API +When using Attachments, ensure content is provided as a byte array. It's important to convert it to a base64 encoded string before initiating the request. +[API Explorer](https://docs.adyen.com/api-explorer/legalentity/3/post/documents) + ## Using the Local Terminal API Integration without Encryption (Only on TEST) If you wish to develop the Local Terminal API integration parallel to your encryption implementation, you can opt for the unencrypted version. Be sure to remove any encryption details from the CA terminal config page. ```java