Closed jacstn closed 4 years ago
Add support of capability API
capability API
index.d.ts
Install omise-node library in your project using NPM command npm i git:github.com/omise/omise-node.git#capability-api
omise-node
NPM
npm i git:github.com/omise/omise-node.git#capability-api
retrieve capabilities using the following code example:
const omise = require('omise')({ publicKey: 'pkey_test_XXXXXX', secretKey: 'skey_test_XXXXXX', omiseVersion: '2019-05-29' }); omise.capability.retrieve(function(err, capability) { console.log(capability); });
check if capabilities are properly displayed.
or use auto-tests - run npm test
npm test
N/A
Normal
1. Objective
Add support of
capability API
2. Description of change
index.d.ts
3. Quality assurance
Install
omise-node
library in your project usingNPM
commandnpm i git:github.com/omise/omise-node.git#capability-api
retrieve capabilities using the following code example:
check if capabilities are properly displayed.
or use auto-tests - run
npm test
4. Impact of the change
N/A
5. Priority of change
Normal
6. Additional Notes
N/A