Declined Reason

0 votes
Hi team, If our application somehow missed the callback notification of declined event, is there any SDK function that can be used to fetch the details about signer who opted-out/decline and with what reason? Thanks in advance!

Reply to: Declined Reason

1 votes
Hi Petey, Kindly have a check on our Retrieve List of Packages as well as the Opt-out and Declined Messages guides. Once you've retrieved a list of packages, you can filter through them by the package status, and find out which signer has declined, when did it happen and the decline reason. See the code below:
List messages = client.getPackage(packageId).getMessages();

public class Message {
    private String content;
    private Date created;
    private Signer from;

Duo Liang OneSpan Evangelism and Partner Integrations Developer

Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off