Getting Started - ghaowei08/RazerMS-API-SDK GitHub Wiki

Prerequisites

Razer Verify Key & Secret Key

  1. Login from Razer Portal
  2. Transaction
  3. Settings

Create SDK Instance

import { offlineInstance, onlineInstance } from '..'

// Online SDK
const razerOnlineSdk = onlineInstance({ merchantId: '', verifyKey: "", secretKey: "", callbackUrl: '' })
// Offline SDK
const razerOfflineSDK = offlineInstance({ storeId: '', applicationCode: "", secretKey: "", terminalId: '' })

Next: Usage