Set up
This guide covers all the essential steps to prepare for your integration with the GoCardless API.
What you’ll learn
Understand the GoCardless API basics
Set up a sandbox account and create an access token
Prepare your development environment to make API requests
Overview
The GoCardless API makes it easy to collect bank payments from your customers' bank accounts. With one integration, you can collect payments from the UK, Eurozone, Sweden, Denmark, Australia, New Zealand, Canada, and the United States. Our API has two main functions:
Collect payments
Collect recurring payments via Direct Debit or take instant, one-off payments through open banking schemes, like the UK's Faster Payments service.
Send payments
Send secure payouts to customers, suppliers, or third parties from a funded payment account. Payments use instant payment rails where available and include security checks like Confirmation of Payee.
We also have a range of developer tools to help you with your integration, the rest of this guide will however focus on using one of our client libraries to make requests.
Step-by-step guide
GoCardless has two environments: A free Sandbox for testing and Live for processing real payments. Each environment is completely separate, with its own account, dashboard, access tokens, and API URLs.
For this guide, we will only use the Sandbox environment.
Sandbox environment
A dedicated testing environment to build your integration without moving real money.
Dashboard URL:
manage-sandbox.gocardless.com
API URL:
https://api-sandbox.gocardless.com/
Live environment
The production environment for taking real payments from customers after your integration is complete!
Dashboard URL:
manage.gocardless.com
API URL:
https://api.gocardless.com/
To start, you will need a read-write access token from your Sandbox account.
Next Steps
Send your first API request
Create and collect your first test payment authorisation.