GoCardless Access Token & Webhooks

Configure GoCardless payment gateway

Setting up GoCardless payment gateway in Upmind requires both an access token and a webhook endpoint. These allow Upmind to securely communicate with GoCardless, receive mandate and payment events, and automatically update invoice statuses when payments clear.

Creating a GoCardless access token

  1. Log in to your GoCardless account at manage.gocardless.com.
Log into your GoCardless account

Log into your GoCardless account

  1. Go to the Developers section.
  2. Click Create and select Access Token.
Go to Developers > Create > Access Token

Developers > Create > Access token

  1. Enter a name for your access token and select the appropriate scope:
    1. Read Only Access: Allows users to view data without making any changes. Ideal for accessing information without the risk of modification.
    2. Read-Write Access: Grants permission to both view and modify data. Required for actions such as creating payments, updating records, or managing customers.
Name your access token and select the appropriate scope based on your needs

Name your access token and select the appropriate scope

  1. Click Create Access Token.
  2. Copy the access token displayed (you will not be able to view this token again, so save it securely).
Click “Create Access Token” and copy your new access token

Copy your new access token

  1. In Upmind, go to your GoCardless Payment Provider settings.
  2. Paste the access token into the designated field and click Save.

Paste the access token

Setting up the webhook endpoint

  1. Log in to your GoCardless account and go to the Developers section.
  2. Click Create and select Webhook endpoint.

Developers > Create > Webhook endpoint

  1. Enter a name for the webhook.
  2. Set the URL to: https://api.upmind.io/payments/gocardless/callback.
  3. Leave the Secret field blank (GoCardless will generate a secure secret for you).
  4. Click Create Webhook Endpoint.
980

Fill the input fields

  1. After creation, click on the new webhook endpoint to view its details.

New webhook endpoint

  1. Copy the Secret generated by GoCardless.

Copy webhook secret

  1. In Upmind, paste the webhook secret into your GoCardless Payment Provider settings and click Save.

Paste the webhook secret