v1.2.0-0
Pre-release
Pre-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");