Sending Transfer Summary

Your app should clean up the SDK by releasing the capture singleton and providing transfer summary for the extractions that the Gini Capture delivered. Follow these recommendations:

  • 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 transfer summary only after TAN verification.

You don’t need to implement any extra steps.

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

We provide a sample test case here to verify that sending transfer summary works. You can 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 sending transfer summary. For additional information about transfer summary see the Gini Bank API documentation.