GoCardlessDeveloper Docs
Create a sandbox account

Postman Collection#

View as Markdown

Setup#

  1. Create a GoCardless Sandbox account — the sandbox is a dedicated testing environment where you can build without touching real money.
  2. Go to Developers → Create → Access Token and generate a read-write API access token. Copy it — you'll need it shortly.

Getting started#

Fork the collection#

From GoCardless's public Postman workspace, fork the GoCardless API collection:

Fork the Postman collection

Enter a name for your fork, select the destination workspace, and check Watch this collection to stay up to date with API changes.

Set up your environment#

Create a new environment to store your GoCardless credentials:

Create a Postman environment

Postman environment variables use {{variable}} syntax. Set the token variable to the access token you generated earlier:

Set the token variable

Make sure the GC Sandbox environment you just created is selected in the Environment dropdown in the top-right corner of Postman before making requests.

Make a test request#

Head to the collection and send any request:

Make a test request

Notes#

  • Requests are chained automatically via environment variables — no need to copy and paste IDs between requests.
  • Bank account field requirements vary by scheme. See the local bank details appendix for scheme-specific fields.
  • Additional query parameters are available for most endpoints. See the API reference for the full list.

What's next?#