Skip to content

Codify document options #32

Open
Open
@hsyed

Description

We just heard from Onfido that the document check can return address information if the document contained it (driving license). This need to enabled in options as follows:

{
	"type": "express",
	"asynchronous": true,
	"reports": [{
		"name": "document",
		"options": [
        {
          "name": "document_address_information"
        }
      ]
	}]
}

Since a lot of the fields are type-safe (ish) is there a nice way to encode this ? At the moment the options field is map[string]interface{}.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions