Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 482 Bytes

USAGE.md

File metadata and controls

25 lines (20 loc) · 482 Bytes
import { BoltTypescriptSDK } from "@boltpay/bolt-typescript-sdk";

const boltTypescriptSDK = new BoltTypescriptSDK({
  security: {
    oauth: "<YOUR_OAUTH_HERE>",
    apiKey: "<YOUR_API_KEY_HERE>",
  },
});

async function run() {
  const result = await boltTypescriptSDK.account.getDetails(
    "<value>",
    "<value>",
  );

  // Handle the result
  console.log(result);
}

run();