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 Bank API 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.
fun 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:
GiniBank.sendTransferSummary(
paymentRecipient,
paymentReference,
paymentPurpose,
iban,
bic,
amount
)
// cleanup the capture SDK after sending the transfer summary
GiniBank.releaseCapture(this)
}
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.
Gini GmbH | Ridlerstr. 57 | 80339 München