0.3.2 • Published 1 month ago

@zellify/cryptomus v0.3.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

Node wrapper for cryptomus

This module is a library for working with the Cryptomus API in a Node.js, written in TypeScript. Please note that this module is under development and is subject to change.

Install

pnpm add @zellify/cryptomus
# or
npm install @zellify/cryptomus

Example

import { Cryptomus } from "@zellify/cryptomus";
import { v4 as uuid } from "uuid";

async function main() {
    const cryptomus = new Cryptomus("merchant", "payment-token", "payout-token");

    return cryptomus.createPayment({
        amount: "100",
        order_id: uuid(),
        currency: "USD"
    })
}

main().then(console.log);
0.3.2

1 month ago

0.3.1

1 month ago

0.3.0

1 month ago