Closed keeratita closed 4 years ago
Add support of account API
Expire a charge
const omise = require('omise')({ publicKey: 'pkey_test_XXXXXX', secretKey: 'skey_test_XXXXXX', omiseVersion: '2019-05-29' }); omise.charge.expire(charge_id, function(err, charge) { console.log(charge.expired); // should be true });
check if account are updated.
or use auto-tests - run npm test
npm test
N/A
Normal
1. Objective
Add support of account API
2. Description of change
3. Quality assurance
Expire a charge
check if account are updated.
or use auto-tests - run
npm test
4. Impact of the change
N/A
5. Priority of change
Normal
6. Additional Notes
N/A