Direct debit mandate via API

Hi there,

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?

Thank you.

Dear Roy,

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.

Thanks for getting in touch!
Josh

Thanks Josh. I’m trying to think of workarounds given the FreeAgent API doesn’t have the features we need.

If we create a direct debit via GoCardless manually (or via the GoCardless API), can we associate this with a customer in FreeAgent via API?

How can we associate recurring payments from GoCardless with recurring invoices in FreeAgent via API (so we don’t need to do do manually association).

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.

Best Regards,
Clark Dahl

Thanks Clark, just to confirm this isn’t possible via FreeAgent’s API?
So, in summary, what we are trying acheive isn’t possible with FreeAgent?