Business logic: Customer sends out street walkers who recruit recurring donors on the streets with forms in their hands (or on their tablets). They need to create SEPA mandate reference numbers in advance. Customer has implemented the basic CiviSepa and CiviBanking extensions. I am going to add this functionality to the CiviSepa extension (see https://github.com/Project60/org.project60.sepa/issues/271)
To generate these required Sepa mandate reference codes I thought I could use the API SepaMandate with the create action. This API requires an entity table and id, which I do not have yet. Should I still use the API or should I set up a separate table for the generated references and use those to create a mandate once the recurring contribution is added?