Releases: omsimos/paymongo.js
Releases Β· omsimos/paymongo.js
v1.2.1-0
v1.2.0-0
(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
v1.1.2
v1.1.1
v1.1.0
Fixes
v1.0.1
- remove dotenv from deps b4e00f7
v1.0.0
All methods mentioned in API Reference of Paymongo are supported and fully-typed.
Features
- Payment Intents
- create
- retrieve
- attach
- Payment Methods
- create
- retrieve
- Payment Source
- create
- retrieve
- Payment Web hook
- create
- retrieve
- list
- enable
- disable
- update
- Payment
- create
- retrieve
- list
v0.1.2-0 pre-release
v0.1.2-0 pre-release
Working features:
- Payment Intents
- create
- retrieve
- attach
- Payment Methods
- create
- retrieve
- Payment Source
- create
- retrieve
- Payment Web hook
- create
- retrieve
- list
- enable
- disable
- update
Todo:
- Payment
- create
- retrieve
- list