Skip to content
Esc
↑↓navigate↵open⌘Jpreview
On this page

Quickstart

Create your first payment with the JavaScript SDK.

import { Apipay } from "@apipay/node";

const apipay = new Apipay(process.env.APIPAY_SECRET_KEY);

const payment = await apipay.payments.create({
  amount: 150000,
  currency: "IDR",
  method: "qris",
});