Skip to content
Paul Walsh

API integration · GoCardless Direct Debit

GoCardless API integration

Direct Debit built into your platform. Mandates set up at sign-up, payments collected on schedule, failed payments retried and access switched off and on automatically, with no one managing GoCardless by hand. Quoted up front, and you own the code.

  • From £995, agreed before any work
  • Fixed or variable amounts, no chargebacks
  • Payments matched to Xero invoices if you need it

Get a quote

I'll reply within 24 hours with a price.

Your details are only used to reply to you.

Or WhatsApp / text 07398 946 380

Prices

Every project is different, so these are starting prices. You get a written quote before any work starts, then 50% to begin and 50% when you're happy with it.

Standard Direct Debit

Fixed recurring payments, collected automatically

From

£9951–2 weeks

  • Mandate sign-up, hosted or built into your site
  • Fixed recurring payments scheduled
  • Webhooks for confirmed, failed and cancelled payments
  • Failed payment retries
  • Customer notification triggers
  • Error handling and logging
Get a quote for Standard Direct Debit
Most popular

Variable billing

Any amount against an existing mandate

From

£1,995about 2 weeks

  • Everything in Standard Direct Debit
  • Variable amounts without re-authorising
  • Access suspended and restored by payment status
  • Payments matched to Xero invoices
  • Payouts recorded in Xero
  • Log of every payment and access change
Get a quote for Variable billing

Open banking suite

Direct Debit plus instant bank payments

From

£2,4953+ weeks

  • Everything in Variable billing
  • GoCardless Instant Bank Pay
  • Instant payment at sign-up
  • Access granted the moment payment confirms
  • Failed Direct Debits recovered by bank payment
  • Quoted from your spec
Get a quote for Open banking suite

Retainer

Optional, once the integration is live

From

£49per month

  • API monitoring
  • Webhook health checks
  • Updates if GoCardless changes the API
  • Minor bug fixes
  • New features quoted separately
Get a quote for Retainer

What the GoCardless API gives you

GoCardless handles Direct Debit and open banking payments. Its API creates mandates, schedules payments, collects variable amounts and reports every change in a payment's status. A custom integration connects all of that to your platform, so billing runs on its own. See the GoCardless API integration guide.

Who it's for

  • SaaS and subscription platforms A mandate at sign-up, payments collected on schedule, and access suspended or restored by payment status, with no card expiries to chase. See subscription billing with GoCardless.
  • Membership organisations and clubs Fees collected by Direct Debit, renewals automated, price changes applied to existing mandates under the Direct Debit notice rules, and lapsed members flagged.
  • Service businesses tired of chasing invoices The invoice amount is collected from the client's bank on the due date, and the payment is marked against the invoice in Xero when it arrives. See GoCardless and Xero.
  • Usage-based billing Work out the amount at the end of each period and collect it against the existing mandate.
  • Stripe and GoCardless together Card payment at sign-up for instant access, then Direct Debit for the payments after that. See GoCardless vs Stripe.

Why custom rather than a plugin

GoCardless plugins for WooCommerce handle fixed subscription amounts. They don't do variable amounts, controlling access by payment status or matching payments to Xero invoices. A custom build does all three, and you own the code with no extra monthly fees.

What's included

  • API keys stored securely on the server, never in the browser
  • Webhooks for every payment and mandate event, checked to be genuinely from GoCardless
  • Everything tested in the GoCardless sandbox before going live
  • A handover document, and the code is yours

Not included: your GoCardless account (it's free, and verification usually takes a few days), the wording of your customer emails (I trigger them, and you own the templates), your Xero subscription, SEPA Direct Debit, and changes to your platform outside the integration.

Payment is 50% to start and the balance on completion. For what drives the price, read what a GoCardless integration costs.

How it's built

  • Mandates set up through GoCardless's own pages The customer enters their bank details on a secure GoCardless page or in its embedded flow, not on your site, so you never handle bank details yourself.
  • Payments follow Direct Debit timing A Direct Debit payment takes a few working days from being created to being collected, and customers must get advance notice of each payment. The integration works to those rules, so collections happen on the right dates and nobody is surprised by a charge.
  • Every status change handled Mandates can be cancelled by the customer at their bank, payments can fail or be charged back, and payouts arrive in batches. Webhooks for all of these are checked to be genuinely from GoCardless, recorded so a repeat is never processed twice, and used to update your platform automatically.
  • Failed payments retried sensibly Where a payment fails for lack of funds, it can be retried on a better day, and you're told when one needs a human.
  • Safe to retry Requests to create payments are sent with an idempotency key, so a network glitch can never create the same payment twice.

How to get a price

Send a short written spec by WhatsApp, text, email or the form: how you bill, what you're doing by hand now and what your platform is built on. I'll reply within 24 hours with a quote.

Guides

Questions

How is GoCardless different from Stripe?

GoCardless takes payments straight from the customer's bank by Direct Debit, with no card involved. There are no chargebacks or expired cards, and you can collect different amounts without asking again. The trade-off is time, as Bacs payments take a few working days to arrive where card payments are instant.

Can I collect different amounts each month?

Yes. Once a customer has set up a mandate, you can collect any amount against it with the advance notice the Direct Debit rules require. That suits invoices, usage charges and one-off fees.

What happens when a payment fails?

GoCardless tells the integration straight away. It retries on the schedule you choose, lets the customer know and suspends access if the payment still isn't collected. Cancelled mandates are handled separately.

Does it work for business customers?

Yes. Bacs Direct Debit works for personal and business bank accounts in the UK. SEPA Direct Debit for European accounts can be quoted separately.

What does GoCardless charge?

GoCardless charges its own fee per payment, taken directly by them. The build price covers the integration only.

How long does a build take?

Standard Direct Debit takes 1–2 weeks, variable billing about 2 weeks, and the open banking suite 3 weeks or more, starting once your GoCardless account is live and the deposit is paid.

Need this built into your system?

Quicker to message? WhatsApp or text 07398 946 380, or email paul@paul-walsh.co.uk.

Your details are only used to reply to you.