@transactbd/nagad
v0.1.3
Published
Nagad adapter with RSA signature verification helpers.
Maintainers
Readme
@transactbd/nagad
Nagad adapter with RSA signature verification helpers.
Config
baseUrl,merchantId,privateKey,publicKey,timeoutMs?
Example
import { NagadGateway } from "@transactbd/nagad";
const nagad = new NagadGateway({ baseUrl, merchantId, privateKey, publicKey });
const intent = await nagad.createPayment({
method: "nagad",
amount: { value: 100, currency: "BDT" },
});