gc login

Login authorizes a new merchants session


With the login command you can authorize directly against the GC CLI or authorize against an app that belongs to you if you are building a partner integration. You can fetch your App ID by selecting the app you choose to use from https://manage-sandbox.gocardless.com/developers/partners and copying the APP ID from the details

gc login [flags]


  # authorise against the Gocardless CLI
  gc login
  # authorise against a partner app by providing the App ID
  gc login --app {APP_ID}


  -a, --app string   App id to authorize merchant against
  -h, --help         help for login

Options inherited from parent commands

      --config string   config file (default is $HOME/.gc-cli/config.json)


  • gc - A CLI to help you integrate GoCardless with your application