Lago’s native integration with GoCardless allows you to collect payments via direct debit.
Active OAuth connection with GoCardless
https://api.getlago.com/webhooks/gocardless/{{organization_id}}?code={{connection_code}}
(you must replace organization_id
with your Lago organization ID, and the connection_code
by the targeted Lago connection);Webhook endpoint creation in GoCardless
http://
or https://
.Creation of a new customer with GoCardless
customer.payment_provider_created
that confirms the creation of the customer
in GoCardless; andcustomer.checkout_url_generated
that includes the checkout URL to set up the
direct debit (learn more).Migration of an existing GoCardless customer
customer.checkout_url_generated
webhook; andDirect debit setup with GoCardless
pending
to succeeded
.
If the payment fails, the status of the payment will switch from pending
to
failed
and Lago will generate an invoice.payment_failure
webhook.