GoCardless Access Token & Webhooks
When configuring a GoCardless payment gateway in Upmind, it's important to set up an access token and webhook endpoint for Upmind in your manage.gocardless.com Developer dashboard. This allows us to receive mandate and payment events from GoCardless so we can automatically mark pending invoice payments as paid once they clear.
Setting this up is easy and only takes a minute:
Getting Access Token
To get your Access Token, you'll need to go to:
- Log into your GoCardless account and Go to Developers > Create > Access Token
- Name your access token and select the appropriate scope based on your needs:
- Read Only Access: Allows the token to view data but not make changes. Ideal for accessing information without modifying it.
- Read-Write Access: Allows the token to both view and modify data. Necessary for actions like creating new payments, updating existing records, or managing customer information.
- Click “Create Access Token” and copy your new access token.
- Paste the token into your GoCardless payment provider settings on the Upmind dashboard and click Save.
![Log into your GoCardless account](https://files.readme.io/17e8020-9ad1718-Screenshot_2022-05-04_at_13.34.00.png)
Log into your GoCardless account
![Go to Developers > Create > Access Token](https://files.readme.io/3902e4f-manage.gocardless.com_developers.png)
Go to Developers > Create > Access Token
![Name your access token and select the appropriate scope based on your needs](https://files.readme.io/4220c00-manage.gocardless.com_developers_1.png)
Name your access token and select the appropriate scope based on your needs
![Click “Create Access Token” and copy your new access token](https://files.readme.io/42e6aa4-manage.gocardless.com_developers_2.png)
Click “Create Access Token” and copy your new access token
![Paste the token into your GoCardless payment provider settings on the Upmind dashboard and click Save](https://files.readme.io/635a4e7-d37deea-Screenshot_2022-05-04_at_13.41.35.png)
Paste the token into your GoCardless payment provider settings on the Upmind dashboard and click Save
Getting Webhook Secret
To get your Webhook Secret, you'll need to go to:
- Log into your GoCardless account and Go to Developers > Create > Webhook endpoint ()
- Fill the input fields, giving the webhook endpoint a Name of your choice, set the URL to
https://api.upmind.io/payments/gocardless/callback
and leave the Secret blank (GoCardless will generate a secure secret at random), then click "Create webhook endpoint" - Click on the newly created Webhook endpoint, and copy the displayed Secret
- Finally, from your Upmind dashboard paste the Secret into your GoGardless payment provider settings and hit Save
![Screenshot 2022-05-04 at 13.34.00.png 2908](https://files.readme.io/9ad1718-Screenshot_2022-05-04_at_13.34.00.png)
Log into your GoCardless account and Go to Developers > Create > Webhook endpoint (https://manage.gocardless.com/developers/webhook-endpoints)
![Screenshot 2022-05-04 at 13.36.01.png 980](https://files.readme.io/fbe9be2-Screenshot_2022-05-04_at_13.36.01.png)
Fill the input fields, giving the webhook endpoint a Name of your choice, set the URL to https://api.upmind.io/payments/gocardless/callback
and leave the Secret blank (GoCardless will generate a secure secret at random), then click "Create webhook endpoint"
![Screenshot 2022-05-04 at 13.38.20.png 2012](https://files.readme.io/116262a-Screenshot_2022-05-04_at_13.38.20.png)
Click on the newly created Webhook endpoint, and copy the displayed Secret
![Paste the Secret into your GoGardless payment provider settings and hit Save](https://files.readme.io/82859aa-d37deea-Screenshot_2022-05-04_at_13.41.35.png)
Paste the Secret into your GoGardless payment provider settings and hit Save
Updated about 1 month ago