This is an example app implementing payments initialisation using Tink Link. This project was bootstrapped with create-react-app.
Running this example application requires CLIENT_ID
and CLIENT_SECRET
, retrievable in the Tink Console after signing up for a developer account.
- Install dependencies
yarn
- Set your client identifier and client secret as environment variables
export REACT_APP_TINK_LINK_PAYMENT_CLIENT_ID='<YOUR_CLIENT_ID>'
export TINK_LINK_PAYMENT_CLIENT_SECRET='<YOUR_CLIENT_SECRET>'
- Run client and server in terminal separately
yarn start:client
yarn start:server
The client app is available at http://localhost:3000
. The server is running at http://localhost:8080
.
For more information about initiate payments with Tink Link please visit our documentation page.