- Node.js 10 or later
- MacOS, Windows (including WSL), and Linux are supported
Clone this repo:
$ git clone git@github.com:revolut-engineering/revolut-merchant-api-example-next-js.git
$ cd revolut-checkout-next-sample
Install dependencies:
$ npm install
Create a Revolut Business sandbox account https://sandbox-business.revolut.com
Run dev server (replace XXXX
with api token from https://sandbox-business.revolut.com/merchant/api):
$ REVOLUT_API_KEY=XXXX npm run dev
Open web browser: http://localhost:3000
Read more in our official developer portal.
@revolut/checkout
- RevolutCheckout.js as npm module
© Revolut LTD