We want to create a registration form for customers, which will include setting up a direct debit mandate with GoCardless/FreeAgent and then create a recurring invoice.
Is this acheivable via the FreeAgent APIs?
If not, can we create the Direct Debit mandate with GoCardless via their APIs and then associate it with a FreeAgent Contact and recurring invoice?
Josh here from FreeAgent. I’m afraid this isn’t currently possible with our API, but I can definitely appreciate why you’d want to be able to use one approach or the other. I will raise these as feature requests with the team.
Hello,
Yes, you can create recurring invoices via the FreeAgent API, but Direct Debit mandates must be initiated from within FreeAgent—you can’t import mandates created directly via the GoCardless API. So for full automation, the registration form should trigger mandate setup through FreeAgent’s interface, not externally.