revolut-merchant-api-example-next-js icon indicating copy to clipboard operation
revolut-merchant-api-example-next-js copied to clipboard

Revolut Merchant API Integration Example for React.js + Next.js

Revolut Merchant API Integration Example for React.js + Next.js

Screenshot 2020-04-08 at 13 26 14

Edit revolut-checkout-widget-next-example

System Requirements

  • Node.js 10 or later
  • MacOS, Windows (including WSL), and Linux are supported

Setup

Clone this repo:

$ git clone [email protected]: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

Documentation

Read more in our official developer portal.

Related


© Revolut LTD