Skonto

 

Please make sure to contact Gini customer support to enable this feature in our platform.

The Skonto feature lets your users view discounts available on the Invoice and choose to pay with or without a discount. The total amount is updated to reflect the discount user opts to pay. To enable this feature, set skontoEnabled to true in the CaptureConfiguration object inside the Bank-SDK:

var captureConfiguration = CaptureConfiguration( skontoEnabled = true, .... ) GiniBank.setCaptureConfiguration(context, captureConfiguration)

Gini Bank SDK automatically shows the Skonto if the invoice contains discounts and updates the extractions returned to your app according to the user’s changes. The amountToPay extraction is updated to include or not the discount depending on the user’s choice. The extractions related to Skonto are stored in the val compoundExtractions: Map<String, GiniCaptureCompoundExtraction> field of the CaptureResult.

We highly recommend having a QA session with Gini before releasing the Skonto feature to your customers.

For more information about the Skonto’s extractions, see the Gini Bank API’s documentation.

 

Â