Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 370 Bytes

File metadata and controls

20 lines (15 loc) · 370 Bytes
import { Dwolla } from "dwolla";

const dwolla = new Dwolla();

async function run() {
  const result = await dwolla.tokens.create({
    basicAuth: process.env["DWOLLA_BASIC_AUTH"] ?? "",
  }, {
    grantType: "client_credentials",
  });

  console.log(result);
}

run();