Flattening PDF before calling OneSpan Create Package APITuesday, June 20, 2023 at 07:36am
Our team has been leveraging OneSpan createPackage API to create package and call the signingURL to successfully eSign PDF forms leveraging text anchors.
All these forms which were uploaded prior to calling CreatePackage were expected to be Flattened and has been working well in executing eSignatures.
However, for a new form requirement we have started exploring form fields instead of text anchors and additionally there is a user action prior to the form being uploaded and made available for eSignature and there is a possibility that the form might not be flattened.
Would it possible to Flatten a PDF programmatically before calling the OneSpan createPackage API - please, kindly share if there is a way to Flatten without manual intervention. We leverage MuleSoft in orchestrating the OneSpan eSignatures (CreatePackage, SigningURL API) any inputs you can share in having a step in the process which would help flatten is greatly appreciated!