GoCardless interview question

Connect to some api and perform stuff