Skip to content

v1.2.0-0

Pre-release
Pre-release
Compare
Choose a tag to compare
@princejoogie princejoogie released this 13 Jan 07:21
· 14 commits to main since this release

(Pre-release) Links

For usage, check (BETA Links)

npm install paymongo.js@next # or yarn add paymongo.js@next
  • Create a Link

    const link = await client.link.create({
      amount: 10000,
      description: "Test payment link",
    });
  • **Retrieve a Link

    const link = await client.link.retrieve("some_link_id");
  • Retrieve from Reference number

    const link = await client.link.retrieveFromRef("some_ref_id");
  • Archive a Link

    const link = await client.link.archive("some_link_id");
  • Unarchive a Link

    const link = await client.link.unarchive("some_link_id");

Changelog

princejoogie/paymongo.js@v1.1.2...v1.2.0-0