Gini Bank
Api for interacting with Capture and Payment features.
The Capture feature is a layer of abstraction above Gini Capture SDK and the Return Assistant feature. Capture feature can be used with:
the Screen API by calling startCaptureFlow or startCaptureFlowForIntent.
To use capture features, they need to be configured with setCaptureConfiguration.
To use the pay feature, first setGiniApi needs to be called. The flow for this feature would be:
getRequestId to extract the id from the Intent
getPaymentRequest to get payment details set by the business app.
resolvePaymentRequest to mark the PaymentRequest as paid.
returnToPaymentInitiatorApp to return to the app that started the flow.
Functions
Checks hardware requirements for Capture feature. Requirements are not enforced, but are recommended to be checked before using.
Shows the return reasons dialog in the return assistant, if enabled.
Clears the reference to giniApi set by setGiniApi.
Marks the a PaymentRequest as paid.
Starts the app that started the payment flow.
Sets configuration for Capture feature. Note that configuration is immutable. releaseCapture needs to be called before passing a new configuration.
Sets configuration for Capture feature.
Shows the return reasons dialog in the return assistant, if enabled.
Set the GiniBankAPI instance to be used for the Pay feature.
Screen API for starting the capture flow.
Screen API for starting the capture flow when a pdf or image document was shared from another app.