Versions Compared

Key

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

...

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)

Follow the recommendations below:

Note
  • Provide values for all necessary fields, including those that were not extracted.

  • Provide the final data approved by the user (and not the initially extracted only).

  • Send feedback only after TAN verification.

You don’t need to implement any extra steps.

Code Block
languageswift
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))
}

...