Gini Pay 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.
the Component API by building everything around the provided fragments. See example apps for more details about usage of Screen and Component APIs.
To use capture features, they need to be configured with setCaptureConfiguration. Note that configuration is immutable. releaseCapture needs to be called before passing a new configuration.
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.
returnToBusiness to return to the business app that started the flow.