Vicky | Posts: 1

OneSpan Api

0 votes

Hello everybody. 

Is there a way I could have intregrations Api code? 

I need to check code about checkboxes.

Thank you! 


Duo_Liang | Posts: 3776

Reply to: OneSpan Api

0 votes

Hi Vicky,

 

Thanks for your post!

If you are looking for an example package JSON with checkbox fields, refer to below:

{
  "roles": [
    {
      "id": "Signer1",
      "signers": [
        {
          "email": "[email protected]",
          "firstName": "John",
          "lastName": "Smith"
        }
      ]
    }
  ],
  "documents": [
    {
      "approvals": [
        {
          "role": "Signer1",
          "fields": [
            {
              "page": 0,
              "top": 100,
              "subtype": "FULLNAME",
              "height": 50,
              "left": 100,
              "width": 200,
              "type": "SIGNATURE"
            },
            {
              "height": 20,
              "left": 100,
              "name": "",
              "page": 0,
              "subtype": "CHECKBOX",
              "top": 150,
              "type": "INPUT",
              "value": null,
              "width": 20,
              "validation": {
                "group": "group1",
                "required": false
              }
            }

          ]
        }
      ],
      "name": "Document1"
    }
  ],
  "name": "Example Transaction",
  "language": "en",
  "description": "Some description.",
  "status": "SENT"
}

 

Duo


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