Skip to main content


GoCardless is an online payment platform that facilitates payments between parties through online transfers. You can use GoCardless to fetch commercial information (transactions, subscriptions ...) about your users who have an e-commerce business or use GoCardless as a payment service provider.

This provider supports these data types:

Connect your GoCardless account

To retrieve commerce data from companies using GoCardless, you have to connect your GoCardless account with Qard. To do that, you'll have to:

  1. Create a GoCardless account if you already don't have one.
  2. Connect your account to Qard API using GoCardless credentials (clientId & clientSecret). You also need to provide a boolean isSandbox to choose between the sandboxed version of your partner app, and the live version.
  3. Test your integration by creating a new synchronization using GoCardless provider.

Create a new account:

  1. Go to the GoCardless register page and follow the instructions.
  2. After that, you can go to the and create a new app
  3. Now, you can customize how your business appears to your users by filling out your app name, company logo, app description and your homepage url.
  4. In the field Redirect URLs you should enter :
  5. Check the box I agree to the terms of the partner agreement
  6. And click on Create app button
  7. Copy Client ID and Client Secret.
  8. You are set to go !

1. Update GoCardless provider credentials:

  • is_sandbox: The integration mode (sandbox or live)
  • client_id: Application client ID
  • client_secret: Application client secret
(PUT) /api/v6/providers/gocardless/credentials
"credentials": {
"is_sandbox": false,
"client_id": "GOCARDLESS_CLIENT_ID",

2. Settings GoCardless provider:

(PUT) /api/v6/providers/gocardless/settings
"auto_connect": true

3. Enable GoCardless provider:

(PUT) /api/v6/providers/gocardless
"enable": true

Test GoCardless integration:

You can test GoCardless integration by creating a new data connection for your user.

(POST) /api/v6/users/{userId}/data-connections
"requested_data_types": [
"provider_name": "gocardless"

After finishing the connecting process by your user, and after validating that the data connection status is CONNECTED, you can run a new synchronization.

(POST) /api/v6/users/{userId}/sync
"data_types": [

To verify that you are receiving your user's commerce data, check out these endpoints:

  • GET /api/v6/users/{userId}/commerce-subscriptions
  • GET /api/v6/users/{userId}/commerce-transactions
  • GET /api/v6/users/{userId}/commerce-subscriptions-insight
  • GET /api/v6/users/{userId}/commerce-transactions-insight