Skip to content

Latest commit

 

History

History
39 lines (31 loc) · 2.28 KB

File metadata and controls

39 lines (31 loc) · 2.28 KB

Smarty Pay Subscriptions React Demo

Demo Next.js project with

Load and fast start on localhost:3000

> npm install
> npm run dev

Live demo

server demo link

Api config

file: ./src/index.js

API_URL - Smarty Pay server api url
API_KEY - Merchant api key
API_SECRET - Merchant api secret

Common actions examples:

Backend side (with Node SDK)

  • Get subscriptions plans: example
  • Get users subscriptions by its address: example
  • Create subscription: example

Frontend side