Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The diagram below shows the interaction between your app and the SDK:

Drawio
mVer2
zoom1
simple0
zoominComment10
inCommentcustContentId02884089
pageId2949214
custContentIdlbox28840891
diagramDisplayNameUntitled Diagram-1675761818164.drawio
lbox1
contentVer6
revision6
baseUrlhttps://gini.atlassian.net/wiki
diagramNameUntitled Diagram-1675761818164.drawio
pCenter0
width860
links
tbstyle
height379.5

...

The Gini Bank SDK can return with the following results:

  • CaptureResult.Success

A document was analyzed and the extractions are available in the properties of the CaptureResult.Success object.

  • CaptureResult.Cancel

The user

...

canceled Gini Bank SDK.

  • CaptureResult.Error

An error occurred and the details are available in the value property of the CaptureResult.Error object.

  • CaptureResult.EmptyThe

Gini Bank SDK was able to extract information, but they were not payment related. Your app should proceed with allowing your user to enter the payment information manually.

  • CaptureResult.EnterManually

The document analysis finished with no results or an error and the user clicked the Enter manually button on either the No Results Screen or the Error Screen. Your app should proceed with allowing your user to enter the payment information manually.

In the following example, you can see how to launch the capture flow and how to handle the results:

...