![Introducing Enhanced Alert Actions and Triage Functionality](https://cdn.sanity.io/images/cgdhsj6q/production/fe71306d515f85de6139b46745ea7180362324f0-2530x946.png?w=800&fit=max&auto=format)
Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
node-payeer-api
Advanced tools
node-payeer-api ================ Official [documentation](http://docs.payeercom.apiary.io/#introduction/) for Payeer api.
Readme
Official documentation for Payeer api.
npm install node-payeer-api
Init payeer client
var Payeer = require('node-payeer-api').Payeer;
var accountData = {
account: 'P1000000',
apiId: '12345',
apiPass: 'qwerty'
}
var Client = new Payeer(accountData);
Parameter | Description | Example |
---|---|---|
account | Your account number in the Payeer system. | P1000000 |
apiId | The API user’s ID; given out when adding the API. | 12345 |
apiPass | The API user's secret key. | qwerty |
[getPS]:Get Payment Systems
Client.getPaymentSystems((err, systems) => {
if(err) {
/*hanle error*/
}
/*some actions*/
}
var requestOptions = {
account: 'P1000000',
apiId: '12345',
apiPass: 'qwerty',
ps: '26808',
sumIn: '10.00',
curIn: 'RUB',
curOut: 'RUB',
accountNumber: '79191234567'
}
Client.payoutCheck(requestOptions, (err, result) => {
if(err) {
/*hanle error*/
}
/*some actions*/
}
Parameter | Description | Example |
---|---|---|
account | Your account number in the Payeer system. | P1000000 |
apiId | The API user’s ID; given out when adding the API. | 12345 |
apiPass | The API user's secret key. | qwerty |
ps | ID of selected payment system. | 1136053 |
sumIn | Amount withdrawn (the amount deposited will be calculated automatically, factoring in all fees from the recipient). | 1.00 |
curIn | Currency with which the withdrawal will be performed. | USD, EUR, RUB |
curOut | deposit currency (if the withdrawal currency is different from the deposit currency, the conversion will be performed automatically based on the Payeer system’s exchange rate when the transfer takes place). | USD, EUR, RUB |
accountNumber | recipient's account number in the selected payment system ps | P1000441 |
var requestOptions = {
account: 'P1000000',
apiId: '12345',
apiPass: 'qwerty',
ps: '26808',
sumIn: '10.00',
curIn: 'RUB',
curOut: 'RUB',
accountNumber: '79191234567'
}
Client.payout(requestOptions, (err, result) => {
if(err) {
/*hanle error*/
}
/*some actions*/
}
var requestOptions = {
account: 'P1000000',
apiId: '12345',
apiPass: 'qwerty',
sum: '1.00',
curIn: 'RUB',
curOut: 'RUB',
to: 'qwerty@gmail.com',
comment: 'hello'
}
Client.transfer(requestOptions, (err, result) => {
if(err) {
/*hanle error*/
}
/*some actions*/
}
Parameter | Description | Example |
---|---|---|
to | User’s Payeer account number or email address (if the email address was not registered before the transfer, the registration will be performed automatically) | P1000000 |
comment | Comments on the transfer (this should preferably show the transaction ID in your accounting system) | Transfer #1365 |
Client.getCommission(ps, currency, (err, result) => {
if(err) {
/*hanle error*/
}
/*some actions*/
}
Parameter | Description | Example |
---|---|---|
ps | ID of selected payment system. | 1136053 |
currency | Currency | USD, EUR, RUB |
FAQs
node-payeer-api ================ Official [documentation](http://docs.payeercom.apiary.io/#introduction/) for Payeer api.
The npm package node-payeer-api receives a total of 2 weekly downloads. As such, node-payeer-api popularity was classified as not popular.
We found that node-payeer-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.