Skip to content

Commit

Permalink
updated readme for Document API (#1277)
Browse files Browse the repository at this point in the history
  • Loading branch information
DjoykeAbyah authored Apr 19, 2024
1 parent d056a48 commit f227211
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f227211

Please sign in to comment.