Skip to end of banner
Go to start of banner

Sending Feedback

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Your app should clean up the SDK and provide feedback for the extractions that Gini Bank API delivered. Feedback should be sent only for the extractions the user has seen and accepted (or corrected).

func stopGiniBankSDK() {
    // After the user has seen and potentially corrected the extractions
    // cleanup the SDK while passing in the final extraction values
    // which will be used as feedback to improve the future extraction accuracy:
    GiniConfiguration.shared.cleanup(paymentRecipient: "Payment Recipient",
                                         paymentReference: "Payment Reference",
                                         paymentPurpose: "Payment Purpose",
                                         iban: "IBAN",
                                         bic: "BIC",
                                         amountToPay: ExtractionAmount(value: 10.242, currency: .EUR))
}

We provide a sample test case here to verify that extraction feedback sending works. You may use it along with the example PDF and JSON files as a starting point to write your own test case. The sample test case is based on the Bank API documentation’s recommended steps for testing extraction feedback sending. For additional information about feedback see the Gini Bank API documentation.

  • No labels